|
@@ -20,19 +20,19 @@ public interface SzwlFeign {
|
|
|
public ResponseModel<List<?>> testList(TAdminParam param);
|
|
|
|
|
|
@GetMapping("/tAdmin/getAdminIdList")
|
|
|
- ResponseModel<List<Long>> getAdminIdList(@RequestParam String adminId);
|
|
|
+ ResponseModel<List<Long>> getAdminIdList(@RequestParam String adminId);
|
|
|
|
|
|
@GetMapping("/tAdmin/getAdminByUsername")
|
|
|
- ResponseModel<TAdmin> getAdminByUsername(@RequestParam String username);
|
|
|
+ ResponseModel<TAdmin> getAdminByUsername(@RequestParam String username);
|
|
|
|
|
|
@GetMapping("/tAdmin/getAdmin")
|
|
|
- ResponseModel<TAdmin> getAdmin(@RequestParam String id);
|
|
|
+ ResponseModel<TAdmin> getAdmin(@RequestParam String id);
|
|
|
|
|
|
@GetMapping("/tEquipment/getClientIdList")
|
|
|
- ResponseModel<TAdminEquipment> getClientIdList(@RequestParam String adminId);
|
|
|
+ ResponseModel<TAdminEquipment> getClientIdList(@RequestParam String adminId);
|
|
|
|
|
|
@GetMapping("/tEquipment/getClientIds")
|
|
|
- ResponseModel<List<String>> getClientIds(@RequestParam String adminId);
|
|
|
+ ResponseModel<List<String>> getClientIds(@RequestParam String adminId);
|
|
|
|
|
|
@GetMapping("/tEquipment/findEquipmentByClientId")
|
|
|
ResponseModel<TEquipment> findEquipmentByClientId(@RequestParam String clientId);
|
|
@@ -40,16 +40,14 @@ public interface SzwlFeign {
|
|
|
@PostMapping("/tEquipment/getEquipmentByNameAndId")
|
|
|
ResponseModel<TEquipment> getEquipmentByNameAndId(@RequestBody TEquipment equipment);
|
|
|
|
|
|
-// @PostMapping("/tEquipment/findById2")
|
|
|
-// ResponseModel<TEquipment> findById(@RequestParam String id);
|
|
|
@GetMapping("/tEquipment/findEquipmentById")
|
|
|
ResponseModel<TEquipment> findById(@RequestParam String id);
|
|
|
|
|
|
@GetMapping("/tAdmin/pageAdmin2")
|
|
|
- ResponseModel<IPage<TAdmin>> pageAdmin2(@RequestParam(value = "current") long current, @RequestParam(value = "size") long size);
|
|
|
+ ResponseModel<IPage<TAdmin>> pageAdmin2(@RequestParam(value = "current") long current, @RequestParam(value = "size") long size);
|
|
|
|
|
|
@GetMapping("/tEquipment/pageEquipment2")
|
|
|
- ResponseModel<IPage<TEquipment>> pageEquipment2(@RequestParam(value = "current") long current, @RequestParam(value = "size") long size);
|
|
|
+ ResponseModel<IPage<TEquipment>> pageEquipment2(@RequestParam(value = "current") long current, @RequestParam(value = "size") long size);
|
|
|
|
|
|
@GetMapping("/tShandeMch/getShandeMch")
|
|
|
ResponseModel<TShandeMch> getShandeMch(@RequestParam String adminId);
|
|
@@ -74,17 +72,19 @@ public interface SzwlFeign {
|
|
|
|
|
|
/**
|
|
|
* 获取openId
|
|
|
- * @param adminId
|
|
|
- * @return
|
|
|
+ *
|
|
|
+ * @param adminId 用户ID
|
|
|
+ * @return openId
|
|
|
*/
|
|
|
@GetMapping("/tWechat/getOpenId")
|
|
|
ResponseModel<String> getOpenId(@RequestParam Long adminId);
|
|
|
|
|
|
/**
|
|
|
* 校验apiKey
|
|
|
- * @param apiKey
|
|
|
- * @param adminId
|
|
|
- * @return
|
|
|
+ *
|
|
|
+ * @param apiKey 密钥
|
|
|
+ * @param adminId 用户ID
|
|
|
+ * @return Admin
|
|
|
*/
|
|
|
@GetMapping("/tAdmin/validateApiKey")
|
|
|
ResponseModel<TAdmin> validateApiKey(@RequestParam String apiKey, @RequestParam Long adminId);
|