Commit 14c3182e by Li Feifei

增加nickname

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