|
@@ -1,6 +1,7 @@
|
|
|
package com.gis.web.controller;
|
|
|
|
|
|
|
|
|
+import com.gis.common.constant.MsgCode;
|
|
|
import com.gis.common.util.Result;
|
|
|
import com.gis.domain.entity.SceneEntity;
|
|
|
import com.gis.domain.entity.WorkEntity;
|
|
@@ -71,7 +72,7 @@ public class WebController extends BaseController {
|
|
|
|
|
|
String dbPassword = entity.getPassword();
|
|
|
if (!dbPassword.equals(password)) {
|
|
|
- return Result.failure("密码有误");
|
|
|
+ return Result.failure(MsgCode.e5004,"密码有误");
|
|
|
}
|
|
|
return Result.success(entity);
|
|
|
}
|