Commit 3705d4b2 by 庄冰

api.js

parent c6280bb9
...@@ -367,6 +367,7 @@ module.exports = function (app) { ...@@ -367,6 +367,7 @@ module.exports = function (app) {
var returnObj = { var returnObj = {
"challenge": result.data, // 应用需要原样返回的值 "challenge": result.data, // 应用需要原样返回的值
}; };
returnObj = JSON.stringify(returnObj);
return res.end(returnObj); return res.end(returnObj);
} catch (error) { } catch (error) {
logCtl.error({ logCtl.error({
......
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