Commit 99fc708f authored by szh's avatar szh

up

parent 7167052e
...@@ -248,7 +248,7 @@ func (courseUsersApi *CourseUsersApi) FindCourseUsersMM(c *gin.Context) { ...@@ -248,7 +248,7 @@ func (courseUsersApi *CourseUsersApi) FindCourseUsersMM(c *gin.Context) {
// @Produce application/json // @Produce application/json
// @Param data body course.CourseUsers true "创建CourseUsers" // @Param data body course.CourseUsers true "创建CourseUsers"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"获取成功"}" // @Success 200 {string} string "{"success":true,"data":{},"msg":"获取成功"}"
// @Router /courseUsers/createCourseUsers [post] // @Router /courseUsers/login [post]
func (courseUsersApi *CourseUsersApi) MetaMaskLogin(c *gin.Context) { func (courseUsersApi *CourseUsersApi) MetaMaskLogin(c *gin.Context) {
var loginUser twiReq.TwiUserLogin var loginUser twiReq.TwiUserLogin
err := c.ShouldBindJSON(&loginUser) err := c.ShouldBindJSON(&loginUser)
......
...@@ -4502,6 +4502,44 @@ var doc = `{ ...@@ -4502,6 +4502,44 @@ var doc = `{
} }
} }
}, },
"/courseUsers/login": {
"post": {
"security": [
{
"ApiKeyAuth": []
}
],
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"CourseUsers"
],
"summary": "创建CourseUsers",
"parameters": [
{
"description": "创建CourseUsers",
"name": "data",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/course.CourseUsers"
}
}
],
"responses": {
"200": {
"description": "{\"success\":true,\"data\":{},\"msg\":\"获取成功\"}",
"schema": {
"type": "string"
}
}
}
}
},
"/courseUsers/updateCourseUsers": { "/courseUsers/updateCourseUsers": {
"put": { "put": {
"security": [ "security": [
......
...@@ -4486,6 +4486,44 @@ ...@@ -4486,6 +4486,44 @@
} }
} }
}, },
"/courseUsers/login": {
"post": {
"security": [
{
"ApiKeyAuth": []
}
],
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"CourseUsers"
],
"summary": "创建CourseUsers",
"parameters": [
{
"description": "创建CourseUsers",
"name": "data",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/course.CourseUsers"
}
}
],
"responses": {
"200": {
"description": "{\"success\":true,\"data\":{},\"msg\":\"获取成功\"}",
"schema": {
"type": "string"
}
}
}
}
},
"/courseUsers/updateCourseUsers": { "/courseUsers/updateCourseUsers": {
"put": { "put": {
"security": [ "security": [
......
...@@ -5165,6 +5165,29 @@ paths: ...@@ -5165,6 +5165,29 @@ paths:
summary: 分页获取CourseUsers列表 summary: 分页获取CourseUsers列表
tags: tags:
- CourseUsers - CourseUsers
/courseUsers/login:
post:
consumes:
- application/json
parameters:
- description: 创建CourseUsers
in: body
name: data
required: true
schema:
$ref: '#/definitions/course.CourseUsers'
produces:
- application/json
responses:
"200":
description: '{"success":true,"data":{},"msg":"获取成功"}'
schema:
type: string
security:
- ApiKeyAuth: []
summary: 创建CourseUsers
tags:
- CourseUsers
/courseUsers/updateCourseUsers: /courseUsers/updateCourseUsers:
put: put:
consumes: consumes:
......
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