10 lines
233 B
TypeScript
10 lines
233 B
TypeScript
import cloud from '@lafjs/cloud'
|
|
const key:string="1.0.0";
|
|
const testkey:string="1.0.0";
|
|
export default async function (ctx: FunctionContext) {
|
|
const uid=ctx.body.uid;
|
|
if([].includes(uid)){
|
|
return testkey;
|
|
}
|
|
return key;
|
|
} |