Commit 7d1a4915 by Li Feifei

优化代码

parent 64be3324
Pipeline #15683 passed with stages
in 31 seconds
......@@ -30,9 +30,7 @@ func (f *fileService) Upload(r *model.FileUploadRequest) {
// 检查房间是否存在
var room model.XyuRoom
if err = dao.XyuRoom.Where(dao.XyuRoom.Columns.RoomNum, r.RoomNum).Scan(&room); err != nil {
g.Log().Async().Error(err)
}
err = dao.XyuRoom.Where(dao.XyuRoom.Columns.RoomNum, r.RoomNum).Scan(&room)
// 上传操作
go parserURLObject.Worker(err)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment