Commit bb87b063 by 王栋源

wdy

parent c33df82b
......@@ -62,6 +62,9 @@ class APIBase {
"auth.userLogin",
"auth.getToken",
"auth.getToken",
"payment.queryOrder",
"payment.getQrCode",
"payment.receiveCallBackNotify",
];
var x = lst.indexOf(fullname);
return x >= 0;
......@@ -118,7 +121,7 @@ class APIBase {
async doexec(gname, methodname, pobj, query, req) {
req.requestId = this.getUUID();
try {
if (methodname != "getTokenByHosts") {
if (["getTokenByHosts", "receiveCallBackNotify"].indexOf(methodname) < 0) {
if (!pobj.appInfo) {
return system.getResult(null, "pobj.appInfo can not be empty !");
}
......
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