Merge branch 'feature/huangqijiuguan' into dev

This commit is contained in:
xichaoyin 2024-01-10 13:48:59 +08:00
commit d2ed18117f

View File

@ -4,7 +4,7 @@ import { HuoDongFun } from "../../../public/huodongfun";
import { ReqOpen, ResOpen } from "../../../shared/protocols/event/huangqijiuguan/PtlOpen";
export default async (call: ApiCall<ReqOpen, ResOpen>) => {
let hd = HuoDongFun.getHdidInfo(call, call.req.hdid);
let hd = await HuoDongFun.getHdidInfo(call, call.req.hdid);
if (!hd || Object.keys(hd).length <= 0) {
// 无此活动
return call.error('', { code: -1, message: globalThis.lng.huodong_open_1 })