添加js模板,页面模板,去掉数据库数据初始化,去掉sql文件中没用语句
This commit is contained in:
1 parent
ba1c7f6193
commit
8faff5384f
29 files changed
+1364
-771
No files matched your search
@@ -55,7 +55,7 @@ func GetSysUserList(c *gin.Context) {
|
||||
// @Description 获取JSON
|
||||
// @Tags 用户
|
||||
// @Param userId path int true "用户编码"
|
||||
// @Success 200 {object} models.Response "{"code": 200, "data": [...]}"
|
||||
// @Success 200 {object} app.Response "{"code": 200, "data": [...]}"
|
||||
// @Router /api/v1/sysUser/{userId} [get]
|
||||
// @Security
|
||||
func GetSysUser(c *gin.Context) {
|
||||
@@ -86,7 +86,7 @@ func GetSysUser(c *gin.Context) {
|
||||
// @Summary 获取当前登录用户
|
||||
// @Description 获取JSON
|
||||
// @Tags 个人中心
|
||||
// @Success 200 {object} models.Response "{"code": 200, "data": [...]}"
|
||||
// @Success 200 {object} app.Response "{"code": 200, "data": [...]}"
|
||||
// @Router /api/v1/user/profile [get]
|
||||
// @Security
|
||||
func GetSysUserProfile(c *gin.Context) {
|
||||
@@ -126,7 +126,7 @@ func GetSysUserProfile(c *gin.Context) {
|
||||
// @Summary 获取用户角色和职位
|
||||
// @Description 获取JSON
|
||||
// @Tags 用户
|
||||
// @Success 200 {object} models.Response "{"code": 200, "data": [...]}"
|
||||
// @Success 200 {object} app.Response "{"code": 200, "data": [...]}"
|
||||
// @Router /api/v1/sysUser [get]
|
||||
// @Security
|
||||
func GetSysUserInit(c *gin.Context) {
|
||||
|
||||
Reference in new issue
Block a user