diff --git a/app/data/service/OrderService.php b/app/data/service/OrderService.php index 39aeb893e..8bfd8b6a4 100644 --- a/app/data/service/OrderService.php +++ b/app/data/service/OrderService.php @@ -81,6 +81,7 @@ class OrderService extends Service * 刷新用户入会礼包 * @param integer $uuid 用户UID * @return integer + * @throws \think\db\exception\DbException */ private static function vipEntry(int $uuid): int { diff --git a/app/data/service/RebateService.php b/app/data/service/RebateService.php index c3361204d..963959c3b 100644 --- a/app/data/service/RebateService.php +++ b/app/data/service/RebateService.php @@ -427,6 +427,7 @@ class RebateService extends Service * @param string $prize 奖励规则 * @param integer $level 用户等级 * @return boolean + * @throws \think\db\exception\DbException */ private function checkPrizeStatus(string $prize, int $level): bool { diff --git a/app/data/service/UserAdminService.php b/app/data/service/UserAdminService.php index c5869a331..fc0b92f07 100644 --- a/app/data/service/UserAdminService.php +++ b/app/data/service/UserAdminService.php @@ -99,6 +99,7 @@ class UserAdminService extends Service * 获取用户数据统计 * @param int $uuid 用户UID * @return array + * @throws \think\db\exception\DbException */ public static function total(int $uuid): array {