Commit 14c3182e by Li Feifei

增加nickname

parent f012a199
Pipeline #8495 passed with stages
in 21 seconds
...@@ -91,6 +91,7 @@ type XyuSmallTempFiles struct { ...@@ -91,6 +91,7 @@ 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"`
Nickanem string `form:"nickname"`
Type int `form:"type"` Type int `form:"type"`
Url string `form:"url"` Url string `form:"url"`
Time string `form:"time"'` Time string `form:"time"'`
......
...@@ -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