Commit f001b4c8 by 王栋源

wdy

parent 7586c448
...@@ -78,7 +78,7 @@ class TmqueryService { ...@@ -78,7 +78,7 @@ class TmqueryService {
if (!queryobj.type) { if (!queryobj.type) {
return { code: -102, msg: "参数错误" } return { code: -102, msg: "参数错误" }
} }
if (!queryobj.userId) { if (!queryobj.receiverId) {
return { code: -102, msg: "参数错误" } return { code: -102, msg: "参数错误" }
} }
if (queryobj.push_type == 1 && !queryobj.email) { if (queryobj.push_type == 1 && !queryobj.email) {
...@@ -87,7 +87,7 @@ class TmqueryService { ...@@ -87,7 +87,7 @@ class TmqueryService {
if (queryobj.push_type == 2 && !queryobj.notifyUrl) { if (queryobj.push_type == 2 && !queryobj.notifyUrl) {
return { code: -102, msg: "参数错误" } return { code: -102, msg: "参数错误" }
} }
queryobj.wxuser_id = queryobj.userId; queryobj.wxuser_id = queryobj.receiverId;
queryobj.appid =pobj.appInfo.id; queryobj.appid =pobj.appInfo.id;
var url = settings.igirlWeburl() + "web/toolCtl/createMonitoringReportH5p"; var url = settings.igirlWeburl() + "web/toolCtl/createMonitoringReportH5p";
return await this.opReqResult(url, queryobj, req); return await this.opReqResult(url, queryobj, req);
......
...@@ -2669,7 +2669,7 @@ ...@@ -2669,7 +2669,7 @@
"email":"", //邮箱  push_type 为1 时  不可为空 "email":"", //邮箱  push_type 为1 时  不可为空
"type":1, //报告类型  1 商标   2 专利 "type":1, //报告类型  1 商标   2 专利
"push_type":1, //推送类型  1 邮件  2 接口 "push_type":1, //推送类型  1 邮件  2 接口
"userId":"001" //  用户id "receiverId":"001" //  用户id
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment