|
@@ -1,6 +1,5 @@
|
|
|
package com.txz.cif.web;
|
|
|
|
|
|
-import cn.hutool.core.bean.BeanUtil;
|
|
|
import cn.hutool.core.collection.CollUtil;
|
|
|
import cn.hutool.core.date.DateUtil;
|
|
|
import cn.hutool.core.util.RandomUtil;
|
|
@@ -8,11 +7,8 @@ import cn.hutool.core.util.StrUtil;
|
|
|
import cn.hutool.crypto.SecureUtil;
|
|
|
import com.github.pagehelper.PageHelper;
|
|
|
import com.github.pagehelper.PageInfo;
|
|
|
-
|
|
|
import com.txz.cif.configurer.LocalUtil;
|
|
|
-
|
|
|
import com.txz.cif.core.*;
|
|
|
-
|
|
|
import com.txz.cif.dubbo.client.OperatingConfigDubboServiceClient;
|
|
|
import com.txz.cif.enums.BizTypeEnum;
|
|
|
import com.txz.cif.enums.RechargeStatusEnum;
|
|
@@ -331,8 +327,13 @@ public class UserApiController extends AbstractApiController {
|
|
|
.name(params.getName())
|
|
|
.areaCode(params.getAreaCode())
|
|
|
// .userNo(userNo)
|
|
|
- .isDelete((byte) 1).createUser("sys")
|
|
|
- .status((byte) 1).phoneNo(params.getPhone()).pwd(pwd2).salt(salt).build();
|
|
|
+ .isDelete((byte) 1)
|
|
|
+ .createUser("sys")
|
|
|
+ .status((byte) 1)
|
|
|
+ .hasLogin(1)
|
|
|
+ .hasOrder(1)
|
|
|
+ .hasWithdraw(1)
|
|
|
+ .phoneNo(params.getPhone()).pwd(pwd2).salt(salt).build();
|
|
|
if (parent != null) {
|
|
|
user.setPid(parent.getId());
|
|
|
if (parent.getPid() != null) {
|