Commit 89fde2e2 authored by GuanHua's avatar GuanHua

feat:积分支付和余额支付支付密码加密

parent 659c3740
......@@ -10,6 +10,7 @@ import { GetMemberSecurityGetResponse } from '@/services/MemberApi'
import { priceFormat } from '@/utils/numberFomat'
import { PublicApi } from '@/services/api'
import { linkToUrl } from '../../utils'
import { encryptedByAES } from '@/utils/cryptoAes'
import styles from './index.less'
interface BablancePayWayPropsType {
......@@ -84,7 +85,7 @@ const BablancePayWay: React.FC<BablancePayWayPropsType> = (props) => {
id: Number(orderId),
paymentInformationId: Number(payInfo.paymentInformationId),
payTypeId: payInfo.paymentChannelsId,
payPassword: Number(payPassword)
payPassword: encryptedByAES(payPassword)
}
setConfirmLoading(true)
//@ts-ignore
......
......@@ -9,6 +9,7 @@ import { Button, message, Spin } from 'antd'
import { numFormat } from '@/utils/numberFomat'
import { PublicApi } from '@/services/api'
import { linkToUrl } from '../../utils'
import { encryptedByAES } from '@/utils/cryptoAes'
import styles from './index.less'
interface PointPayWayPropsType {
......@@ -86,7 +87,7 @@ const PointPayWay: React.FC<PointPayWayPropsType> = (props) => {
id: Number(orderId),
paymentInformationId: Number(payInfo.paymentInformationId),
payTypeId: payInfo.paymentChannelsId,
payPassword: Number(payPassword)
payPassword: encryptedByAES(payPassword)
}
setConfirmLoading(true)
//@ts-ignore
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment