|
|
|
@ -17,6 +17,8 @@ public interface IAttachClient { |
|
|
|
|
|
|
|
|
|
|
|
String DETAIL = API_PREFIX + "/detail"; |
|
|
|
String DETAIL = API_PREFIX + "/detail"; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
String DETAIL_BY_ID = API_PREFIX + "/detailById"; |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
|
* |
|
|
|
* |
|
|
|
* @param attach |
|
|
|
* @param attach |
|
|
|
@ -24,4 +26,12 @@ public interface IAttachClient { |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
@PostMapping(DETAIL) |
|
|
|
@PostMapping(DETAIL) |
|
|
|
public R<Attach> detail(@RequestBody Attach attach); |
|
|
|
public R<Attach> detail(@RequestBody Attach attach); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
|
|
|
* |
|
|
|
|
|
|
|
* @param id |
|
|
|
|
|
|
|
* @return |
|
|
|
|
|
|
|
*/ |
|
|
|
|
|
|
|
@PostMapping(DETAIL_BY_ID) |
|
|
|
|
|
|
|
public R<Attach> detailById(@RequestParam("id") Long id); |
|
|
|
} |
|
|
|
} |
|
|
|
|