hreenshan112 1 year ago
parent
commit
a4344df2b9
  1. 2
      api/version1/customerApp/runAppControll.go
  2. 2
      config/configApp/server.go

2
api/version1/customerApp/runAppControll.go

@ -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)

2
config/configApp/server.go

@ -9,7 +9,7 @@ type Server struct {
WechatCompany wechatCompany `mapstructure:"wechatcompany" json:"wechatcompany" yaml:"wechatcompany"` //企业ID
WechatSchool wechatConfig `mapstructure:"wechatschool" json:"wechatschool" yaml:"wechatschool"` //知行学院
WechatKpi wechatConfig `mapstructure:"wechatkpi" json:"wechatkpi" yaml:"wechatkpi"` //绩效考核
ShuTongZhiLian wechatConfig `mapstructure:"szzlypt" json:"szzlypt" yaml:"szzlypt"` //数通智联化工云平台
ShuTongZhiLian wechatConfig `mapstructure:"szzlypt" json:"szzlypt" yaml:"szzlypt"` //绩效考核
}
//服务配置详情

Loading…
Cancel
Save