| | |
| | | BASE_URL_H5: '"/"', |
| | | BASE_URL_JX: '"https://api.jx818.com"', |
| | | |
| | | OSS_URL: '"https://waterdroptest2.oss-cn-hangzhou.aliyuncs.com/"', |
| | | WEMAP_KEY: 'T2UBZ-N563J-ZCHFF-XDOXN-VCH7S-CJB2T', |
| | | WXPayAppId: '"wxf940ff1d35a98493"', |
| | | }, |
| | | defineConstants: {}, |
| | | defineConstants: { |
| | | OSS_URL: '"https://waterdroptest2.oss-cn-hangzhou.aliyuncs.com/"', |
| | | }, |
| | | mini: {}, |
| | | h5: {}, |
| | | }; |
| | |
| | | BASE_URL_H5: '"https://api.81812333.com"', |
| | | BASE_URL_JX: '"https://api.jx818.com"', |
| | | |
| | | OSS_URL: '"https://parkmanagement.oss-cn-hangzhou.aliyuncs.com"', |
| | | |
| | | WEMAP_KEY: 'DYRBZ-ZGPCF-X3OJN-N2AA3-JWUCE-HEBXJ', |
| | | WXPayAppId: '"wxf940ff1d35a98493"', |
| | | }, |
| | | defineConstants: {}, |
| | | defineConstants: { |
| | | OSS_URL: '"https://parkmanagement.oss-cn-hangzhou.aliyuncs.com"', |
| | | }, |
| | | mini: {}, |
| | | h5: { |
| | | output: { |
| | |
| | | BASE_URL_H5: '"https://testrlywx.boleyuma.com"', |
| | | BASE_URL_JX: '"https://api.jx818.com"', |
| | | |
| | | OSS_URL: '"https://waterdroptest2.oss-cn-hangzhou.aliyuncs.com/"', |
| | | |
| | | APP_ENV: '"staging"', |
| | | |
| | | WEMAP_KEY: 'T2UBZ-N563J-ZCHFF-XDOXN-VCH7S-CJB2T', |
| | | WXPayAppId: '"wxf940ff1d35a98493"', |
| | | }, |
| | | defineConstants: { |
| | | OSS_URL: '"https://waterdroptest2.oss-cn-hangzhou.aliyuncs.com/"', |
| | | }, |
| | | h5: { |
| | | output: { |
| | | path: path.resolve(__dirname, '..', `dist/h5-staging`), |
| | |
| | | import { useUserStore } from '@/stores/modules/user'; |
| | | import Taro from '@tarojs/taro'; |
| | | import { object2query } from '@life-payment/utils'; |
| | | import * as userServices from '@life-payment/services/api/User'; |
| | | import { useQuery } from '@tanstack/vue-query'; |
| | | import { MaybeRef } from 'vue'; |
| | | import { useRefeshDidShow } from './infiniteLoading'; |
| | |
| | | [elem: string]: any; |
| | | } |
| | | } |
| | | |
| | | interface Window { |
| | | WeixinJSBridge: any |
| | | } |
| | | |
| | | } |
| | | |
| | | declare const OSS_URL: string |
| | | declare const WeixinJSBridge: any |
| | | |
| | | declare namespace NodeJS { |
| | | interface ProcessEnv { |
| | | TARO_ENV: 'weapp' | 'swan' | 'alipay' | 'h5' | 'rn' | 'tt' | 'quickapp' | 'qq' | 'jd' |
| | |
| | | let res = await getPayOrderForJsAPI(orderNo); |
| | | |
| | | if (res) { |
| | | //@ts-ignore |
| | | if (WeixinJSBridge) { |
| | | //@ts-ignore |
| | | WeixinJSBridge.invoke( |
| | | 'getBrandWCPayRequest', |
| | | { |
| | |
| | | type NODE_ENV = 'development' | 'production'; |
| | | |
| | | export const env = process.env.NODE_ENV as NODE_ENV; |
| | | |
| | | export const OSSBaseURL = |
| | | env === 'development' |
| | | ? 'https://waterdroptest2.oss-cn-hangzhou.aliyuncs.com/' |
| | | : 'https://parkmanagement.oss-cn-hangzhou.aliyuncs.com/'; |
| | | export const OSSBaseURL = OSS_URL; |
| | | |
| | | export const combineURLs = (baseURL: string, relativeURL: string) => { |
| | | return relativeURL |
| | |
| | | const componentOptions: ComponentOptions |
| | | export default componentOptions |
| | | } |
| | | |
| | | |
| | | declare const OSS_URL: string |
| | | declare const WeixinJSBridge: any |
| | |
| | | }, |
| | | }, |
| | | define: { |
| | | 'process.env.NODE_ENV': JSON.stringify('production'), |
| | | OSS_URL: '"https://parkmanagement.oss-cn-hangzhou.aliyuncs.com"', |
| | | }, |
| | | plugins: [ |
| | | vue(), |
| | |
| | | export const OSSBaseURL = process.env.OSS_URL; |
| | | export const OSSBaseURL = OSS_URL; |
| | | const _basicPath = 'life-payment/MiniApp/'; |
| | | |
| | | export const OssResource = _basicPath + 'Resource/'; |
| | |
| | | "incremental": true, |
| | | "jsxImportSource": "vue" |
| | | }, |
| | | "compileOnSave": false |
| | | "compileOnSave": false, |
| | | "include": ["types/*.d.ts"] |
| | | } |