From ec1b76ed5fe2b72cbff1bb0bcd5a0b8db52021f2 Mon Sep 17 00:00:00 2001 From: dy Date: Sun, 31 Dec 2023 13:43:47 +0800 Subject: [PATCH] =?UTF-8?q?=E7=AB=9E=E6=8A=80=E5=9C=BA=E6=A3=80=E6=B5=8B?= =?UTF-8?q?=E5=A4=B4=E5=83=8F=E6=A1=86=E6=98=AF=E5=90=A6=E6=BF=80=E6=B4=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api_s2c/jjc/ApiOpen.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/api_s2c/jjc/ApiOpen.ts b/src/api_s2c/jjc/ApiOpen.ts index 4002e1a..700ada3 100644 --- a/src/api_s2c/jjc/ApiOpen.ts +++ b/src/api_s2c/jjc/ApiOpen.ts @@ -2,6 +2,7 @@ import {ApiCall} from "tsrpc"; import {JJCFun} from '../../public/jjc'; import {ReqOpen, ResOpen} from "../../shared/protocols/jjc/PtlOpen"; import {PublicShared} from '../../shared/public/public'; +import {UserFun} from "../../public/user"; export default async function (call: ApiCall) { const dbData = await JJCFun.getMyData(call.uid); @@ -28,6 +29,7 @@ export default async function (call: ApiCall) { ...enemy }); + UserFun.activeHeadFrame(call.uid, 'jjc_rank', data["rank"] + 1); JJCFun.checkUpdatePlayer() } \ No newline at end of file