|
|
@ -25,7 +25,7 @@ public class TripartiteController {
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
@PostMapping("/push/clue/{appKey}")
|
|
|
|
@PostMapping("/push/clue/{appKey}")
|
|
|
|
public R<String> pushClue(@PathVariable("appKey") String appKey, @RequestBody PushClueDTO dto) {
|
|
|
|
public R<String> pushClue(@PathVariable("appKey") String appKey, @RequestBody PushClueDTO dto) {
|
|
|
|
// PushClueDTO dto = JSONUtil.toBean(body, PushClueDTO.class);
|
|
|
|
log.info("=============== the push appKey {},body {} ==============", appKey, JSONUtil.toJsonStr(dto));
|
|
|
|
return Boolean.TRUE.equals(tripartiteService.callbackByAppKeyAndNid
|
|
|
|
return Boolean.TRUE.equals(tripartiteService.callbackByAppKeyAndNid
|
|
|
|
(appKey, dto)) ? R.ok("success") : R.failed("message callback failed");
|
|
|
|
(appKey, dto)) ? R.ok("success") : R.failed("message callback failed");
|
|
|
|
}
|
|
|
|
}
|
|
|
|