1234567891011121314151617 |
- package activity
- import (
- "zhiyuan/models"
- )
- var Activity models.Activity
- const cacheKey = "shop"
- func GetList(where map[string]interface{}, fields []string, retVal interface{}) ([]*models.Activity, error) {
- return Activity.GetMulti(where, fields, retVal)
- }
- func GetOne(where map[string]interface{}, fields []string, dest interface{}) (*models.Activity, error) {
- return Activity.GetOne(where, fields, dest)
- }
|