提交修改,后台管理页面bug修复,已经发布后台管理界面V1.0版本
This commit is contained in:
@@ -266,6 +266,15 @@ namespace WxCheckMvc.Controllers
|
||||
await insertCmd.ExecuteNonQueryAsync();
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
// 用户已存在:更新最后一次接口调用时间
|
||||
using (MySqlCommand updateCmd = new MySqlCommand("UPDATE xcx_users SET UpdateTime = NOW() WHERE UserKey = @UserKey", _connection))
|
||||
{
|
||||
updateCmd.Parameters.AddWithValue("@UserKey", openId);
|
||||
await updateCmd.ExecuteNonQueryAsync();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// 获取用户信息
|
||||
|
||||
Reference in New Issue
Block a user