Commit c3b12abf authored by lujinlei's avatar lujinlei

-a

parent 474506b4
const g = typeof global !== 'undefined' ? global : self;
g.appXAppJson = {
"app": {
"$homepage": "pages/index/index"
}
};
if(!self.Map || !self.Set || !self.Symbol) {
importScripts('https://gw.alipayobjects.com/as/g/appx_release/deps/1.0.3/es6-set-map-symbol.js');
}
importScripts(`https://appx/af-appx.worker.min.js`);
require('@alipay/appx-compiler/lib/sjsEnvInit');
require('./config$');
require('../../client/pages/index/index?hash=32d7d2807ed4e666ef03b4b3fe8c38ecf2e34e68');
require('../../client/pages/index2/index2?hash=5158fa18297db3fbaac119609b168d20fcdf1eea');
This diff is collapsed.
......@@ -106,7 +106,7 @@ Page({
this.postMessage('mine.getUserAddress', { success: false })
})
if (userAddress) { //格式需要修改具体
const { name, phone, address } = userAddress.duibaAddress
const { name, phone, provinceName ,receiveName,cityName,countyName,streetName,detailInfo,cityCode,address} = userAddress.duibaAddress
my.confirm({
title: '提示',
content: '确认使用该收货地址:' + name + phone + address,
......@@ -120,11 +120,17 @@ Page({
cloud.function.invoke(cloudName, {
activityId,
_id: prizeId,
address,
provinceName,
name,
phone,
receiveName,
cityName,
countyName,
streetName,
detailInfo,
cityCode,
// address: JSON.stringify(userAddress.duibaAddress)
}, "receiveObjectPrize")
}, "filaStar2.receiveObjectPrize")
.then(res => {
if (res && res.success) {
//确认发送成功信息
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment