|
|
@@ -4,12 +4,16 @@ import cn.hutool.core.lang.Validator;
|
|
|
import com.zhongzheng.common.annotation.Log;
|
|
|
import com.zhongzheng.common.core.controller.BaseController;
|
|
|
import com.zhongzheng.common.core.domain.AjaxResult;
|
|
|
+import com.zhongzheng.common.core.page.TableDataInfo;
|
|
|
import com.zhongzheng.common.enums.BusinessType;
|
|
|
import com.zhongzheng.common.utils.DateUtils;
|
|
|
import com.zhongzheng.common.utils.ServletUtils;
|
|
|
import com.zhongzheng.framework.web.service.WxLoginService;
|
|
|
import com.zhongzheng.framework.web.service.WxTokenService;
|
|
|
+import com.zhongzheng.modules.top.mall.bo.TopStoreQueryBo;
|
|
|
+import com.zhongzheng.modules.top.mall.vo.TopStoreVo;
|
|
|
import com.zhongzheng.modules.user.bo.*;
|
|
|
+import com.zhongzheng.modules.user.domain.User;
|
|
|
import com.zhongzheng.modules.user.domain.UserWxFollow;
|
|
|
import com.zhongzheng.modules.user.entity.ClientLoginUser;
|
|
|
import com.zhongzheng.modules.user.service.IUserService;
|
|
|
@@ -27,6 +31,7 @@ import org.springframework.security.access.prepost.PreAuthorize;
|
|
|
import org.springframework.web.bind.annotation.*;
|
|
|
|
|
|
import java.util.HashMap;
|
|
|
+import java.util.List;
|
|
|
import java.util.Map;
|
|
|
|
|
|
/**
|
|
|
@@ -54,5 +59,19 @@ public class UserController extends BaseController {
|
|
|
return toAjax(iUserService.openVip(bo) ? 1 : 0);
|
|
|
}
|
|
|
|
|
|
+ @ApiOperation("会员用户列表")
|
|
|
+ @GetMapping("/vipUserList")
|
|
|
+ public TableDataInfo<UserVo> vipUserList(UserQueryBo bo) {
|
|
|
+ startPage();
|
|
|
+ List<UserVo> list = iUserService.vipUserList(bo);
|
|
|
+ return getDataTable(list);
|
|
|
+ }
|
|
|
+
|
|
|
+ @ApiOperation("通过手机查找客户端用户")
|
|
|
+ @Log(title = "通过手机查找客户端用户", businessType = BusinessType.UPDATE)
|
|
|
+ @PostMapping("/findByTel")
|
|
|
+ public AjaxResult<User> findByTel(@RequestBody UserEditBo bo){
|
|
|
+ return AjaxResult.success(iUserService.queryUserByTelphoneTenant(bo.getTelphone(),Long.parseLong("867735392558919680")));
|
|
|
+ }
|
|
|
|
|
|
}
|