|
|
@@ -16,7 +16,10 @@ public class md {
|
|
|
@GetMapping
|
|
|
@ResponseBody
|
|
|
public Object yjhx(@RequestParam("phonenumber") String phonenumber, @RequestParam(value = "formdata") String formdata) {
|
|
|
- String content = "尊敬的用户,您提交的以旧换新补贴申请美大总部已审核通过!友情提醒:该补贴金额仅限扫码门店使用,且产品安装地址与申请地址须保持一致。详情咨询当地美大门店。期待为您提供优质服务!";
|
|
|
+ JSONObject formdataObject = JSONObject.parseObject(formdata);
|
|
|
+ String agentname = formdataObject.getStringValue("agentname");
|
|
|
+ String agentphone = formdataObject.getStringValue("agentphone");
|
|
|
+ String content = "尊敬的用户,您提交的以旧换新补贴申请美大总部已审核通过!友情提醒:该补贴金额仅限扫码门店使用,且产品安装地址与申请地址须保持一致。详情咨询 " + agentname + " 美大门店,联系电话 " + agentphone + " 。期待为您提供优质服务!";
|
|
|
JSONObject resultObject = new JSONObject();
|
|
|
try {
|
|
|
new Thread(() -> {
|