@@ -311,6 +311,7 @@ namespace GxPress.Repository.Implement
//用户不存在,自动注册
if (user == null)
{
+ user=new User();
user.Name = request.Phone;
user.Phone = request.Phone;
user.Id = await InsertAsync(user);