|
@@ -61,10 +61,10 @@ public class LoginService {
|
|
|
private FdkkClient fdkkClient;
|
|
|
|
|
|
public Object login(LoginParam param) {
|
|
|
- if(environment.equals("test")){
|
|
|
+ if(environment.equals("test")){ //测试环境登录
|
|
|
JSONObject jsonObject = fdkkClient.fdkkLogin(param);
|
|
|
if(jsonObject.getInteger("code") != 0){
|
|
|
- throw new BusinessException(jsonObject.getInteger("code"),jsonObject.getString("msg");
|
|
|
+ throw new BusinessException(jsonObject.getInteger("code"),jsonObject.getString("msg"));
|
|
|
}
|
|
|
return fdkkClient.fdkkLogin(param).getJSONObject("data");
|
|
|
}
|