作者 lackoxygen

fix:doc

... ... @@ -462,7 +462,7 @@ class Main
$targets[] = Name::methodName($code->className);
} while (!$queue->isEmpty());
$targets = array_unique($targets);
$targets = array_unique(array_filter($targets));
$metaMethods = array_map(function ($target) {
$name = ucfirst($target);
... ...
... ... @@ -31,7 +31,7 @@ use Lackoxygen\TiktokShop\Support\Verify;
* @method Request\Logistics\LogisticsInterface logistics()
* @method Request\Warehouse\WarehouseInterface warehouse()
* @method Request\Product\ProductInterface product()
* @method Request\\Interface ()
* @method Request\Material\MaterialInterface material()
* @method Request\Address\AddressInterface address()
*/
class Application
... ...
... ... @@ -32,7 +32,7 @@ use Lackoxygen\TiktokShop\Application;
* @method static Request\Logistics\LogisticsInterface logistics()
* @method static Request\Warehouse\WarehouseInterface warehouse()
* @method static Request\Product\ProductInterface product()
* @method static Request\\Interface ()
* @method static Request\Material\MaterialInterface material()
* @method static Request\Address\AddressInterface address()
*/
class Facade extends LaravelFacade
... ...
... ... @@ -669,6 +669,28 @@ class Buyin extends Request implements BuyinInterface
/**
* @inheritDoc
*/
public function buyinInstituteLivePreviewList(array $params = [])
{
$this->builder->method('POST')
->service('buyin.instituteLivePreviewList')
->path('/buyin/instituteLivePreviewList')
->params($params);
}
/**
* @inheritDoc
*/
public function buyinKolLivePreviewList(array $params = [])
{
$this->builder->method('POST')
->service('buyin.kolLivePreviewList')
->path('/buyin/kolLivePreviewList')
->params($params);
}
/**
* @inheritDoc
*/
public function buyinMHandleTrusteeshipApply(array $params = [])
{
$this->builder->method('POST')
... ...
... ... @@ -490,6 +490,22 @@ interface BuyinInterface
public function buyinKolLiveShare(array $params = []);
/**
* 获取直播预告及商品信息列表
* @link https://op.jinritemai.com/docs/api-docs/61/2224
* @param array $params
* @return ResultSet
*/
public function buyinInstituteLivePreviewList(array $params = []);
/**
* 直播预告及商品信息列表
* @link https://op.jinritemai.com/docs/api-docs/61/2223
* @param array $params
* @return ResultSet
*/
public function buyinKolLivePreviewList(array $params = []);
/**
* 团长托管商品审核
* @link https://op.jinritemai.com/docs/api-docs/61/2138
* @param array $params
... ...
... ... @@ -460,6 +460,17 @@ class Logistics extends Request implements LogisticsInterface
/**
* @inheritDoc
*/
public function logisticsResourceAbilityServiceArea(array $params = [])
{
$this->builder->method('POST')
->service('logistics.resourceAbilityServiceArea')
->path('/logistics/resourceAbilityServiceArea')
->params($params);
}
/**
* @inheritDoc
*/
public function crossBorderReceiveReceiptOfCustomsWayBill(array $params = [])
{
$this->builder->method('POST')
... ...
... ... @@ -338,6 +338,14 @@ interface LogisticsInterface
public function freightTemplateDetail(array $params = []);
/**
* 服务商能力的服务范围同步
* @link https://op.jinritemai.com/docs/api-docs/16/2147
* @param array $params
* @return ResultSet
*/
public function logisticsResourceAbilityServiceArea(array $params = []);
/**
* 快递服务商将运单申报的回执回告至平台
* @link https://op.jinritemai.com/docs/api-docs/16/2020
* @param array $params
... ...
... ... @@ -361,6 +361,39 @@ class Product extends Request implements ProductInterface
/**
* @inheritDoc
*/
public function productIsvgetClueList(array $params = [])
{
$this->builder->method('POST')
->service('product.isv/getClueList')
->path('/product/isv/getClueList')
->params($params);
}
/**
* @inheritDoc
*/
public function productIsvplead(array $params = [])
{
$this->builder->method('POST')
->service('product.isv/plead')
->path('/product/isv/plead')
->params($params);
}
/**
* @inheritDoc
*/
public function productIsvqueryClueAuditStatus(array $params = [])
{
$this->builder->method('POST')
->service('product.isv/queryClueAuditStatus')
->path('/product/isv/queryClueAuditStatus')
->params($params);
}
/**
* @inheritDoc
*/
public function productGetRecommendCategory(array $params = [])
{
$this->builder->method('POST')
... ...
... ... @@ -266,6 +266,30 @@ interface ProductInterface
public function skuEditPrice(array $params = []);
/**
* 提供给isv,根据店铺获取线索
* @link https://op.jinritemai.com/docs/api-docs/14/2195
* @param array $params
* @return ResultSet
*/
public function productIsvgetClueList(array $params = []);
/**
* 提报申诉
* @link https://op.jinritemai.com/docs/api-docs/14/2150
* @param array $params
* @return ResultSet
*/
public function productIsvplead(array $params = []);
/**
* 查询线索提报审核结果
* @link https://op.jinritemai.com/docs/api-docs/14/2148
* @param array $params
* @return ResultSet
*/
public function productIsvqueryClueAuditStatus(array $params = []);
/**
* 商品类目预测
* @link https://op.jinritemai.com/docs/api-docs/14/2004
* @param array $params
... ...
... ... @@ -60,4 +60,15 @@ class Token extends Request implements TokenInterface
->path('/open/appIpWhiteListAdd')
->params($params);
}
/**
* @inheritDoc
*/
public function openMaterialToken(array $params = [])
{
$this->builder->method('POST')
->service('open.materialToken')
->path('/open/materialToken')
->params($params);
}
}
... ...
... ... @@ -48,4 +48,12 @@ interface TokenInterface
* @return ResultSet
*/
public function openAppIpWhiteListAdd(array $params = []);
/**
* 获取素材上传接口访问token
* @link https://op.jinritemai.com/docs/api-docs/162/2222
* @param array $params
* @return ResultSet
*/
public function openMaterialToken(array $params = []);
}
... ...
... ... @@ -55,7 +55,7 @@ class Signature extends Config
public function generate()
{
$paramPattern = 'app_key' . $this->config->getAppKey(
) . 'method' . $this->method . 'param_json' . $this->paramJson .
) . 'method' . $this->method . 'param_json' . $this->paramJson .
'timestamp' . $this->timestamp . 'v' . $this->config->getVersion();
$body = $this->config->getAppSecret() . $paramPattern . $this->config->getAppSecret();
... ...