|
@@ -62,7 +62,7 @@ public class LoginService {
|
|
|
|
|
|
public Object login(LoginParam param) {
|
|
public Object login(LoginParam param) {
|
|
if(environment.equals("test")){
|
|
if(environment.equals("test")){
|
|
- return fdkkClient.fdkkLogin(param);
|
|
|
|
|
|
+ return fdkkClient.fdkkLogin(param).getJSONObject("data");
|
|
}
|
|
}
|
|
if (StringUtils.isEmpty(param.getPassword()) || StringUtils.isEmpty(param.getPhoneNum())){
|
|
if (StringUtils.isEmpty(param.getPassword()) || StringUtils.isEmpty(param.getPhoneNum())){
|
|
throw new BusinessException(LoginConstant.FAILURE_CODE_3001, LoginConstant.FAILURE_MSG_3001);
|
|
throw new BusinessException(LoginConstant.FAILURE_CODE_3001, LoginConstant.FAILURE_MSG_3001);
|