Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
ppt_server
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Li Feifei
ppt_server
Commits
14c3182e
Commit
14c3182e
authored
Feb 27, 2020
by
Li Feifei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
增加nickname
parent
f012a199
Pipeline
#8495
passed with stages
in 21 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
9 deletions
+10
-9
database.go
models/database.go
+9
-8
upload.go
upload/upload.go
+1
-1
No files found.
models/database.go
View file @
14c3182e
...
...
@@ -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
{
...
...
upload/upload.go
View file @
14c3182e
...
...
@@ -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
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment