zhinuotech / wxstore
微信小商店组件后台API
dev-main
2023-06-09 14:53 UTC
Requires
- php: >=7.2
- ext-ctype: *
- ext-json: *
- overtrue/wechat: ~5.0
This package is auto-updated.
Last update: 2024-09-09 17:48:25 UTC
README
##微信小程序——商业能力——交易组件API ## 接口支持标准版以及自定义版 本composer插件基于thinkphp框架使用
### 标准版使用实例如下:
require 'vendor\autoload.php'; $config = require 'config\weshop.php'; #引用配置文件 $brand = \zntech\weshop\Factory::product_brand($config); $res = $brand->reqGet(); var_dump($res); //本处输出品牌信息
使用Factory::product_* 均为标准版接口
### 自定义版使用实例如下:
require 'vendor\autoload.php'; $config = require 'config\weshop.php'; $sss = \zntech\weshop\Factory::shop_account($config); $res = $sss->reqGetBrandList(); var_dump($res); //本处输出品牌信息
更多内容请查看源码....