|
@@ -1042,12 +1042,29 @@ func (this *UserLoginController) BaseInfo() {
|
|
|
return
|
|
|
}
|
|
|
|
|
|
+ logoCnMini, e := models.GetBusinessConfByKey("LogoCNMini")
|
|
|
+ if e != nil {
|
|
|
+ br.Msg = "获取失败"
|
|
|
+ br.ErrMsg = "获取商家配置失败, Err: " + e.Error()
|
|
|
+ return
|
|
|
+ }
|
|
|
+
|
|
|
+ logoEnMini, e := models.GetBusinessConfByKey("LogoENMini")
|
|
|
+ if e != nil {
|
|
|
+ br.Msg = "获取失败"
|
|
|
+ br.ErrMsg = "获取商家配置失败, Err: " + e.Error()
|
|
|
+ return
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
type BaseInfoResp struct {
|
|
|
Icp *models.BusinessConf `description:"Icp信息"`
|
|
|
ETATitle *models.BusinessConf `description:"eta系统名称"`
|
|
|
TabName *models.BusinessConf `description:"tab页名称"`
|
|
|
LogoCn *models.BusinessConf `description:"中文logo"`
|
|
|
LogoEn *models.BusinessConf `description:"英文logo"`
|
|
|
+ LogoCnMini *models.BusinessConf `description:"中文logoMini"`
|
|
|
+ LogoEnMini *models.BusinessConf `description:"英文logoMini"`
|
|
|
}
|
|
|
|
|
|
resp := BaseInfoResp{
|
|
@@ -1056,6 +1073,8 @@ func (this *UserLoginController) BaseInfo() {
|
|
|
TabName: tabName,
|
|
|
LogoCn: logoCn,
|
|
|
LogoEn: logoEn,
|
|
|
+ LogoCnMini: logoCnMini,
|
|
|
+ LogoEnMini: logoEnMini,
|
|
|
}
|
|
|
|
|
|
br.Data = resp
|