Compare commits
No commits in common. "3b12f760e18ab92d7c44afe0df46b9a653fabc9c" and "4c33bad9fbcea0eb90a5c929c6b20d23aefc5d66" have entirely different histories.
3b12f760e1
...
4c33bad9fb
@ -12,8 +12,8 @@ export default async function (call: ApiCall<ReqRec, ResRec>) {
|
||||
let db = await G.mongodb.cEvent('huobanzhaomu').findOne({uid: call.uid, type: 'huobanzhaomu'});
|
||||
if (db?.rec.includes(call.req.index)) return call.error('', {code: -3});
|
||||
|
||||
if (conf.gudKey == "zhizunyueka") {
|
||||
let logs = await PayFun.getPayLog(call.uid, "zhizunyueka");
|
||||
if (conf.gudKey == "chaozhiyueka") {
|
||||
let logs = await PayFun.getPayLog(call.uid, "chaozhiyueka");
|
||||
if (!logs || logs.slice(-1)[0].eTime < G.time) {
|
||||
return call.error('', {code: -4});
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user