| | |
| | | |
| | | import javax.annotation.Resource; |
| | | |
| | | import cn.hutool.core.util.StrUtil; |
| | | import com.panzhihua.common.model.dtos.DataKanBansDto; |
| | | import com.panzhihua.common.model.dtos.community.convenient.ConvenientMerchantDTO; |
| | | import com.panzhihua.common.model.dtos.community.convenient.DisableOrEnableConvenientMerchantDTO; |
| | |
| | | * @return 协议内容 |
| | | */ |
| | | @PostMapping("agreement") |
| | | public R agreement(@RequestParam("type") Integer type) { |
| | | return userService.agreement(type); |
| | | public R agreement(@RequestParam("type") Integer type,@RequestParam("appId")String appId) { |
| | | return userService.agreement(type,appId); |
| | | } |
| | | |
| | | /** |
| | |
| | | public R getAreaAndStreet(){ |
| | | return userService.getAreaAndStreet(); |
| | | } |
| | | |
| | | @GetMapping("/communityList") |
| | | public R getCommunityList(@RequestParam("name") String name, @RequestParam(value = "id",required = false) Long id){ |
| | | return userService.getCommunityList(name,id); |
| | | } |
| | | |
| | | @GetMapping("/resetPasswordAccount") |
| | | public R resetPasswordAccount(@RequestParam("type")Integer type,@RequestParam("account")String account){ |
| | | return userService.resetPassword(type,account); |
| | | } |
| | | |
| | | @PostMapping("/tfLogin") |
| | | public R tfLogin(@RequestBody UuLoginVO uuLoginVO){ |
| | | return userService.tfLogin(uuLoginVO); |
| | | } |
| | | } |