| | |
| | | import io.swagger.annotations.ApiImplicitParam; |
| | | import io.swagger.annotations.ApiImplicitParams; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import io.swagger.models.auth.In; |
| | | import lombok.extern.java.Log; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import org.apache.commons.lang3.StringUtils; |
| | |
| | | return ApiResponse.success("操作成功"); |
| | | } |
| | | |
| | | |
| | | @LoginRequired |
| | | @ApiOperation(value = "商户绑定", notes = "小程序端") |
| | | @GetMapping("/bindShopInfo") |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(paramType = "header", dataType = "String", name = "token", value = "用户token值", required = true), |
| | | @ApiImplicitParam(paramType = "query", dataType = "Integer", name = "recId", value = "商户主键", required = true) |
| | | }) |
| | | public ApiResponse bindShopInfo(@RequestParam Integer recId) { |
| | | memberService.bindShopInfo(getMemberId(),recId); |
| | | return ApiResponse.success("操作成功"); |
| | | } |
| | | |
| | | |
| | | } |