Files
littleTiger/plugins/payment/weixin/config.php
2019-02-28 19:48:21 +08:00

18 lines
1.1 KiB
PHP
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?php
return array(
'code'=> 'weixin',
'name' => '微信支付',
'version' => '1.0',
'author' => 'IT宇宙人',
'desc' => 'PC端+微信公众号支付',
'icon' => 'logo.jpg',
'app_icon' => 'app_logo.jpg',
'scene' => 0, // 使用场景 0 PC+手机 1 手机 2 PC
'config' => array(
array('name' => 'appid','label'=>'绑定支付的APPID','type' => 'text', 'value' => ''), // * APPID绑定支付的APPID必须配置开户邮件中可查看
array('name' => 'mchid', 'label'=>'商户号', 'type' => 'text', 'value' => ''), // * MCHID商户号必须配置开户邮件中可查看
array('name' => 'key', 'label'=>'商户支付密钥', 'type' => 'text', 'value' => ''), // KEY商户支付密钥参考开户邮件设置必须配置登录商户平台自行设置
array('name' => 'appsecret', 'label'=>'公众帐号secert仅JSAPI支付的时候需要配置)', 'type' => 'text', 'value' => ''), // 公众帐号secert仅JSAPI支付的时候需要配置)
),
);