Merge branch 'master' into ECard

This commit is contained in:
wangsongsole 2024-02-21 14:33:09 +08:00
commit e8d05aab9c
1 changed files with 3 additions and 4 deletions

View File

@ -31,7 +31,7 @@ export default function Merchant() {
app_id: [{ type: "required", message: "请输入应用ID" }], app_id: [{ type: "required", message: "请输入应用ID" }],
pos_id: [{ type: "required", message: "请输入平台ID" }], pos_id: [{ type: "required", message: "请输入平台ID" }],
store_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: "请输入商户公钥" }], merchant_public_key: [{ type: "required", message: "请输入商户公钥" }],
notify_url: [ notify_url: [
{ type: "required", message: "请输入商户回调通知网关地址" }, { type: "required", message: "请输入商户回调通知网关地址" },
@ -147,15 +147,14 @@ export default function Merchant() {
</FormItem> </FormItem>
) : null} ) : null}
{state.api_mode === 2 ? ( {state.api_mode === 2 ? (
<FormItem labelname="偏移量" prop="secret_key"> <FormItem labelname="SM4秘钥" prop="secret_key">
<Ipt <Ipt
onChange={(value) => setState({ ...state, secret_key: value })} onChange={(value) => setState({ ...state, secret_key: value })}
onClearItem={() => setState({ ...state, secret_key: "" })} onClearItem={() => setState({ ...state, secret_key: "" })}
countShow={false} countShow={false}
value={state.secret_key} value={state.secret_key}
placeholder={"请输入偏移量"} placeholder={"请输入SM4秘钥"}
labelWidth={"0px"} labelWidth={"0px"}
maxLength={20}
height={"36px"} height={"36px"}
width={"520px"} width={"520px"}
alignment={"left"} alignment={"left"}