From 2300dec2d33831a1717ae606fb3c8f4ae672bdcc Mon Sep 17 00:00:00 2001 From: ChallengerV <245646299@qq.com> Date: Mon, 13 Mar 2023 07:28:40 +0000 Subject: [PATCH 1/4] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E8=8E=B7=E5=8F=96QQ?= =?UTF-8?q?=E5=8F=B7=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: ChallengerV <245646299@qq.com> --- apps/profile/ProfileList.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/profile/ProfileList.js b/apps/profile/ProfileList.js index e3b6fb09..6327c1b4 100644 --- a/apps/profile/ProfileList.js +++ b/apps/profile/ProfileList.js @@ -83,7 +83,7 @@ const ProfileList = { let profiles = player.getProfiles() // 检测标志位 - let qq = (e.at && !e.atBot) ? e.at : e.qq + let qq = (e.at && !e.atBot) ? e.at : e.user_id await ProfileRank.setUidInfo({ uid, profiles, qq, uidType: isSelfUid ? 'ck' : 'bind' }) let groupId = e.group_id From aa190a78365548e96483c1188de3dfc6eef39354 Mon Sep 17 00:00:00 2001 From: ChallengerV <245646299@qq.com> Date: Tue, 14 Mar 2023 03:45:30 +0000 Subject: [PATCH 2/4] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E4=B8=8A=E4=BC=A0?= =?UTF-8?q?=E8=A7=92=E8=89=B2=E9=9D=A2=E6=9D=BF=E5=9B=BE=E8=B7=AF=E5=BE=84?= =?UTF-8?q?=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: ChallengerV <245646299@qq.com> --- components/Data.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/components/Data.js b/components/Data.js index 17194119..9b7fa628 100644 --- a/components/Data.js +++ b/components/Data.js @@ -9,8 +9,6 @@ const getRoot = (root = '') => { root = `${_path}/` } else if (root === 'miao') { root = `${_path}/plugins/miao-plugin/` - } else { - root = `${_path}/plugins/${root}/` } return root } From fef7a9b1d30aae736d7cae160de40427ac4ec320 Mon Sep 17 00:00:00 2001 From: temp <245646299@qq.com> Date: Wed, 15 Mar 2023 16:53:04 +0800 Subject: [PATCH 3/4] =?UTF-8?q?Revert=20"=E4=BF=AE=E5=A4=8D=E4=B8=8A?= =?UTF-8?q?=E4=BC=A0=E8=A7=92=E8=89=B2=E9=9D=A2=E6=9D=BF=E5=9B=BE=E8=B7=AF?= =?UTF-8?q?=E5=BE=84=E9=94=99=E8=AF=AF"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit aa190a78365548e96483c1188de3dfc6eef39354. --- components/Data.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/components/Data.js b/components/Data.js index 9b7fa628..17194119 100644 --- a/components/Data.js +++ b/components/Data.js @@ -9,6 +9,8 @@ const getRoot = (root = '') => { root = `${_path}/` } else if (root === 'miao') { root = `${_path}/plugins/miao-plugin/` + } else { + root = `${_path}/plugins/${root}/` } return root } From 0fd70b5ee6bb101407ec07591980586c150a4e87 Mon Sep 17 00:00:00 2001 From: temp <245646299@qq.com> Date: Wed, 15 Mar 2023 16:53:54 +0800 Subject: [PATCH 4/4] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E4=B8=8A=E4=BC=A0?= =?UTF-8?q?=E8=A7=92=E8=89=B2=E9=9D=A2=E6=9D=BF=E5=9B=BE=E8=B7=AF=E5=BE=84?= =?UTF-8?q?=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/character/ImgUpload.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/character/ImgUpload.js b/apps/character/ImgUpload.js index abd0b9dc..fdd7ea2a 100644 --- a/apps/character/ImgUpload.js +++ b/apps/character/ImgUpload.js @@ -89,7 +89,7 @@ async function saveImages (e, name, imageMessages) { let path = resPath + pathSuffix if (!fs.existsSync(path)) { - Data.createDir(pathSuffix, resPath) + Data.createDir(pathSuffix, 'miao') } let senderName = lodash.truncate(e.sender.card, { length: 8 }) let imgCount = 0