diff --git a/App.vue b/App.vue index 39c202d..a6f3e3f 100644 --- a/App.vue +++ b/App.vue @@ -93,6 +93,9 @@ "updateSentGroupApplition", ]), init(){ + //uni.setStorageSync('BusinessToken','eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJ3ZWJtYW4udGlueXdhbi5jbiIsImF1ZCI6IndlYm1hbi50aW55d2FuLmNuIiwiaWF0IjoxNzY4OTc4OTQ1LCJuYmYiOjE3Njg5Nzg5NDUsImV4cCI6MTc2OTU4Mzc0NSwiZXh0ZW5kIjp7ImlkIjoxMDAwMjgsInVzZXJuYW1lIjoiMTgxMDgxNDQwNDEiLCJjbGllbnQiOiJXRUIifX0.XH6qlb0D_9jpvlSxKM_w6a8Nl8fZPwkdq_b8zzOS2mY'); + //uni.setStorageSync('IMToken','eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJVc2VySUQiOiIxMDAwMjgiLCJQbGF0Zm9ybUlEIjoyLCJleHAiOjE3NzY3NTQ5NDUsImlhdCI6MTc2ODk3ODk0MH0.tT1S-Rdcd1NS33vQ9S_-5c55WrlyOiL-gxOGHOPo_zA'); + //uni.setStorageSync('IMUserID','100028'); const IMToken = uni.getStorageSync("IMToken"); const IMUserID = uni.getStorageSync("IMUserID")+''; if (IMToken && IMUserID) { diff --git a/ios/comshun777app.mobileprovision b/ios/comshun777app.mobileprovision new file mode 100644 index 0000000..c5bdab3 Binary files /dev/null and b/ios/comshun777app.mobileprovision differ diff --git a/ios/gj.p12 b/ios/gj.p12 new file mode 100644 index 0000000..e5f6597 Binary files /dev/null and b/ios/gj.p12 differ diff --git a/ios/readme.md b/ios/readme.md new file mode 100644 index 0000000..0a93441 --- /dev/null +++ b/ios/readme.md @@ -0,0 +1,2 @@ +com.shun777.app +密码123 \ No newline at end of file diff --git a/manifest.json b/manifest.json index ecef15d..dead263 100644 --- a/manifest.json +++ b/manifest.json @@ -161,7 +161,7 @@ "platforms" : "Android,iOS", "url" : "https://ext.dcloud.net.cn/plugin?id=6577", "android_package_name" : "", - "ios_bundle_id" : "com.tuoyun.uni", + "ios_bundle_id" : "com.shun777.app", "isCloud" : true, "bought" : 1, "pid" : "6577", diff --git a/util/index.js b/util/index.js index 96d4fce..43eb470 100644 --- a/util/index.js +++ b/util/index.js @@ -264,7 +264,9 @@ const cacheFile = (url, saveDir,progressCallback) => { ext = "mp4"; } let cacheDir = plus.io.convertLocalFileSystemURL(`_doc/{{dir}}/{{key}}.{{ext}}`); - cacheDir = cacheDir.replace('apps/'+plus.runtime.appid+'/doc','cache'); + if(uni.getSystemInfoSync().osName == 'android'){ + cacheDir = cacheDir.replace('apps/'+plus.runtime.appid+'/doc','cache'); + } const cacheFilePath = cacheDir.replace('{{dir}}',saveDir) .replace('{{key}}',key) .replace('{{ext}}',ext);