diff --git a/App.vue b/App.vue index 614c9ff..e1179f4 100644 --- a/App.vue +++ b/App.vue @@ -26,8 +26,12 @@ export default { 'receive', function (msg) { // plus.ui.alert(2); - plus.ui.alert('receive:' + JSON.stringify(msg)) - console.log('receive:' + JSON.stringify(msg)) + // plus.ui.alert('receive:' + JSON.stringify(msg)) + // console.log('receive:' + JSON.stringify(msg)) + uni.showToast({ + title: JSON.stringify(msg), + icon: 'none' + }) }, false ) diff --git a/apis/commonApi.js b/apis/commonApi.js index 86764a3..cb2dfd0 100644 --- a/apis/commonApi.js +++ b/apis/commonApi.js @@ -122,7 +122,7 @@ export function transformFileToImg(data) { * 推送客户绑定 * */ -export function pushCustomerBind(cid, platformType = 'Android', appId = XAPPID) { +export function pushCustomerBind(cid, platformType = 'android', appId = XAPPID) { return http.post({ url: '/base-paper-trading/user/binding/geTui/cid', data: { cid, appId, platformType } diff --git a/manifest.json b/manifest.json index e44b192..29b7a43 100644 --- a/manifest.json +++ b/manifest.json @@ -93,7 +93,9 @@ } }, "share" : {}, - "push" : {} + "push" : { + "unipush" : {} + } }, "icons" : { "android" : { diff --git a/unpackage/debug/.ios.ins b/unpackage/debug/.ios.ins new file mode 100644 index 0000000..3b526db --- /dev/null +++ b/unpackage/debug/.ios.ins @@ -0,0 +1 @@ +forceInstall \ No newline at end of file diff --git a/unpackage/debug/iOS_debug.ipa b/unpackage/debug/iOS_debug.ipa new file mode 100644 index 0000000..5eee141 Binary files /dev/null and b/unpackage/debug/iOS_debug.ipa differ