profile服务支持定义api

This commit is contained in:
Kokomi 2022-07-02 10:38:41 +08:00
parent 66fa3e6979
commit 01bde5b704

View File

@ -128,7 +128,7 @@ let Profile = {
let data = Profile._get(uid, charId); let data = Profile._get(uid, charId);
let Serv = getServ(uid); let Serv = getServ(uid);
if (Serv.getCharData && data && data.id) { if (Serv.getCharData && data && data.id) {
f return await Serv.getCharData(uid, data, Profile.saveCharData, { config }); return await Serv.getCharData(uid, data, Profile.saveCharData, { config });
} }
return data; return data;
}, },