Browse Source

用户添加时设置绑定方式默认值

tags/正式3.2.0
雍文秀 2 years ago
parent
commit
e4f652e3cf

+ 2
- 0
suser/src/main/java/com/xhkjedu/suser/service/system/UserService.java View File

@@ -271,6 +271,8 @@ public class UserService extends JedisUtil {
271 271
         user.setUserstate(1);
272 272
         user.setCreatetime(N_Utils.getSecondTimestamp());
273 273
         setLoginPwd(user);
274
+        user.setBindphoned(0);
275
+        user.setBindsecret(0);
274 276
         userMapper.insertUseGeneratedKeys(user);
275 277
         return new ResultVo(0, "保存成功", user.getId());
276 278
     }

Loading…
Cancel
Save