广告平台(总站长使用)
25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

14 lines
348 B

  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. }