diff --git a/api/GoodsListV2WithOauth.php b/api/GoodsListV2WithOauth.php new file mode 100644 index 0000000000000000000000000000000000000000..d5bb9bd4aaac1b74a4b803905a0f60e459ea3dd2 --- /dev/null +++ b/api/GoodsListV2WithOauth.php @@ -0,0 +1,68 @@ +sourceType) { + return ['sourceType不能为空!', false]; + } + return ['', true]; + } +} diff --git a/api/MtDataPromoteAbnormal.php b/api/MtDataPromoteAbnormal.php new file mode 100644 index 0000000000000000000000000000000000000000..c425834fe435bccdcbcc76365db70248ddc0454e --- /dev/null +++ b/api/MtDataPromoteAbnormal.php @@ -0,0 +1,53 @@ +mtAppKey) { + return ['mtAppKey不能为空!', false]; + } + if (!$this->utmSource) { + return ['utmSource不能为空!', false]; + } + return ['', true]; + } +} diff --git a/api/MtDataPromoteOrder.php b/api/MtDataPromoteOrder.php new file mode 100644 index 0000000000000000000000000000000000000000..98fd1323206f1daa76a69b47ff6b7673f319c7ed --- /dev/null +++ b/api/MtDataPromoteOrder.php @@ -0,0 +1,64 @@ +orderType) { + return ['orderType不能为空!', false]; + } + return ['', true]; + } +} diff --git a/api/MtPromotionLink.php b/api/MtPromotionLink.php new file mode 100644 index 0000000000000000000000000000000000000000..fcd8c4580b0700ea103236c554bf8767f9e5001c --- /dev/null +++ b/api/MtPromotionLink.php @@ -0,0 +1,69 @@ +mtAppKey) { + return ['mtAppKey不能为空!', false]; + } + if (!$this->utmSource) { + return ['utmSource不能为空!', false]; + } + if (!$this->utmMedium) { + return ['utmMedium不能为空!', false]; + } + if (!$this->activity) { + return ['activity不能为空!', false]; + } + if (!$this->pageLevel) { + return ['pageLevel不能为空!', false]; + } + if (!$this->promotionId) { + return ['promotionId不能为空!', false]; + } + return ['', true]; + } +} diff --git a/api/VipGoodsDetail.php b/api/VipGoodsDetail.php new file mode 100644 index 0000000000000000000000000000000000000000..729c2aa45794cc8bba3851fbe736a4b6be7d2a2f --- /dev/null +++ b/api/VipGoodsDetail.php @@ -0,0 +1,45 @@ +goodsIdList) { + return ['goodsIdList不能为空!', false]; + } + return ['', true]; + } +} diff --git a/api/VipOrderList.php b/api/VipOrderList.php new file mode 100644 index 0000000000000000000000000000000000000000..7c8017d5f7dd5ba4b39a3977987f05503f5dd01d --- /dev/null +++ b/api/VipOrderList.php @@ -0,0 +1,55 @@ +page) { + return ['page不能为空!', false]; + } + return ['', true]; + } +} diff --git a/api/VipPromoteLink.php b/api/VipPromoteLink.php new file mode 100644 index 0000000000000000000000000000000000000000..6e8f91df4bdc199810c0057c7567a0f7022989ea --- /dev/null +++ b/api/VipPromoteLink.php @@ -0,0 +1,47 @@ +urlList) { + return ['urlList不能为空!', false]; + } + return ['', true]; + } +} diff --git a/api/VipRefundOrderList.php b/api/VipRefundOrderList.php new file mode 100644 index 0000000000000000000000000000000000000000..3140d3242f87d45b9676c4b6b082d1ede72eeba1 --- /dev/null +++ b/api/VipRefundOrderList.php @@ -0,0 +1,54 @@ +searchType) { + return ['searchType不能为空!', false]; + } + if (!$this->page) { + return ['page不能为空!', false]; + } + return ['', true]; + } +} diff --git a/api/VipSearchByKeywords.php b/api/VipSearchByKeywords.php new file mode 100644 index 0000000000000000000000000000000000000000..42dca1544451b4b8917f5181c39207a0cbc1a050 --- /dev/null +++ b/api/VipSearchByKeywords.php @@ -0,0 +1,69 @@ +keyword) { + return ['keyword不能为空!', false]; + } + if (!$this->page) { + return ['page不能为空!', false]; + } + return ['', true]; + } +} diff --git a/api/VipUserRecommend.php b/api/VipUserRecommend.php new file mode 100644 index 0000000000000000000000000000000000000000..527087e41b1860f9ac868e3dab5e6900924da5ed --- /dev/null +++ b/api/VipUserRecommend.php @@ -0,0 +1,51 @@ +page) { + return ['page不能为空!', false]; + } + return ['', true]; + } +}