|
@@ -49,7 +49,7 @@ public class ShopApi extends BaseController {
|
|
|
@AccessToken
|
|
|
public BaseResult<PageResult> findList() {
|
|
|
startPage();
|
|
|
- return BaseResult.success(new PageResult(apiShopService.findList(getLoginId())));
|
|
|
+ return BaseResult.success(new PageResult(apiShopService.findList(getLoginId(),null,null,null)));
|
|
|
}
|
|
|
|
|
|
/**
|
|
@@ -59,8 +59,10 @@ public class ShopApi extends BaseController {
|
|
|
@RequestMapping(value = "/list", method = RequestMethod.GET)
|
|
|
@AccessToken
|
|
|
// @ControllerLog("门店列表")
|
|
|
- public BaseResult<List<ShopDto>> list() {
|
|
|
- return BaseResult.success(apiShopService.findList(getLoginId()));
|
|
|
+ public BaseResult<List<ShopDto>> list(@RequestParam(value ="cityName",required = false) String cityName,
|
|
|
+ @RequestParam(value ="shopName",required = false) String shopName,
|
|
|
+ @RequestParam(value ="mobile",required = false) String mobile) {
|
|
|
+ return BaseResult.success(apiShopService.findList(getLoginId(),cityName,shopName,mobile));
|
|
|
}
|
|
|
|
|
|
/**
|