|
@@ -13,6 +13,7 @@ import java.util.Date;
|
|
|
|
|
|
|
|
|
@FeignClient(name = "szwl-server")
|
|
|
+//@FeignClient(name = "szwl-server", url = "http://127.0.0.1:49011/")
|
|
|
public interface SzwlFeign {
|
|
|
|
|
|
@GetMapping("/test/testGetAdmin")
|
|
@@ -20,46 +21,63 @@ public interface SzwlFeign {
|
|
|
|
|
|
@GetMapping("/tEquipment/findEquipmentByClientId")
|
|
|
ResponseModel<TEquipment> findEquipmentByClientId(@RequestParam String clientId);
|
|
|
+
|
|
|
@GetMapping("/tEquipment/updateByEquipment")
|
|
|
ResponseModel<TEquipment> updateByEquipment(@RequestBody TEquipment equipment);
|
|
|
+
|
|
|
@GetMapping("/tPromoCode/getTPromoCode")
|
|
|
ResponseModel<IPage<TPromoCode>> getTPromoCode(@RequestParam String code);
|
|
|
+
|
|
|
@GetMapping("/tPromoCode/getPromoCode")
|
|
|
ResponseModel<TPromoCode> getPromoCode(@RequestParam String code);
|
|
|
+
|
|
|
@GetMapping("/tPromoCode/selectTPromoCode")
|
|
|
- ResponseModel<TPromoCode> selectTPromoCode(@RequestParam String code,@RequestParam String adminId);
|
|
|
+ ResponseModel<TPromoCode> selectTPromoCode(@RequestParam String code, @RequestParam String adminId);
|
|
|
+
|
|
|
@GetMapping("/tPromoCode/getYHJ")
|
|
|
ResponseModel<TPromoCode> getYHJ(@RequestParam(value = "code") String code);
|
|
|
+
|
|
|
@GetMapping("/tPromoCode/updatePromoCode")
|
|
|
- void updatePromoCode(@RequestParam(value = "id")String id, @RequestParam(value = "type")String type);
|
|
|
+ void updatePromoCode(@RequestParam(value = "id") String id, @RequestParam(value = "type") String type);
|
|
|
+
|
|
|
@GetMapping("/tPromoCode/useYHJ")
|
|
|
- void useYHJ(@RequestParam String code,@RequestParam String adminId,@RequestParam String clentId);
|
|
|
+ void useYHJ(@RequestParam String code, @RequestParam String adminId, @RequestParam String clentId);
|
|
|
+
|
|
|
@GetMapping("/tProduct/getProduct")
|
|
|
- ResponseModel<TProduct> getProduct(@RequestParam(value = "equipmentId")String equipmentId, @RequestParam(value = "productName")String productName);
|
|
|
+ ResponseModel<TProduct> getProduct(@RequestParam(value = "equipmentId") String equipmentId, @RequestParam(value = "productName") String productName);
|
|
|
+
|
|
|
@GetMapping("/tProportion/getProportion")
|
|
|
ResponseModel<TProportion> getProportion(@RequestParam String equipmentId);
|
|
|
+
|
|
|
@GetMapping("/tAdmin/getAdmin")
|
|
|
- ResponseModel<TAdmin> getAdmin(@RequestParam String id);
|
|
|
+ ResponseModel<TAdmin> getAdmin(@RequestParam String id);
|
|
|
+
|
|
|
@GetMapping("/tJoinpayMch/getMch")
|
|
|
- ResponseModel<TJoinpayMch> getMch(@RequestParam String id);
|
|
|
+ ResponseModel<TJoinpayMch> getMch(@RequestParam String id);
|
|
|
+
|
|
|
@GetMapping("/tShandeMch/getShandeMch")
|
|
|
- ResponseModel<TShandeMch> getShandeMch(@RequestParam String id);
|
|
|
+ ResponseModel<TShandeMch> getShandeMch(@RequestParam String id);
|
|
|
+
|
|
|
@GetMapping("/tShandeMch/updateShandeMch")
|
|
|
void updateShandeMch(@RequestBody TShandeMch shandeMch);
|
|
|
+
|
|
|
@GetMapping("/tEquipmentDesc/findEquipmentById")
|
|
|
ResponseModel<TEquipmentDesc> findEquipmentById(@RequestParam Long id);
|
|
|
+
|
|
|
@GetMapping("/tPrice/getPrice")
|
|
|
- ResponseModel<TPrice> getPrice(@RequestParam String name);
|
|
|
+ ResponseModel<TPrice> getPrice(@RequestParam String name);
|
|
|
+
|
|
|
@GetMapping("/tPromoCode/addPromoCode")
|
|
|
- void addPromoCode(@RequestParam(value = "adminId")String adminId, @RequestParam(value = "lastUseDate")Date lastUseDate, @RequestParam(value = "number")int number);
|
|
|
+ void addPromoCode(@RequestParam(value = "adminId") String adminId, @RequestParam(value = "lastUseDate") Date lastUseDate, @RequestParam(value = "number") int number);
|
|
|
//同步订单到es中
|
|
|
|
|
|
/**
|
|
|
* 获取汇付商户号
|
|
|
+ *
|
|
|
* @param adminId
|
|
|
* @return
|
|
|
*/
|
|
|
@GetMapping("/tHuifuMch/getHuifuId")
|
|
|
ResponseModel<THuifuMch> getHuifuId(@RequestParam Long adminId);
|
|
|
-
|
|
|
+
|
|
|
}
|