12345678910111213141516171819 |
- package services
- import (
- "fmt"
- "hongze/hongze_cygx/models"
- )
- //是否展示限免标签
- func GetShowSustainable() (isShowSustainable bool) {
- total, err := models.GetShowSustainable()
- if err != nil {
- fmt.Println("GetShowSustainable Err:", err.Error())
- return
- }
- if total > 0 {
- isShowSustainable = true
- }
- return
- }
|