| | |
| | | package com.doumee.api.web; |
| | | |
| | | import com.doumee.biz.zbom.ZbomCRMService; |
| | | import com.doumee.config.annotation.LoginRequired; |
| | | import com.doumee.config.annotation.UserLoginRequired; |
| | | import com.doumee.core.annotation.trace.Trace; |
| | |
| | | @Autowired |
| | | public ShopService shopService; |
| | | |
| | | |
| | | @ApiOperation(value = "小程序登陆", notes = "员工端小程序") |
| | | @GetMapping("/loginByWx") |
| | | @ApiImplicitParams({ |
| | |
| | | public ApiResponse<AccountResponse> loginByWx(@RequestParam String code) { |
| | | return ApiResponse.success(usersService.wxLogin(code)); |
| | | } |
| | | |
| | | |
| | | @ApiOperation(value = "发送短信验证码", notes = "员工端小程序") |
| | | @GetMapping("/sendSms") |
| | |
| | | return ApiResponse.success("操作成功"); |
| | | } |
| | | |
| | | |
| | | @UserLoginRequired |
| | | @ApiOperation(value = "更新个人信息", notes = "员工端小程序") |
| | | @PostMapping("/editUsers") |
| | |
| | | usersService.editUserInfo(editUsersRequest); |
| | | return ApiResponse.success("更新成功"); |
| | | } |
| | | |
| | | |
| | | @UserLoginRequired |
| | | @ApiOperation(value = "门店分页", notes = "员工端小程序") |
| | | @PostMapping("/shopPage") |
| | |
| | | public ApiResponse<String> getContentShareImg(@RequestBody ContentShareImgDto param) { |
| | | return ApiResponse.success(usersService.getContentShareImg(this.getLoginUserInfo(),param)); |
| | | } |
| | | |
| | | |
| | | } |