lyhzzz 2 anni fa
parent
commit
3ac8d03728

+ 2 - 2
src/main/java/com/fdkankan/ucenter/service/impl/LoginService.java

@@ -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");
         }