chao 4 年之前
父节点
当前提交
1808f47da4

+ 1 - 1
src/main/java/com/caimei365/user/controller/BaseApi.java

@@ -27,7 +27,7 @@ public class BaseApi {
     @Value(value = "${swagger.enabled}")
     private Boolean swaggerEnabled;
 
-    @GetMapping({"", "/"})
+    @GetMapping("")
     public String welcome(){
         if (swaggerEnabled){
             return "欢迎使用!<br><a href='http://47.119.112.46:18011/doc.html'>doc接口文档入口(beta)</a><br><a href='http://47.119.112.46:18011/swagger-ui/index.html'>swagger接口文档入口(beta)</a>";

+ 1 - 1
src/main/java/com/caimei365/user/service/impl/LoginServiceImpl.java

@@ -577,7 +577,7 @@ public class LoginServiceImpl implements LoginService {
             return ResponseJson.error("参数异常:短信验证码不能为空!", null);
         }
         if (StringUtils.isBlank(unionId)) {
-            return ResponseJson.error("参数异常:unionId短信验证码不能为空!", null);
+            return ResponseJson.error("参数异常:unionId不能为空!", null);
         }
         // 查询使用该手机号的运营人员或用户
         String checkRust = operationBindCheck(mobile, smsCode);