加接口+新管家店名名称
This commit is contained in:
@@ -179,4 +179,11 @@ public class LineInfoController {
|
||||
public ResponseResult<PageInfo<LineVO>> getLines(@RequestBody LinesRequest request) {
|
||||
return ResponseResult.success(lineService.getLines(request));
|
||||
}
|
||||
|
||||
@ApiOperation("修改所属大区/分公司")
|
||||
@GetMapping("/updateLineRegion")
|
||||
public ResponseResult<Integer> updateLineRegion(@RequestParam("regionId")Long regionId,@RequestParam("lineId")Long lineId) {
|
||||
return ResponseResult.success(lineService.updateRegionId(regionId,lineId));
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -132,5 +132,10 @@ public class MiniShopController {
|
||||
public ResponseResult<ShopResponse> getShopNameAndCode(@RequestParam(name = "shopId",required = false)Long shopId, @RequestParam("lineId")Long lineId) {
|
||||
return ResponseResult.success(shopService.getShopNameAndCode(shopId,lineId));
|
||||
}
|
||||
@ApiOperation("获取店铺所属品牌")
|
||||
@GetMapping("/getFranchiseBrandName")
|
||||
public ResponseResult<String> getFranchiseBrandName(@RequestParam(name = "shopId")Long shopId) {
|
||||
return ResponseResult.success(shopService.getFranchiseBrandName(shopId));
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user