diff --git a/src/SDK/EellyOldCode/Api/GoodsAgent.php b/src/SDK/EellyOldCode/Api/GoodsAgent.php index c193452aab45bd00a9efd9db272cd2ed068cfbee..ac77b856dd2ff77645b2f1677062d2759d34c712 100644 --- a/src/SDK/EellyOldCode/Api/GoodsAgent.php +++ b/src/SDK/EellyOldCode/Api/GoodsAgent.php @@ -75,6 +75,29 @@ class GoodsAgent return EellyClient::requestJson('eellyOldCode/goodsAgent', __FUNCTION__, []); } + /** + * 获取直播带货tab + * + * ### 返回参数说明 + * + * 参数名 |类型 | 说明 + * -----|------------------|--------- + * cateId | int | 分类ID + * text | string | 分类名 + * + * @returnExample([{"cateId": "289","text": "女装"},{"cateId": "292","text": "男装"},{"cateId": "293","text": "童装"},{"cateId": "343","text": "箱包"},{"cateId": "344","text": "内衣"},{"cateId": "293059","text": "美妆"}]) + * + * @param UidDTO|null $user + * @return array + * + * @author twb<1174865138@qq.com> + * @since 2021-05-17T17:20:05+0800 + */ + public function getGoodsAgentTabRandom(UidDTO $user = null): array + { + return EellyClient::requestJson('eellyOldCode/goodsAgent', __FUNCTION__, []); + } + /** * 获取直播带货商品列表 @@ -104,7 +127,7 @@ class GoodsAgent * @param string $order 排序; "price": 按价格; "sale": 按销量; "time": 时间; "stock":库存 * @param int $sort 顺序; 0:正序, 1:反序 * @param int $page 页数 - * @param int $uId uid,默认自动获取 + * @param int $userId userId,默认自动获取 * @return array[] * @throws \Throwable * @@ -112,7 +135,7 @@ class GoodsAgent * @since 2020.12.17 * @IosResponse */ - public function searchGoodsAgentListRandom(int $cateId = -1, int $liveId = 0, string $keyword = '', string $order = '', int $sort = 0, int $page = 1, int $uId = 0): array + public function searchGoodsAgentListRandom(int $cateId = -1, int $liveId = 0, string $keyword = '', string $order = '', int $sort = 0, int $page = 1, int $userId = 0): array { return EellyClient::requestJson('eellyOldCode/goodsAgent', __FUNCTION__, [ 'cateId' => $cateId, @@ -121,7 +144,7 @@ class GoodsAgent 'order' => $order, 'sort' => $sort, 'page' => $page, - 'uId' => $uId, + 'userId' => $userId, ]); } } diff --git a/src/SDK/LiveTrain/Api/SignUp.php b/src/SDK/LiveTrain/Api/SignUp.php index 9976115c893aa36a6d258f22827e977623483ac6..8fb26e6f28111a66643056387550f070a6bcf2dd 100644 --- a/src/SDK/LiveTrain/Api/SignUp.php +++ b/src/SDK/LiveTrain/Api/SignUp.php @@ -60,7 +60,7 @@ class SignUp /** - * 后台金融需求登记管理列表 跟进 + * 后台直播报名信息列表 跟进 * * @param array $suIds id数组 * @param string $userId 操作管理员id