广告平台(总站长使用)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

agent_dao.go 348 B

4 months ago
12345678910111213
  1. package dao
  2. import (
  3. "applet/app/db/model"
  4. "xorm.io/xorm"
  5. )
  6. type AgentDao interface {
  7. GetAgentByUsername(username string) (medium *model.Agent, err error)
  8. AgentInsert(m *model.Agent) (int64, error)
  9. AgentDeleteBySession(session *xorm.Session, id interface{}) (int64, error)
  10. UpdateAgent(m *model.Agent, columns ...string) (int64, error)
  11. }