diff --git a/app/data/service/TruckService.php b/app/data/service/TruckService.php index 36f918ae2..5f2e6c395 100644 --- a/app/data/service/TruckService.php +++ b/app/data/service/TruckService.php @@ -7,7 +7,7 @@ use think\admin\Service; use think\admin\service\InterfaceService; /** - * 快递运输服务 + * 快递运输数据服务 * Class TruckService * @package app\data\service */ @@ -19,7 +19,7 @@ class TruckService extends Service * @param string $provName 省份名称 * @param string $cityName 城市名称 * @param integer $truckCount 邮费基数 - * @return array [邮费金额, 计费基数, 模板编号, 计算描述] + * @return array [邮费金额, 计费基数, 模板编号, 计费描述] * @throws \think\db\exception\DataNotFoundException * @throws \think\db\exception\DbException * @throws \think\db\exception\ModelNotFoundException diff --git a/app/data/service/UserService.php b/app/data/service/UserService.php index 69eb955b2..5ff816ead 100644 --- a/app/data/service/UserService.php +++ b/app/data/service/UserService.php @@ -35,7 +35,9 @@ class UserService extends Service $map = ['token|openid1|openid2|unionid' => $map]; } $user = $this->save($map, [], $force); - if (empty($user)) throw new \think\Exception('登录授权失败'); + if (empty($user)) { + throw new \think\Exception('登录授权失败'); + } // if ($member['tokenv'] !== $this->buildTokenVerify()) { // throw new \think\Exception('请重新登录授权'); // }