Commit 2e35c33c authored by 赵啸非's avatar 赵啸非

业务日志添加

parent 4dbf84ea
......@@ -20,6 +20,7 @@ import com.mortals.xhx.base.system.user.service.UserService;
import com.mortals.xhx.base.system.valid.service.ValidCodeService;
import com.mortals.xhx.common.key.RedisKey;
import com.mortals.xhx.common.pdu.user.UserPdu;
import com.mortals.xhx.feign.user.IUserFeign;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.util.ObjectUtils;
......@@ -52,8 +53,8 @@ public class LoginController extends BaseCRUDJsonBodyMappingController<UserServi
private ICacheService cacheService;
@Autowired
private IAuthTokenService authTokenService;
// @Autowired
// private IUserFeign userFeign;
@Autowired
private IUserFeign userFeign;
@RequestMapping("login")
public String login(@RequestBody LoginForm loginForm) throws Exception {
......@@ -62,8 +63,7 @@ public class LoginController extends BaseCRUDJsonBodyMappingController<UserServi
UserPdu userPdu = new UserPdu();
userPdu.setLoginName(loginName);
userPdu.setPassword(password);
//String resp = userFeign.portalLogin(userPdu);
String resp="";
String resp = userFeign.portalLogin(userPdu);
return resp;
/* String securityCode = loginForm.getSecurityCode();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment