Commit 14c3182e by Li Feifei

增加nickname

parent f012a199
Pipeline #8495 passed with stages
in 21 seconds
...@@ -88,14 +88,15 @@ type XyuSmallRoomRecord struct { ...@@ -88,14 +88,15 @@ type XyuSmallRoomRecord struct {
} }
type XyuSmallTempFiles struct { type XyuSmallTempFiles struct {
Id int Id int
RoomNum string `form:"room_num"` RoomNum string `form:"room_num"`
Name string `form:"name"` Name string `form:"name"`
Type int `form:"type"` Nickanem string `form:"nickname"`
Url string `form:"url"` Type int `form:"type"`
Time string `form:"time"'` Url string `form:"url"`
Uuid string `form:"uuid"` Time string `form:"time"'`
Status int Uuid string `form:"uuid"`
Status int
} }
type XyuRoomFiles struct { type XyuRoomFiles struct {
......
...@@ -136,7 +136,7 @@ func Down(v *models.XyuSmallTempFiles) { ...@@ -136,7 +136,7 @@ func Down(v *models.XyuSmallTempFiles) {
room_file["id"] = t.Unix() room_file["id"] = t.Unix()
room_file["is_courseware"] = "1" room_file["is_courseware"] = "1"
room_file["private"] = "1" room_file["private"] = "1"
room_file["nickname"] = "助教" room_file["nickname"] = v.Nickanem
room_file["name"] = v.Name room_file["name"] = v.Name
room_file["time"] = now room_file["time"] = now
if v.Type == 1 { if v.Type == 1 {
......
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