zhinuotech/wxstore

微信小商店组件后台API

Installs: 2

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

Type:think-extend

dev-main 2023-06-09 14:53 UTC

This package is auto-updated.

Last update: 2024-05-09 17:08:31 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); //本处输出品牌信息

img.png

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

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

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

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

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