|
@@ -75,7 +75,8 @@ public class TestController {
|
|
|
DingMsgReq dingMsgReq = new DingMsgReq();
|
|
|
dingMsgReq.setAgent_id("2581138442");
|
|
|
dingMsgReq.setUserid_list("01102853516526346000");
|
|
|
- String fileContent = fYunFileServiceInterface.getFileContent("sale/file/common/OA.json");
|
|
|
+ String fileContent = fYunFileServiceInterface.getFileContent("sale/file/common/sale/OA.json");
|
|
|
+ fileContent = fileContent.replaceAll("\\{redirectUrl}", URLEncoder.encode("https://v4-uat.4dkankan.com/aftermarketmp/#/work/detail/20230330163516368"));
|
|
|
dingMsgReq.setMsg(JSONObject.parseObject(fileContent));
|
|
|
JSONObject jsonObject = dingClient.sendMsg(access_token, dingMsgReq);
|
|
|
return ResultData.ok(jsonObject);
|