|
|
|
@ -458,7 +458,7 @@ func (a *ApiMethod) GetAppList(c *gin.Context) { |
|
|
|
return |
|
|
|
} |
|
|
|
var list []SendAppInfo |
|
|
|
overall.CONSTANT_DB_AppPlatform.Where("`classify` = 3 AND `groupid` = ?", requestData.Id).Limit(10).Order("`creater_time` DESC").Find(&list) |
|
|
|
overall.CONSTANT_DB_AppPlatform.Where("`classify` = 3 AND `states` = 1 AND `groupid` = ?", requestData.Id).Limit(10).Order("`creater_time` DESC").Find(&list) |
|
|
|
for i, v := range list { |
|
|
|
list[i].SignCodeStr = strconv.FormatInt(v.SignCode, 10) |
|
|
|
list[i].GroupIdStr = strconv.FormatInt(v.Groupid, 10) |
|
|
|
|