This commit is contained in:
c
2025-03-12 20:11:03 +08:00
commit 70b7c82c97
1178 changed files with 148185 additions and 0 deletions
@@ -0,0 +1,16 @@
function getHuaweiPlatform () {
const platform = this.clientPlatform
switch (platform) {
case 'app':
case 'app-harmony':
return 'app-harmony'
case 'mp-harmony':
return 'mp-harmony'
default:
throw new Error('Unsupported weixin platform')
}
}
module.exports = {
getHuaweiPlatform
}