mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-04-06 03:58:04 +08:00
修改文件描述
This commit is contained in:
parent
727c770ecc
commit
7c43421241
@ -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
|
||||
|
@ -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('请重新登录授权');
|
||||
// }
|
||||
|
Loading…
x
Reference in New Issue
Block a user