| | |
| | | |
| | | |
| | | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| | | import com.dsh.course.feignClient.activity.model.*; |
| | | import com.dsh.course.feignClient.account.model.QueryDataFee; |
| | | import com.dsh.course.feignClient.activity.model.IntegralGoodsOfSearch; |
| | | import com.dsh.course.feignClient.activity.model.PointMercharsPayedVo; |
| | | import com.dsh.course.feignClient.activity.model.PointMercharsVo; |
| | | import com.dsh.course.feignClient.course.model.CourseChangeStateDTO; |
| | | import com.dsh.guns.modular.system.model.CoachChangeStateVO; |
| | | import com.dsh.guns.modular.system.model.PointMerchandiseIncomeVo; |
| | | import com.dsh.guns.modular.system.model.GoodsInfoOneVo; |
| | | import com.dsh.guns.modular.system.model.StoreVos; |
| | | import org.springframework.cloud.openfeign.FeignClient; |
| | | import org.springframework.web.bind.annotation.PostMapping; |
| | | import org.springframework.web.bind.annotation.RequestBody; |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | | import org.springframework.web.bind.annotation.ResponseBody; |
| | | |
| | | import java.util.HashMap; |
| | | import java.util.List; |
| | | import java.util.Map; |
| | | |
| | | @FeignClient(value = "mb-cloud-activity") |
| | | public interface PointMercharsClient { |
| | | |
| | | @RequestMapping("/base/pointMerchars/changeState") |
| | | Object changeState(@RequestBody CourseChangeStateDTO dto); |
| | | |
| | | @RequestMapping("/base/pointMerchars/writeOff") |
| | | Object writeOff(@RequestBody WriteOffDTO dto); |
| | | /** |
| | | * 门票上下架 state=1 上架 state=2 下架 |
| | | */ |
| | | @RequestMapping("/base/pointMerchars/changeState") |
| | | Object changeState(@RequestBody CoachChangeStateVO dto); |
| | | /** |
| | | * 门票管理查询 |
| | | * @param ofSearch |
| | | * @return |
| | | */ |
| | | @PostMapping("/base/pointMerchars/ticketList") |
| | | List<Map<String,Object>> ticketList(@RequestBody IntegralGoodsOfSearch ofSearch); |
| | | /** |
| | | * 获取积分商票消费金额 |
| | | */ |
| | | @RequestMapping("/base/pointMerchars/getAmount") |
| | | List<PointMerchandiseIncomeVo> getAmount(); |
| | | |
| | | @PostMapping("/base/pointMerchars/queryGoodsListSearch") |
| | | List<Map<String,Object>> getIntegralGoodsListOfSearch(@RequestBody IntegralGoodsOfSearch ofSearch); |
| | |
| | | @PostMapping("/base/pointMerchars/queryUserPayedGoodsList") |
| | | List<Map<String, Object>> queryUserPayedGoodsList(@RequestBody PointMercharsPayedVo pointMercharsPayedVo); |
| | | |
| | | @PostMapping("/base/pointMerchars/queryPointMerchaseById") |
| | | PointsMerchandise queryPointMerchaseById(Integer id); |
| | | |
| | | |
| | | @PostMapping("/base/pointMerchars/getshopName") |
| | | Integer getshopName(Integer id); |
| | | |
| | | |
| | | @PostMapping("/base/pointMerchars/queryDetailsOfGoods") |
| | | GoodsInfoOneVo queryDetailsOfGoods(@RequestBody Integer id); |
| | | |
| | | @PostMapping("/base/pointMerchars/getProvinces") |
| | | List<StoreVos> getProvinces(@RequestBody Integer id); |
| | | |
| | | @PostMapping("/base/pointMerchars/getStoreList") |
| | | List<StoreVos> getStoreList(@RequestBody Integer id); |
| | | |
| | | @PostMapping("/base/pointMerchars/updateGoodsDetail") |
| | | boolean updateGoodsDetail(@RequestBody Map<String, Object> stringObjectHashMap); |
| | | |
| | | @PostMapping("/base/pointMerchars/add") |
| | | Integer add(PointsMerchandise pointsMerchandise); |
| | | |
| | | |
| | | @PostMapping("/base/pointMerchars/addOther") |
| | | Boolean addOther(@RequestBody String pam); |
| | | |
| | | @PostMapping("/base/pointMerchars/addCitys") |
| | | Boolean addCitys(@RequestBody List<Map<String, String>> objects); |
| | | |
| | | @PostMapping("/base/pointMerchars/writeOffGoodsStatus") |
| | | boolean writeOffGoodsStatus(@RequestBody Map<String, Object> map); |
| | | |
| | | @PostMapping("/base/pointMerchars/getIntegralGoodsListOfSearchAudit") |
| | | List<Map<String,Object>> getIntegralGoodsListOfSearchAudit(IntegralGoodsOfSearch ofSearch); |
| | | |
| | | @PostMapping("/base/pointMerchars/updateType") |
| | | Object updateType(String s); |
| | | |
| | | |
| | | @PostMapping("/base/pointMerchars/queryFee") |
| | | HashMap<String, Object> queryFee(QueryDataFee queryDataFee); |
| | | |
| | | /** |
| | | * 根据id查询 |
| | | */ |
| | | @RequestMapping("/base/pointMerchars/getById") |
| | | PointsMerchandise getById(@RequestBody Integer id); |
| | | } |