|
|
@@ -130,7 +130,7 @@ func ListModels(c *gin.Context) {
|
|
|
}
|
|
|
} else {
|
|
|
userId := c.GetInt("id")
|
|
|
- userGroup, err := model.GetUserGroup(userId, true)
|
|
|
+ userGroup, err := model.GetUserGroup(userId, false)
|
|
|
if err != nil {
|
|
|
c.JSON(http.StatusOK, gin.H{
|
|
|
"success": false,
|