fix:红点

This commit is contained in:
xcy 2023-12-18 21:31:51 +08:00
parent 0ac5246d5b
commit 91f14c69ce
2 changed files with 347 additions and 384 deletions

View File

@ -14,6 +14,7 @@ import {PublicShared} from '../../shared/public/public';
import {md_redPoint} from '../gongyu/mingdao/ApiOpen';
import {HongDianFun, HuoDongHongDianFun} from "./fun";
import {FunWeiXiuChang} from "../../public/weixiuchang";
import {getShouChongRedPoint} from "../event/shouchong/ApiReceive";
const defaultKeys: hongdianKey[] = ['jiuba', 'jiaotang', 'shouchong', 'clslhd', 'dixiaqianzhuanghd', 'gonghuihd', 'hbzbhd', 'jjchd', 'taskhd',
'xstaskhd', 'lingzhulaixihd', 'dxlthd', 'wzcjhd', 'slzdhd', 'qjzzdhd', 'kuangdonghd', 'qiandaohd', 'kaifukuanghuanhd', 'jijinhd', 'zhuishalinghd',
@ -36,7 +37,7 @@ export default async function (call: ApiCall<ReqGet, ResGet>) {
res[key] = {show: (!db || toDayZeroTime >= db.freeTime) ? true : false};
break;
case 'shouchong':
// res[key] = await getShouChongRedPoint(call);
res[key] = await getShouChongRedPoint(call);
break;
case 'dixiaqianzhuanghd':
res[key] = await DiXiaQianZhuangFun.getHongDian(call);

File diff suppressed because it is too large Load Diff