fix:伙伴招募

This commit is contained in:
xcy 2023-12-19 19:11:08 +08:00
parent 5969e32323
commit a969fb65df

View File

@ -15,7 +15,7 @@ export default async function (call: ApiCall<ReqOpen, ResOpen>) {
if (!logs) {
logs = await PayFun.getPayLog(call.uid, "zhizunyueka");
}
finish[i] = !(logs.length < 0 || logs.slice(-1)[0].eTime < G.time);
finish[i] = !(logs.length <= 0 || logs.slice(-1)[0].eTime < G.time);
} else {
finish[i] = call.conn.gud[conf.gudKey] >= conf.total;
}