Commit 49b95bef authored by 郭志伟's avatar 郭志伟

feat: 调整接口传参

parent 9f058c84
......@@ -18,7 +18,6 @@ export default class ActivityController extends Controller {
await ctx.service.redis.set(redisKey, body);
}
}
ctx.body = body;
}
}
......@@ -74,7 +74,7 @@ export default {
} else if (isWxMp) {
terminal = 'MINI-APP';
} else if (
window.__INITIAL_STATE__.isEditor &&
EASY_ENV_IS_BROWSER && window.QUANTUM_BLOCKS_IS_EDITTOR &&
cfg.hideTerminalInEditor
) {
terminal = '';
......
......@@ -92,7 +92,6 @@ instance.interceptors.response.use(
!config.hideLoading && afterRequest();
delete pending[response.config?.url || ''];
}
return strategyModes[response.config?.strategy].response(response);
},
err => {
......
{
"api": {
"apiHost": "http://localhost:7002",
"apiHost": "https://quantum-blocks-test1.liangkebang.net",
"h5Host": "https://quantum-h5-test1.liangkebang.net",
"opapiHost": "https://opapi-test1.liangkebang.net",
"passportHost": "https://passportapi-test1.liangkebang.net",
......
{"apiHost":"http://localhost:7002","h5Host":"https://quantum-h5-test1.liangkebang.net","opapiHost":"https://opapi-test1.liangkebang.net","passportHost":"https://passportapi-test1.liangkebang.net","talosHost":"https://talos-test1.liangkebang.net","kdspHost":"https://kdsp-api-test1.liangkebang.net","loginUrl":"","h5ShopHost":"https://tenet-test1.liangkebang.net/#","mallHost":"https://mall-test1.liangkebang.net","yxmTenantId":560761,"appIdMap":{"560761":"wxe16bf9293671506c","560867":"wxccb8435d68e8c7d6"},"qiniuUpHost":"https://up-z0.qiniup.com","qiniuHost":"https://appsync.lkbang.net"}
\ No newline at end of file
{"apiHost":"https://quantum-blocks-test1.liangkebang.net","h5Host":"https://quantum-h5-test1.liangkebang.net","opapiHost":"https://opapi-test1.liangkebang.net","passportHost":"https://passportapi-test1.liangkebang.net","talosHost":"https://talos-test1.liangkebang.net","kdspHost":"https://kdsp-api-test1.liangkebang.net","loginUrl":"","h5ShopHost":"https://tenet-test1.liangkebang.net/#","mallHost":"https://mall-test1.liangkebang.net","yxmTenantId":560761,"appIdMap":{"560761":"wxe16bf9293671506c","560867":"wxccb8435d68e8c7d6"},"qiniuUpHost":"https://up-z0.qiniup.com","qiniuHost":"https://appsync.lkbang.net"}
\ No newline at end of file
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