|
@@ -35,7 +35,7 @@ func GetShowSustainableNew() (isShowSustainable bool, err error) {
|
|
// GetIndustryUserFollowMap 获取用户关注的产业
|
|
// GetIndustryUserFollowMap 获取用户关注的产业
|
|
func GetIndustryUserFollowMap(user *models.WxUserItem) (itemMap map[int]bool, err error) {
|
|
func GetIndustryUserFollowMap(user *models.WxUserItem) (itemMap map[int]bool, err error) {
|
|
condition := ` AND user_id = ` + strconv.Itoa(user.UserId)
|
|
condition := ` AND user_id = ` + strconv.Itoa(user.UserId)
|
|
- listIndustryFllow, e := models.GetCygxIndustryFllowList(condition)
|
|
|
|
|
|
+ listIndustryFllow, e := models.GetCygxIndustryFllowListByUserId(condition)
|
|
if e != nil {
|
|
if e != nil {
|
|
err = errors.New("GetCygxIndustryFllowList " + e.Error())
|
|
err = errors.New("GetCygxIndustryFllowList " + e.Error())
|
|
return
|
|
return
|