💪 optimize: 商户路由 偏移量字段更改为SM4秘钥
This commit is contained in:
parent
9a10c030ac
commit
ee217f3915
|
@ -31,7 +31,7 @@ export default function Merchant() {
|
|||
app_id: [{ type: "required", message: "请输入应用ID" }],
|
||||
pos_id: [{ type: "required", message: "请输入平台ID" }],
|
||||
store_id: [{ type: "required", message: "请输入店铺ID" }],
|
||||
secret_key: [{ type: "required", message: "请输入偏移量" }],
|
||||
secret_key: [{ type: "required", message: "请输入SM4秘钥" }],
|
||||
merchant_public_key: [{ type: "required", message: "请输入商户公钥" }],
|
||||
notify_url: [
|
||||
{ type: "required", message: "请输入商户回调通知网关地址" },
|
||||
|
@ -147,15 +147,14 @@ export default function Merchant() {
|
|||
</FormItem>
|
||||
) : null}
|
||||
{state.api_mode === 2 ? (
|
||||
<FormItem labelname="偏移量" prop="secret_key">
|
||||
<FormItem labelname="SM4秘钥" prop="secret_key">
|
||||
<Ipt
|
||||
onChange={(value) => setState({ ...state, secret_key: value })}
|
||||
onClearItem={() => setState({ ...state, secret_key: "" })}
|
||||
countShow={false}
|
||||
value={state.secret_key}
|
||||
placeholder={"请输入偏移量"}
|
||||
placeholder={"请输入SM4秘钥"}
|
||||
labelWidth={"0px"}
|
||||
maxLength={20}
|
||||
height={"36px"}
|
||||
width={"520px"}
|
||||
alignment={"left"}
|
||||
|
|
Loading…
Reference in New Issue