CRMEB/backend/public/install/data/pay_channel_data.sql

9 lines
7.2 KiB
SQL
Executable File
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.

-- eb_pay_channel default data
INSERT INTO `eb_pay_channel` (`id`, `channel_key`, `channel_name`, `platform`, `channel_type`, `icon`, `supported_platforms`, `enabled_platforms`, `config_key_prefix`, `driver`, `config_fields`, `sort`, `status`, `is_del`, `add_time`, `update_time`) VALUES
(1,'yue','余额支付','self','payment','','wechat_mini,wechat_mp,h5,app,pc','wechat_mini,wechat_mp,h5,app,pc','yue_pay','','[]',170,1,0,1782872050,1784191677),
(2,'offline','线下支付','self','payment','','wechat_mini,wechat_mp,h5,app,pc','wechat_mini,wechat_mp,h5,app,pc','offline_pay','',NULL,60,1,0,1782872050,1784186433),
(3,'friend','好友代付','self','feature','','wechat_mini,wechat_mp,h5,app,pc','wechat_mini,wechat_mp,h5,app,pc','friend_pay','',NULL,50,1,0,1782872050,1784191745),
(4,'weixin','微信支付','wechat','payment','','wechat_mini,wechat_mp,h5,app,pc','h5,app,pc','pay_weixin','WechatPay','[{\"field\":\"mer_type\",\"label\":\"商户类型\",\"type\":\"radio\",\"group\":\"商户类型\",\"default\":\"0\",\"options\":[{\"value\":\"0\",\"label\":\"微信支付商户模式\"},{\"value\":\"1\",\"label\":\"微信支付服务商模式\"}],\"tip\":\"商户类型,目前支持普通微信商户模式和普通微信服务商模式\",\"value\":0},{\"field\":\"sp_appid\",\"label\":\"主商户APPID\",\"type\":\"text\",\"group\":\"商户类型\",\"tip\":\"开启服务商支付,需要配置主商户申请时开通的公众号服务号的APPID\",\"show_if\":{\"field\":\"mer_type\",\"value\":\"1\"}},{\"field\":\"pay_sub_merchant_id\",\"label\":\"子商户商户号\",\"type\":\"text\",\"group\":\"商户类型\",\"tip\":\"微信支付服务商子商户商户号\",\"show_if\":{\"field\":\"mer_type\",\"value\":\"1\"}},{\"field\":\"pay_weixin_key\",\"label\":\"API密钥\",\"type\":\"text\",\"group\":\"商户\",\"tip\":\"商户支付密钥Key。审核通过后,在微信发送的邮件中查看\"},{\"field\":\"pay_weixin_mchid\",\"label\":\"商户号\",\"type\":\"text\",\"group\":\"商户\",\"tip\":\"微信商户商户号\"},{\"field\":\"pay_weixin_client_cert\",\"label\":\"微信支付证书\",\"type\":\"upload\",\"group\":\"证书\",\"tip\":\"微信支付证书,在微信商家平台中可以下载!文件名一般为apiclient_cert.pem\"},{\"field\":\"pay_weixin_client_key\",\"label\":\"微信支付证书密钥\",\"type\":\"upload\",\"group\":\"证书\",\"tip\":\"微信支付证书密钥,在微信商家平台中可以下载!文件名一般为apiclient_key.pem\"},{\"field\":\"pay_new_weixin_open\",\"label\":\"小程序商户号选择\",\"type\":\"radio\",\"group\":\"小程序\",\"default\":\"0\",\"options\":[{\"value\":\"0\",\"label\":\"商户号绑定\"},{\"value\":\"1\",\"label\":\"非商户号绑定\"}],\"tip\":\"小程序开发后后台有支付管理的请选择非商户号绑定\",\"value\":0},{\"field\":\"pay_new_weixin_mchid\",\"label\":\"小程序支付商户号\",\"type\":\"text\",\"group\":\"小程序\",\"tip\":\"小程序开通支付管理生成的商户号\",\"show_if\":{\"field\":\"pay_new_weixin_open\",\"value\":\"1\"}},{\"field\":\"routine_appId\",\"label\":\"小程序AppID\",\"type\":\"text\",\"group\":\"小程序渠道\",\"tip\":\"微信小程序 AppID\"},{\"field\":\"routine_appsecret\",\"label\":\"小程序AppSecret\",\"type\":\"password\",\"group\":\"小程序渠道\",\"tip\":\"微信小程序 AppSecret\"},{\"field\":\"wechat_appid\",\"label\":\"公众号AppID\",\"type\":\"text\",\"group\":\"公众号渠道\",\"tip\":\"微信公众号 AppID\"},{\"field\":\"wechat_app_appid\",\"label\":\"APP应用AppID\",\"type\":\"text\",\"group\":\"APP渠道\",\"tip\":\"微信开放平台移动应用 AppID\"}]',100,1,0,1782872050,1786956494),
(5,'weixin_v3','微信支付V3','wechat','payment','','wechat_mini,wechat_mp,h5,app,pc','wechat_mini,wechat_mp,h5,app,pc','pay_weixin','V3WechatPay','[{\"field\":\"mer_type\",\"label\":\"商户类型\",\"type\":\"radio\",\"group\":\"商户类型\",\"default\":\"0\",\"options\":[{\"value\":\"0\",\"label\":\"微信支付商户模式\"},{\"value\":\"1\",\"label\":\"微信支付服务商模式\"}],\"tip\":\"商户类型,目前支持普通微信商户模式和普通微信服务商模式\",\"value\":0},{\"field\":\"sp_appid\",\"label\":\"主商户APPID\",\"type\":\"text\",\"group\":\"商户类型\",\"tip\":\"开启服务商支付,需要配置主商户申请时开通的公众号服务号的APPID\",\"show_if\":{\"field\":\"mer_type\",\"value\":\"1\"}},{\"field\":\"pay_sub_merchant_id\",\"label\":\"子商户商户号\",\"type\":\"text\",\"group\":\"商户类型\",\"tip\":\"微信支付服务商子商户商户号\",\"show_if\":{\"field\":\"mer_type\",\"value\":\"1\"}},{\"field\":\"pay_weixin_mchid\",\"label\":\"商户号\",\"type\":\"text\",\"group\":\"商户\",\"tip\":\"微信商户商户号\"},{\"field\":\"pay_weixin_serial_no\",\"label\":\"证书序列号\",\"type\":\"text\",\"group\":\"商户\",\"tip\":\"商户API证书的证书序列号,可在证书管理中查看\"},{\"field\":\"pay_weixin_key_v3\",\"label\":\"V3支付Key\",\"type\":\"text\",\"group\":\"商户\",\"tip\":\"V3支付密钥\"},{\"field\":\"v3_pay_public_key\",\"label\":\"V3支付公钥\",\"type\":\"text\",\"group\":\"商户\",\"tip\":\"V3新版本使用公钥时填写\"},{\"field\":\"v3_pay_public_pem\",\"label\":\"V3支付公钥证书\",\"type\":\"upload\",\"group\":\"商户\",\"tip\":\"V3支付公钥证书内容\"},{\"field\":\"pay_weixin_client_cert\",\"label\":\"微信支付证书\",\"type\":\"upload\",\"group\":\"证书\",\"tip\":\"微信支付证书,在微信商家平台中可以下载!文件名一般为apiclient_cert.pem\"},{\"field\":\"pay_weixin_client_key\",\"label\":\"微信支付证书密钥\",\"type\":\"upload\",\"group\":\"证书\",\"tip\":\"微信支付证书密钥,在微信商家平台中可以下载!文件名一般为apiclient_key.pem\"},{\"field\":\"pay_new_weixin_open\",\"label\":\"小程序商户号选择\",\"type\":\"radio\",\"group\":\"小程序\",\"default\":\"0\",\"options\":[{\"value\":\"0\",\"label\":\"商户号绑定\"},{\"value\":\"1\",\"label\":\"非商户号绑定\"}],\"tip\":\"小程序开发后后台有支付管理的请选择非商户号绑定\",\"value\":0},{\"field\":\"pay_new_weixin_mchid\",\"label\":\"小程序支付商户号\",\"type\":\"text\",\"group\":\"小程序\",\"tip\":\"小程序开通支付管理生成的商户号\",\"show_if\":{\"field\":\"pay_new_weixin_open\",\"value\":\"1\"}},{\"field\":\"routine_appId\",\"label\":\"小程序AppID\",\"type\":\"text\",\"group\":\"小程序渠道\",\"tip\":\"微信小程序 AppID(V3 支付渠道)\"},{\"field\":\"routine_appsecret\",\"label\":\"小程序AppSecret\",\"type\":\"password\",\"group\":\"小程序渠道\",\"tip\":\"新小程序支付模式需要的微信小程序 AppSecret\"},{\"field\":\"wechat_appid\",\"label\":\"公众号AppID\",\"type\":\"text\",\"group\":\"公众号渠道\",\"tip\":\"微信公众号 AppID(V3 支付渠道)\"},{\"field\":\"wechat_app_appid\",\"label\":\"APP应用AppID\",\"type\":\"text\",\"group\":\"APP渠道\",\"tip\":\"微信开放平台移动应用 AppID(V3 支付渠道)\"},{\"field\":\"v3_transfer_scene_id\",\"label\":\"微信自动提现场景值\",\"type\":\"text\",\"group\":\"转账\",\"default\":\"1000\",\"tip\":\"默认值:1000\",\"value\":1000}]',99,1,0,1782872776,1786956494);