Browse Source

通知

devlop
邓雄飞 4 years ago
parent
commit
f71e5dd541
5 changed files with 11 additions and 4 deletions
  1. 8
      App.vue
  2. 2
      apis/commonApi.js
  3. 4
      manifest.json
  4. 1
      unpackage/debug/.ios.ins
  5. BIN
      unpackage/debug/iOS_debug.ipa

8
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
)

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

4
manifest.json

@ -93,7 +93,9 @@
}
},
"share" : {},
"push" : {}
"push" : {
"unipush" : {}
}
},
"icons" : {
"android" : {

1
unpackage/debug/.ios.ins

@ -0,0 +1 @@
forceInstall

BIN
unpackage/debug/iOS_debug.ipa

Loading…
Cancel
Save