component-sanzhizhou 1.0.16 → 1.0.17
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/pay/qr.js +2 -1
- package/dist/pay/recharge.js +1 -1
- package/package.json +1 -1
package/dist/pay/qr.js
CHANGED
|
@@ -9,6 +9,7 @@ import CallMiniUrl from "../lib/call-mini-url";
|
|
|
9
9
|
import formatMessage from "../lib/formatMessage";
|
|
10
10
|
import * as WechatMinAppController from "../service/api/WechatMinAppController";
|
|
11
11
|
import { getApiEnv } from "../lib/getApiUrl";
|
|
12
|
+
import getLocalUserInfo from "../lib/getLocalUserInfo";
|
|
12
13
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
13
14
|
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
14
15
|
// type QrDict = Record<Global.Env, string>;
|
|
@@ -58,7 +59,7 @@ var UserVipOrderPayQr = function UserVipOrderPayQr(_ref) {
|
|
|
58
59
|
var _useRequest = useRequest(function () {
|
|
59
60
|
return WechatMinAppController.getUrlLink({
|
|
60
61
|
pagePath: 'pages/recharge/index',
|
|
61
|
-
pathQuery: "moneyAmount=".concat(moneyAmount),
|
|
62
|
+
pathQuery: "moneyAmount=".concat(moneyAmount, "&userToken=").concat(getLocalUserInfo().sid || '', "&productKind=recharge"),
|
|
62
63
|
envVersion: getApiEnv() === 'local' ? "develop" : 'release'
|
|
63
64
|
}, {
|
|
64
65
|
env: env
|
package/dist/pay/recharge.js
CHANGED
|
@@ -172,7 +172,7 @@ var PayRecharge = function PayRecharge(_ref) {
|
|
|
172
172
|
rechargeRuleList: rechargeRuleList
|
|
173
173
|
}),
|
|
174
174
|
className: "ssz-recharge-form-moneyAmount-input",
|
|
175
|
-
precision:
|
|
175
|
+
precision: 2,
|
|
176
176
|
min: minPrice,
|
|
177
177
|
max: maxPrice,
|
|
178
178
|
placeholder: formatMessage('请输入'),
|