| | |
| | | import com.panzhihua.common.model.dtos.advertisement.ComOpsAdvDTO; |
| | | import com.panzhihua.common.model.dtos.advertisement.PageComOpsAdvDTO; |
| | | import com.panzhihua.common.model.dtos.community.*; |
| | | import com.panzhihua.common.model.dtos.shop.PageComShopGoodsDTO; |
| | | import com.panzhihua.common.model.dtos.shop.PageComShopStoreDTO; |
| | | import com.panzhihua.common.model.vos.R; |
| | | import com.panzhihua.common.model.vos.SystemmanagementConfigVO; |
| | |
| | | import com.panzhihua.common.model.vos.community.questnaire.EditComActQuestnaireVo; |
| | | import com.panzhihua.common.model.vos.community.questnaire.QuestnaireVO; |
| | | import com.panzhihua.common.model.vos.community.questnaire.UsersAnswerQuestnaireVO; |
| | | import com.panzhihua.common.model.vos.shop.AddShopGoodsVO; |
| | | import com.panzhihua.common.model.vos.shop.ShopStoreVO; |
| | | import com.panzhihua.common.model.vos.user.UserPhoneVO; |
| | | import org.springframework.cloud.openfeign.FeignClient; |
| | |
| | | @GetMapping("/shop/getStoreInfo") |
| | | R getStoreInfo(@RequestParam("id")Long id); |
| | | |
| | | |
| | | /** |
| | | * 商品列表-分页查询 |
| | | * @param pageComShopGoodsDTO 添加数据 |
| | | */ |
| | | @PostMapping("/shop/pageShopGoods") |
| | | R pageGoodsList(@RequestBody PageComShopGoodsDTO pageComShopGoodsDTO); |
| | | |
| | | /** |
| | | * 新增商品 |
| | | * @param addShopGoodsVO |
| | | * @return |
| | | */ |
| | | @PostMapping("/shop/saveShopGoods") |
| | | R saveShopGoods(@RequestBody AddShopGoodsVO addShopGoodsVO); |
| | | |
| | | /** |
| | | * 编辑商品 |
| | | * @param id |
| | | * @param addShopGoodsVO |
| | | * @return |
| | | */ |
| | | @PostMapping("/shop/editShopGoods/{id}") |
| | | R editShopGoods(@PathVariable("id") Long id,@RequestBody AddShopGoodsVO addShopGoodsVO); |
| | | |
| | | /** |
| | | * 删除商品 |
| | | * @param id |
| | | * @return |
| | | */ |
| | | @PostMapping("/shop/deleteShopGoods") |
| | | R deleteShopGoods(@RequestBody Long[] id); |
| | | /** |
| | | * 修改商品状态 |
| | | * @param id |
| | | * @return |
| | | */ |
| | | @PostMapping("/shop/changeShopGoodsStatus") |
| | | R changeStatus(@RequestParam("id") Long id,@RequestParam("status")Integer status); |
| | | } |