| | |
| | | import org.slf4j.Logger; |
| | | import org.slf4j.LoggerFactory; |
| | | import org.springframework.validation.annotation.Validated; |
| | | import org.springframework.web.bind.annotation.RequestBody; |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | | import org.springframework.web.bind.annotation.RequestMethod; |
| | | import org.springframework.web.bind.annotation.RestController; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import javax.annotation.Resource; |
| | | import javax.servlet.http.HttpServletResponse; |
| | |
| | | List<Map<String, String>> bankBranchCode = bankBranchCodeService.getBankBranchCode(dto.getBankNumber()); |
| | | return R.ok(bankBranchCode); |
| | | } |
| | | |
| | | @RequestMapping(value = "/changeShopType", method = RequestMethod.GET) |
| | | @ApiOperation(value = "修改商户类型(转为经销商,转为加盟商)【2.0】") |
| | | public R<Void> changeShopType(@RequestParam Long shopId){ |
| | | return shopService.changeShopType(shopId); |
| | | } |
| | | |
| | | } |