| | |
| | | |
| | | import java.util.List; |
| | | |
| | | import com.panzhihua.common.model.dtos.community.convenient.ConvenientMerchantDTO; |
| | | import com.panzhihua.common.model.dtos.community.convenient.DisableOrEnableConvenientMerchantDTO; |
| | | import org.springframework.cloud.openfeign.FeignClient; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | |
| | | */ |
| | | @GetMapping("checkIsTeam") |
| | | R checkCurrentUserIsTeam(@RequestParam("phone") String phone, @RequestParam("communityId") Long communityId); |
| | | |
| | | /** |
| | | * 便民服务新增商家账号 |
| | | * @param convenientMerchantDTO |
| | | * @return 商家用户id |
| | | */ |
| | | @PostMapping("insertMerchantAccount") |
| | | R addConvenientMerchantUser(@RequestBody ConvenientMerchantDTO convenientMerchantDTO); |
| | | |
| | | /** |
| | | * 修改便民服务商家绑定账号 |
| | | * @param userId |
| | | * @param account |
| | | * @return |
| | | */ |
| | | @PutMapping("putMerchantUserAccount") |
| | | R putUserAccount(@RequestParam("userId") Long userId, @RequestParam("account") String account); |
| | | |
| | | /** |
| | | * 禁用/启用便民服务商家用户 |
| | | * @param disableOrEnableConvenientMerchantDTO |
| | | * @return |
| | | */ |
| | | @PutMapping("disableOrEnableMerchantUsers") |
| | | R disableOrEnableMerchantUsers(@RequestBody DisableOrEnableConvenientMerchantDTO disableOrEnableConvenientMerchantDTO); |
| | | } |