|
|
@@ -1,6 +1,9 @@ |
|
|
|
package dao |
|
|
|
|
|
|
|
import "code.fnuoos.com/EggPlanet/egg_models.git/src/model" |
|
|
|
import ( |
|
|
|
"code.fnuoos.com/EggPlanet/egg_models.git/src/model" |
|
|
|
"xorm.io/xorm" |
|
|
|
) |
|
|
|
|
|
|
|
type UserLevelDao interface { |
|
|
|
//UserLevelInIDescByWeightLowWithOne 查询获取 权重最低 对应等级 |
|
|
@@ -12,4 +15,5 @@ type UserLevelDao interface { |
|
|
|
// UserLevelAllByAscByPage 获取所有开启等级升序分页返回 |
|
|
|
UserLevelAllByAscByPage(page, limit int) ([]*model.UserLevel, int64, error) |
|
|
|
UserLevelUpdate(id interface{}, level *model.UserLevel, forceColumns ...string) (int64, error) |
|
|
|
UserLevelDeleteBySession(session *xorm.Session, id interface{}) (int64, error) |
|
|
|
} |