| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156 |
- <?php
- declare(strict_types=1);
- return json_decode(<<<'JSON'
- [
- {
- "type": "input",
- "field": "mchid",
- "title": "mchid",
- "info": "商户号",
- "$required": true,
- "_fc_id": "id_Fxo2md1dy5fjacc",
- "name": "ref_Favmmd1dy5fjadc",
- "display": true,
- "hidden": false,
- "_fc_drag_tag": "input"
- },
- {
- "type": "input",
- "field": "appid",
- "title": "appid",
- "info": "开发者ID",
- "$required": false,
- "display": true,
- "hidden": false,
- "_fc_drag_tag": "input"
- },
- {
- "type": "upload",
- "field": "apiclient_cert",
- "title": "apiclient_cert",
- "info": "商户API证书",
- "$required": false,
- "props": {
- "action": "/admin/flysystem/file",
- "name":"file",
- "onSuccess": "$FNX:const res = $inject.args[0];\nconsole.log(res);if(res.code!=200 &&res.code!=0){alert(res.msg);return;}\nconst file = $inject.args[1];\n\nfile.url = res.data.file_url;",
- "limit": 1
- },
- "display": true,
- "hidden": false,
- "_fc_drag_tag": "upload"
- },
- {
- "type": "upload",
- "field": "apiclient_key",
- "title": "apiclient_key",
- "info": "商户API私钥",
- "$required": false,
- "props": {
- "action": "/admin/flysystem/file",
- "name":"file",
- "onSuccess": "$FNX:const res = $inject.args[0];\nconst file = $inject.args[1];\n\nfile.url = res.data.file_url;",
- "limit": 1
- },
- "display": true,
- "hidden": false,
- "_fc_drag_tag": "upload"
- },
- {
- "type": "input",
- "field": "serial_no",
- "title": "serial_no",
- "info": "商户API证书序列号",
- "$required": false,
- "_fc_id": "id_Fho8md1e31edalc",
- "name": "ref_F343md1e31edamc",
- "display": true,
- "hidden": false,
- "_fc_drag_tag": "input"
- },
- {
- "type": "upload",
- "field": "public_key",
- "title": "public_key",
- "info": "微信支付公钥",
- "$required": false,
- "props": {
- "action": "/admin/flysystem/file",
- "name":"file",
- "onSuccess": "$FNX:const res = $inject.args[0];\nconst file = $inject.args[1];\n\nfile.url = res.data.file_url;",
- "limit": 1
- },
- "_fc_id": "id_Finbmd1e8rmmarc",
- "name": "ref_Fb4jmd1e8rmmasc",
- "display": true,
- "hidden": false,
- "_fc_drag_tag": "upload"
- },
- {
- "type": "input",
- "field": "wechatpay_serial",
- "title": "wechatpay_serial",
- "info": "微信支付公钥id",
- "$required": false,
- "_fc_id": "id_F8prmd1e9yx9auc",
- "name": "ref_Fmmwmd1e9yx9avc",
- "display": true,
- "hidden": false,
- "_fc_drag_tag": "input"
- },
- {
- "type": "input",
- "field": "api_v3_key",
- "title": "api_v3_key",
- "info": "APIv3密钥",
- "$required": false,
- "_fc_id": "id_Floymd1ech8faxc",
- "name": "ref_Fdp2md1ech8fayc",
- "display": true,
- "hidden": false,
- "_fc_drag_tag": "input"
- },
- {
- "type": "switch",
- "title": "启用沙箱环境",
- "field": "sandbox",
- "props": {
- "activeText": "是",
- "inactiveText": "否"
- },
- "_fc_id": "id_Fpxtmd1fz7stauc",
- "name": "ref_Fihqmd1fz7stavc",
- "_fc_drag_tag": "switch",
- "display": true,
- "hidden": false
- },
- {
- "type": "input",
- "title": "支付回调地址",
- "field": "notify_url",
- "props": {
- "placeholder": "请输入支付结果通知回调地址"
- },
- "$required": true,
- "_fc_id": "id_F0j5md1fz7stawc",
- "name": "ref_Ffipmd1fz7staxc",
- "_fc_drag_tag": "input",
- "display": true,
- "hidden": false
- },
- {
- "type": "input",
- "title": "退款回调地址",
- "field": "refund_notify_url",
- "props": {
- "placeholder": "请输入退款结果通知回调地址"
- },
- "_fc_id": "id_Fcmkmd1fz7stayc",
- "name": "ref_Fct5md1fz7stazc",
- "_fc_drag_tag": "input",
- "display": true,
- "hidden": false
- }
- ]
- JSON, true);
|