审查视图

addons/epay/config.php 1.8 KB
王智 authored
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
<?php

return [
    [
        'name' => 'wechat',
        'title' => '微信',
        'type' => 'array',
        'content' => [],
        'value' => [
            'appid' => '',
            'app_id' => '',
            'app_secret' => '',
            'miniapp_id' => 'wx6a9080f20326f817',
            'mch_id' => '1603658973',
            'key' => '8695A8185xyzKcdEVfreewayShenzhen',
            'notify_url' => '/addons/epay/api/notifyx/type/wechat',
2  
杨育虎 authored
17 18
            'cert_client' => '/epay/certs/apiclient_cert.pem',
            'cert_key' => '/epay/certs/apiclient_key.pem',
王智 authored
19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37
            'log' => '1',
        ],
        'rule' => '',
        'msg' => '',
        'tip' => '微信参数配置',
        'ok' => '',
        'extend' => '',
    ],
    [
        'name' => 'alipay',
        'title' => '支付宝',
        'type' => 'array',
        'content' => [],
        'value' => [
            'app_id' => '',
            'notify_url' => '/addons/epay/api/notifyx/type/alipay',
            'return_url' => '/addons/epay/api/returnx/type/alipay',
            'ali_public_key' => '',
            'private_key' => '',
2  
杨育虎 authored
38
            'log' => 1,
王智 authored
39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58
        ],
        'rule' => 'required',
        'msg' => '',
        'tip' => '支付宝参数配置',
        'ok' => '',
        'extend' => '',
    ],
    [
        'name' => '__tips__',
        'title' => '温馨提示',
        'type' => 'array',
        'content' => [],
        'value' => '请注意微信支付证书路径位于/addons/epay/certs目录下,请替换成你自己的证书<br>appid:APP的appid<br>app_id:公众号的appid<br>app_secret:公众号的secret<br>miniapp_id:小程序ID<br>mch_id:微信商户ID<br>key:微信商户支付的密钥',
        'rule' => '',
        'msg' => '',
        'tip' => '微信参数配置',
        'ok' => '',
        'extend' => '',
    ],
];