|
...
|
...
|
@@ -149,6 +149,7 @@ function rpc(host = '', act, data = {}, fouce = false, header = {}, silence = tr |
|
|
|
success: function (res) {
|
|
|
|
console.log('request.api[' + (new Date() - stime) + 'ms]==>', host + cache_key + ('&formids=' + formids.toString()) + '\nrequest.success', res.data);
|
|
|
|
// return;
|
|
|
|
//bot.msg({url: host + cache_key, res: res.data})
|
|
|
|
if (res.data) {
|
|
|
|
if (cachetime != 0 && res.data.ret == 200) {
|
|
|
|
cache(cache_key, res.data, cachetime);//.then().catch();
|
...
|
...
|
|