$rs = $this->UserModel->save([
'Token' => $result['token']
], ['uid' => $result['uid']]);
上面这个SQL更新报错 报Class '\think\cache\driver\Test' not found Cache.php line 51
下面这样更新就可以
$rs = $this->UserModel->where('uId', $result['uId'])
->update(['Token' => $result['token']]);