diff --git a/api/GoodsListV2WithOauth.php b/api/GoodsListV2WithOauth.php index d5bb9bd4aaac1b74a4b803905a0f60e459ea3dd2..498f82441811d6c15343bdbf299209423c47f35f 100644 --- a/api/GoodsListV2WithOauth.php +++ b/api/GoodsListV2WithOauth.php @@ -60,7 +60,7 @@ class GoodsListV2WithOauth extends DtkClient */ public function check() { - if (!$this->sourceType) { + if (!$this->sourceType && $this->sourceType != 0) { return ['sourceType不能为空!', false]; } return ['', true];