| | |
| | | |
| | | import com.panzhihua.common.model.dtos.partybuilding.*; |
| | | import com.panzhihua.common.model.vos.R; |
| | | import com.panzhihua.common.model.vos.community.building.IntegratingTaskVO; |
| | | import com.panzhihua.common.model.vos.community.building.NewFightConfigVO; |
| | | import com.panzhihua.common.model.vos.community.building.NewFightConvenientMerchantVO; |
| | | import com.panzhihua.common.model.vos.community.building.NewFightShoppingVO; |
| | | import com.panzhihua.common.model.vos.community.building.*; |
| | | import org.springframework.cloud.openfeign.FeignClient; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | |
| | | @PostMapping("/IntegratingTask/upIntegral") |
| | | public R upIntegral(@RequestBody NewFightIntegral item); |
| | | |
| | | /******************************************************************************************************************* |
| | | |
| | | * |
| | | * 商品订单 |
| | | * |
| | | ****************************************************************************************************************/ |
| | | /** |
| | | * 分页查询 |
| | | * @param |
| | | * @return |
| | | */ |
| | | @GetMapping("/NewFightOrder/orderGetList") |
| | | public R orderGetList(@RequestParam("pageNum") int pageNum, |
| | | @RequestParam("pageSize") int pageSize, |
| | | @RequestParam(value = "userId", required = false)String userId, |
| | | @RequestParam(value = "goodsId", required = false)String goodsId, |
| | | @RequestParam(value = "orderNumber", required = false)String orderNumber, |
| | | @RequestParam(value = "goodName", required = false)String goodName, |
| | | @RequestParam(value = "name", required = false)String name, |
| | | @RequestParam(value = "cancelType", required = false)String cancelType, |
| | | @RequestParam(value = "communityId", required = false)String communityId); |
| | | |
| | | /** |
| | | * 分页详情 |
| | | * @param |
| | | * @return |
| | | */ |
| | | @GetMapping("/NewFightOrder/orderGetDetails") |
| | | public R orderGetDetails(@RequestParam("id") String id, |
| | | @RequestParam(value = "communityId") String communityId); |
| | | |
| | | /** |
| | | * 新增 |
| | | * @param |
| | | * @return |
| | | */ |
| | | @PostMapping("/NewFightOrder/orderAddData") |
| | | public R orderAddData(@RequestBody NewFightShoppingOrderVO item); |
| | | |
| | | |
| | | /** |
| | | * 编辑 |
| | | * @param |
| | | * @return |
| | | */ |
| | | @PostMapping("/NewFightOrder/orderEditData") |
| | | public R orderEditData(@RequestBody NewFightShoppingOrderVO item); |
| | | |
| | | |
| | | /** |
| | | * 取消 |
| | | * @param |
| | | * @return |
| | | */ |
| | | @GetMapping("/NewFightOrder/orderCancelOrder") |
| | | public R orderCancelOrder(@RequestParam("orderId") String orderId, |
| | | @RequestParam(value = "communityId") String communityId); |
| | | |
| | | |
| | | /** |
| | | * 删除 |
| | | * @param |
| | | * @return |
| | | */ |
| | | @DeleteMapping("/NewFightOrder/orderExpurgateData") |
| | | public R orderExpurgateData(@RequestParam("id") String id, |
| | | @RequestParam(value = "communityId") String communityId); |
| | | |
| | | |
| | | } |