电话可直接拨打
This commit is contained in:
+12
-3
@@ -52,6 +52,15 @@ public class SaleLeadsController {
|
||||
return model;
|
||||
}
|
||||
|
||||
/**
|
||||
* 地数公众号咨询
|
||||
* @param model
|
||||
* @return
|
||||
*/
|
||||
public Object didataApplyAction(SaleLeadsModel model) {
|
||||
return model;
|
||||
}
|
||||
|
||||
public Object doAddAction(SaleLeadsModel model, HttpServletRequest req,
|
||||
HttpServletResponse res) throws UnsupportedEncodingException, NoSuchMethodException, IllegalAccessException, InvocationTargetException {
|
||||
|
||||
@@ -156,11 +165,11 @@ public class SaleLeadsController {
|
||||
}
|
||||
try {
|
||||
JSONObject requestBody = new JSONObject();
|
||||
requestBody.put("msgtype", "markdown");
|
||||
requestBody.put("msgtype", "text");
|
||||
JSONObject markdown = new JSONObject();
|
||||
markdown.put("title", "销售线索");
|
||||
markdown.put("text", body);
|
||||
requestBody.put("markdown", markdown);
|
||||
markdown.put("content", body);
|
||||
requestBody.put("text", markdown);
|
||||
HttpRequest request = new HttpRequest();
|
||||
final String ding_url = "https://oapi.dingtalk.com/robot/send?access_token=894650a12af9497bed599df1d5f93b21d6da5bbae45f35f18c5825580ebbdf64";
|
||||
Map<String, String> headers = new HashMap<String, String>();
|
||||
|
||||
Reference in New Issue
Block a user