1 Star 0 Fork 0

鱼子/微信自定义组件

Create your Gitee Account
Explore and code with more than 13.5 million developers,Free private repositories !:)
Sign up
Clone or Download
contribute
Sync branch
Cancel
Notice: Creating folder will generate an empty file .keep, because not support in Git
Loading...
README
MIT

#微信小程序——商业能力——交易组件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); //本处输出品牌信息

img.png

使用Factory::product_* 均为标准版接口

###自定义版使用实例如下:

require 'vendor\autoload.php';
$config = require 'config\weshop.php';

$sss = \sffi\weshop\Factory::shop_account($config);
$res = $sss->reqGetBrandList();
var_dump($res);  //本处输出品牌信息

更多内容请查看源码....

Empty file

Releases

No release

Contributors (1)

All

Language(Optional)

Activities

can not load any more
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/rui_ng/wechat-custom-component.git
git@gitee.com:rui_ng/wechat-custom-component.git
rui_ng
wechat-custom-component
微信自定义组件
master

Search