用户关联查询 jwt鉴权调整 api删除调整 authorityId默认类型调整

This commit is contained in:
pixel
2019-10-09 17:32:14 +08:00
parent 756353bd68
commit ddf879793a
9 changed files with 51 additions and 50 deletions

View File

@@ -159,8 +159,8 @@ func UploadHeaderImg(c *gin.Context) {
// @Produce application/json
// @Param data body modelInterface.PageInfo true "分页获取用户列表"
// @Success 200 {string} json "{"success":true,"data":{},"msg":"获取成功"}"
// @Router /user/getInfoList [post]
func GetInfoList(c *gin.Context) {
// @Router /user/getUserList [post]
func GetUserList(c *gin.Context) {
var pageInfo modelInterface.PageInfo
_ = c.BindJSON(&pageInfo)
err, list, total := new(dbModel.User).GetInfoList(pageInfo)