屏蔽iaa逻辑
This commit is contained in:
parent
c6df809a0f
commit
d244b32095
|
|
@ -8,10 +8,10 @@ const level3 = [26];
|
||||||
export default async function (ctx: FunctionContext) {
|
export default async function (ctx: FunctionContext) {
|
||||||
const uid = ctx.body.uid;
|
const uid = ctx.body.uid;
|
||||||
let dbname = "users";
|
let dbname = "users";
|
||||||
const gameName = ctx.body.gameName;
|
// const gameName = ctx.body.gameName;
|
||||||
if (gameName == "iaa") {
|
// if (gameName == "iaa") {
|
||||||
dbname = "usersAd";
|
// dbname = "usersAd";
|
||||||
}
|
// }
|
||||||
let res = await db.collection(dbname).where({ _id: uid }).getOne();
|
let res = await db.collection(dbname).where({ _id: uid }).getOne();
|
||||||
if (!res.data) {
|
if (!res.data) {
|
||||||
return {
|
return {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user