Initial commit

This commit is contained in:
ZLI263
2025-11-23 11:20:51 +08:00
commit 355e056ae7
1025 changed files with 123077 additions and 0 deletions

View File

@@ -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
}