This commit is contained in:
parent
1a09941460
commit
c7239ce3f4
|
|
@ -1,20 +1,20 @@
|
||||||
// #ifdef MP-ALIPAY
|
// #ifdef MP-ALIPAY
|
||||||
// const APP_ID = '123019';
|
const APP_ID = '123019';
|
||||||
const APP_ID = '12317';
|
// const APP_ID = '12317';
|
||||||
// #endif
|
// #endif
|
||||||
// #ifdef MP-WEIXIN
|
// #ifdef MP-WEIXIN
|
||||||
// const APP_ID = '123018';
|
const APP_ID = '123018';
|
||||||
const APP_ID = '12316';
|
// const APP_ID = '12316';
|
||||||
// #endif
|
// #endif
|
||||||
// #ifndef MP-WEIXIN
|
// #ifndef MP-WEIXIN
|
||||||
// #ifndef MP-ALIPAY
|
// #ifndef MP-ALIPAY
|
||||||
// const APP_ID = '123018';
|
const APP_ID = '123018';
|
||||||
const APP_ID = '12316';
|
// const APP_ID = '12316';
|
||||||
// #endif
|
// #endif
|
||||||
// #endif
|
// #endif
|
||||||
|
|
||||||
export const APP_CONFIG = {
|
export const APP_CONFIG = {
|
||||||
API_BASE_URL: 'https://api.leapy.cn',
|
API_BASE_URL: 'https://dev.api.leapy.cn',
|
||||||
APP_ID,
|
APP_ID,
|
||||||
RESOURCE_URL: 'https://resource.leapy.cn/staff/',
|
RESOURCE_URL: 'https://resource.leapy.cn/staff/',
|
||||||
PROPERTY_IMG_URL: 'https://resource.leapy.cn/',
|
PROPERTY_IMG_URL: 'https://resource.leapy.cn/',
|
||||||
|
|
@ -31,6 +31,8 @@ export const PROPERTY_APP = {
|
||||||
ALIPAY_APP_ID: '',
|
ALIPAY_APP_ID: '',
|
||||||
BIND_HOUSE_PATH: 'pagesC/certification/index?from=cashier',
|
BIND_HOUSE_PATH: 'pagesC/certification/index?from=cashier',
|
||||||
MINE_PATH: 'pages/mine/mine',
|
MINE_PATH: 'pages/mine/mine',
|
||||||
|
/** 物业基金页(微信端「物业基金」入口) */
|
||||||
|
POINTS_PATH: 'pagesE/points/index',
|
||||||
WECHAT_APP_ID: 'wx02de0e1de9f4bda3'
|
WECHAT_APP_ID: 'wx02de0e1de9f4bda3'
|
||||||
} as const;
|
} as const;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -77,7 +77,7 @@ const refreshPage = async () => {
|
||||||
const goPropertyFund = () => {
|
const goPropertyFund = () => {
|
||||||
uni.navigateToMiniProgram({
|
uni.navigateToMiniProgram({
|
||||||
appId: PROPERTY_APP.APP_ID,
|
appId: PROPERTY_APP.APP_ID,
|
||||||
path: PROPERTY_APP.MINE_PATH,
|
path: PROPERTY_APP.POINTS_PATH,
|
||||||
extraData: { from: 'cashier' },
|
extraData: { from: 'cashier' },
|
||||||
envVersion: APP_CONFIG.API_BASE_URL.includes('dev.') ? 'trial' : 'release',
|
envVersion: APP_CONFIG.API_BASE_URL.includes('dev.') ? 'trial' : 'release',
|
||||||
fail: () => {
|
fail: () => {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue