代码拉取完成,页面将自动刷新
#微信小程序——商业能力——交易组件API ##接口支持标准版以及自定义版 本composer插件基于thinkphp框架使用
###标准版使用实例如下:
require 'vendor\autoload.php';
$config = require 'config\weshop.php'; #引用配置文件
$brand = \sffi\weshop\Factory::product_brand($config);
$res = $brand->reqGet();
var_dump($res); //本处输出品牌信息
使用Factory::product_* 均为标准版接口
###自定义版使用实例如下:
require 'vendor\autoload.php';
$config = require 'config\weshop.php';
$sss = \sffi\weshop\Factory::shop_account($config);
$res = $sss->reqGetBrandList();
var_dump($res); //本处输出品牌信息
更多内容请查看源码....
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。