@uxda/appkit 4.2.66 → 4.2.67
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js
CHANGED
|
@@ -125,6 +125,7 @@ function requestWxH5Pay(options) {
|
|
|
125
125
|
timeStamp: options.timeStamp
|
|
126
126
|
},
|
|
127
127
|
function(res) {
|
|
128
|
+
console.log(res, "-------res");
|
|
128
129
|
if (res.err_msg == "get_brand_wcpay_request:ok") {
|
|
129
130
|
resolve(true);
|
|
130
131
|
} else {
|
|
@@ -168,7 +169,7 @@ function requestPayment$2(json) {
|
|
|
168
169
|
});
|
|
169
170
|
}
|
|
170
171
|
|
|
171
|
-
const
|
|
172
|
+
const jssdkServices = [getSdkConfig$1];
|
|
172
173
|
|
|
173
174
|
function useSafeArea() {
|
|
174
175
|
const systemInfo = getSystemInfoSync(), capsule = Taro.getEnv() === "WEAPP" ? getMenuButtonBoundingClientRect() : { top: 0, height: 0 };
|
|
@@ -1668,6 +1669,7 @@ const requestBrandWCPay = (params, Appcode = "") => {
|
|
|
1668
1669
|
$http.post(endpoints.\u83B7\u53D6\u5FAE\u4FE1\u652F\u4ED8\u53C2\u6570\u5305, {
|
|
1669
1670
|
...params
|
|
1670
1671
|
}).then((response) => {
|
|
1672
|
+
console.log(response, "-----response");
|
|
1671
1673
|
if (!response.json) {
|
|
1672
1674
|
showToast({
|
|
1673
1675
|
title: response.message,
|
|
@@ -8743,7 +8745,7 @@ const nutComponents = [
|
|
|
8743
8745
|
({
|
|
8744
8746
|
...components
|
|
8745
8747
|
});
|
|
8746
|
-
const services = [...services$1, ...
|
|
8748
|
+
const services = [...services$1, ...jssdkServices];
|
|
8747
8749
|
const $app = {
|
|
8748
8750
|
setToken: (token) => {
|
|
8749
8751
|
const appKitOptions = useAppKitOptions();
|
|
@@ -8781,4 +8783,4 @@ const AppKit = {
|
|
|
8781
8783
|
}
|
|
8782
8784
|
};
|
|
8783
8785
|
|
|
8784
|
-
export { script$q as AccountView, script$J as AmountPicker, script$H as AppDrawer, script$G as AppVerify, script$w as BalanceCard, script$p as BalanceReminder, script$o as DateRange, script$E as DeviceVersion, script$m as ListFilter, script$2 as LoginSetting, script$f as NoticeBanner, script$e as NoticeEntry, script$c as NoticeList, script$C as OcrBusinessLicense, script$D as OcrIcon, script$I as PageHeader, script$l as PromoterCard, script$z as RechargeResult, script$B as RechargeView, script$h as SelfRegistration, script$x as TradeView, script$A as UserAgreement, script as UserAuth, script$8 as UserBinding, script$7 as UserBindingSuccess, script$b as UserEntry, script$4 as UserFeedback, script$3 as UserFeedbackEntry, script$5 as UserHeadCrop, script$9 as UserInfo, script$1 as UserResourceEmpty, components, createHttp, AppKit as default, defaultCryptoConfig, generateUniqueId, getSdkConfig, requestPayment$2 as requestPayment, requestWxH5Pay, useAppKit, useCountdown, useCrypto, useEncode, useLogger, useSafeArea, useTabbar, useUpload, useValidator };
|
|
8786
|
+
export { script$q as AccountView, script$J as AmountPicker, script$H as AppDrawer, script$G as AppVerify, script$w as BalanceCard, script$p as BalanceReminder, script$o as DateRange, script$E as DeviceVersion, script$m as ListFilter, script$2 as LoginSetting, script$f as NoticeBanner, script$e as NoticeEntry, script$c as NoticeList, script$C as OcrBusinessLicense, script$D as OcrIcon, script$I as PageHeader, script$l as PromoterCard, script$z as RechargeResult, script$B as RechargeView, script$h as SelfRegistration, script$x as TradeView, script$A as UserAgreement, script as UserAuth, script$8 as UserBinding, script$7 as UserBindingSuccess, script$b as UserEntry, script$4 as UserFeedback, script$3 as UserFeedbackEntry, script$5 as UserHeadCrop, script$9 as UserInfo, script$1 as UserResourceEmpty, components, createHttp, AppKit as default, defaultCryptoConfig, generateUniqueId, getSdkConfig, jssdkServices, requestPayment$2 as requestPayment, requestWxH5Pay, services$1 as services, useAppKit, useCountdown, useCrypto, useEncode, useLogger, useSafeArea, useTabbar, useUpload, useValidator };
|
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { App } from 'vue'
|
|
2
2
|
import { components as paymentComponents } from './payment/components'
|
|
3
3
|
import { services as paymentServices } from './payment'
|
|
4
|
-
import {
|
|
4
|
+
import { jssdkServices } from './shared'
|
|
5
5
|
import // Grid,
|
|
6
6
|
// GridItem,
|
|
7
7
|
// Button,
|
package/src/shared/index.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { Service } from '../../payment/services'
|
|
2
2
|
import getSdkConfig from './jssdk'
|
|
3
3
|
|
|
4
|
-
const
|
|
4
|
+
const jssdkServices: Service[] = [getSdkConfig]
|
|
5
5
|
|
|
6
|
-
export default
|
|
6
|
+
export default jssdkServices
|
|
7
7
|
|
|
8
8
|
export * from './payment'
|
|
9
9
|
export * from './jssdk'
|
|
@@ -56,6 +56,7 @@ function requestWxH5Pay(options: PrePayOptions) {
|
|
|
56
56
|
timeStamp: options.timeStamp,
|
|
57
57
|
},
|
|
58
58
|
function (res) {
|
|
59
|
+
console.log(res, '-------res')
|
|
59
60
|
if (res.err_msg == 'get_brand_wcpay_request:ok') {
|
|
60
61
|
//res.err_msg将在用户支付成功后返回ok,但并不保证它绝对可靠,商户需进一步调用后端查单确认支付结果。
|
|
61
62
|
resolve(true)
|