From 1be984c228884ce454b3d7fc49ec175a836323d3 Mon Sep 17 00:00:00 2001 From: heyuntao <heyuntao@LAPTOP-MP4HD5NS> Date: 星期一, 17 七月 2023 10:49:52 +0800 Subject: [PATCH] no message --- application/api/logic/taoke/device/Pdd.php | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/application/api/logic/taoke/device/Pdd.php b/application/api/logic/taoke/device/Pdd.php index 2db5a56..096bcbe 100644 --- a/application/api/logic/taoke/device/Pdd.php +++ b/application/api/logic/taoke/device/Pdd.php @@ -335,7 +335,7 @@ $params = [ 'keyword' => $keyword, 'opt_id' => $opt_id, - 'limit' => $pageSize, + 'page_size' => $pageSize, 'custom_parameters' => '{"uid":"'.$common_relation_id.'"}', 'with_coupon' => empty($with_coupon) ? '' : ($with_coupon == 1 ? "true" : "false"), 'page' => $page, @@ -350,7 +350,7 @@ } $send_data = $this->makeSign($params,self::request_url['search_goods_url']); $result = send_get(self::base_url,$send_data); - if(empty($result) || isset($result['error_response'])) fault('鏁版嵁鑾峰彇澶辫触'); + if(empty($result) || isset($result['error_response'])) return []; //fault('鏁版嵁鑾峰彇澶辫触'); $list = $result['goods_search_response']['goods_list']; if(!empty($list)){ $tmp = []; -- Gitblit v1.9.3