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 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
@@ -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: 0,
175
+ precision: 2,
176
176
  min: minPrice,
177
177
  max: maxPrice,
178
178
  placeholder: formatMessage('请输入'),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "component-sanzhizhou",
3
- "version": "1.0.16",
3
+ "version": "1.0.17",
4
4
  "description": "",
5
5
  "module": "dist/index.js",
6
6
  "types": "dist/index.d.ts",