获取插件配置信息
URL地址 | http://www.tpshop.com/index.php?m=Api&c=Index&a=getPluginConfig |
请求方式 | post |
{ "status": 1, "msg": "获取成功", "result": { "payment": [ { "code": "alipay", "name": "支付宝支付", "version": "1.0", "author": "jy_pwn", "config": [ { "name": "alipay_account", "label": "支付宝帐户", "type": "text", "value": "" }, { "name": "alipay_key", "label": "交易安全校验码", "type": "text", "value": "" }, { "name": "alipay_partner", "label": "合作者身份ID", "type": "text", "value": "" }, { "name": "alipay_private_key", "label": "秘钥", "type": "textarea", "value": "" }, { "name": "alipay_pay_method", "label": " 选择接口类型", "type": "select", "option": [ "使用担保交易接口", "使用即时到帐交易接口" ] }, { "name": "is_bank", "label": "是否开通网银", "type": "select", "option": [ "否", "是" ] } ], "config_value": { "alipay_account": "673964249@qq.com", "alipay_key": "4obwgvuc6cr8l1n248ax2plx0s2abd9p", "alipay_partner": "2088021715417505", "alipay_private_key": "11111111111111111111111222222222222222222222333333333333333333", "alipay_pay_method": "1", "is_bank": "1" }, "desc": "支付宝插件 ", "status": "1", "type": "payment", "icon": "logo.jpg", "bank_code": "a:8:{s:12:\"招商银行\";s:9:\"CMB-DEBIT\";s:18:\"中国工商银行\";s:10:\"ICBC-DEBIT\";s:12:\"交通银行\";s:10:\"COMM-DEBIT\";s:18:\"中国建设银行\";s:9:\"CCB-DEBIT\";s:18:\"中国民生银行\";s:4:\"CMBC\";s:12:\"中国银行\";s:9:\"BOC-DEBIT\";s:18:\"中国农业银行\";s:3:\"ABC\";s:12:\"上海银行\";s:6:\"SHBANK\";}" }, { "code": "weixin", "name": "微信支付", "version": "1.0", "author": "IT宇宙人", "config": [ { "name": "appid", "label": "绑定支付的APPID", "type": "text", "value": "" }, { "name": "mchid", "label": "商户号", "type": "text", "value": "" }, { "name": "key", "label": "商户支付密钥", "type": "text", "value": "" }, { "name": "appsecret", "label": "公众帐号secert(仅JSAPI支付的时候需要配置)", "type": "text", "value": "" } ], "config_value": { "appid": "wx3ce6257936a3fa1d", "mchid": "1292702501", "key": "qqqqqqqqqqqqqqqqaaaaaaaaaaaaaaaa", "appsecret": "033f84f2afb40291418b4f8052e37aa0" }, "desc": "微信支付插件 ", "status": "1", "type": "payment", "icon": "logo.jpg", "bank_code": "N;" }, { "code": "cod", "name": "到货付款", "version": "1.0", "author": "IT宇宙人", "config": null, "config_value": false, "desc": "货到付款插件 ", "status": "1", "type": "payment", "icon": "logo.jpg", "bank_code": "N;" } ], "login": [ { "code": "alipay", "name": "支付宝快捷登陆", "version": "1.0", "author": "彭老师", "config": [ { "name": "alipay_partner", "label": "合作者身份ID", "type": "text", "value": "" }, { "name": "alipay_key", "label": "安全检验码", "type": "text", "value": "" } ], "config_value": false, "desc": "支付宝快捷登陆插件 ", "status": "1", "type": "login", "icon": "logo.jpg", "bank_code": "N;" }, { "code": "weixin", "name": "微信登陆", "version": "1.0", "author": "彭老师", "config": [ { "name": "appid", "label": "开放平台appid", "type": "text", "value": "" }, { "name": "secret", "label": "开放平台secret", "type": "text", "value": "" } ], "config_value": { "appid": "wxf8c8263caafae834", "secret": "a3eda9a23723cfb38168cdfbfcb58f36" }, "desc": "微信登陆插件 ", "status": "1", "type": "login", "icon": "logo.jpg", "bank_code": "N;" }, { "code": "qq", "name": "QQ登陆", "version": "1.0", "author": "彭老师", "config": [ { "name": "app_id", "label": "app_id", "type": "text", "value": "" }, { "name": "app_secret", "label": "app_secret", "type": "text", "value": "" } ], "config_value": false, "desc": "QQ登陆插件 ", "status": "1", "type": "login", "icon": "logo.jpg", "bank_code": "N;" } ] } }