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.
26 lines
365 B
26 lines
365 B
package usercenter
|
|
|
|
import (
|
|
"github.com/towgo/towgo/dao/ormDriver/xormDriver"
|
|
)
|
|
|
|
var _methodHead string
|
|
var _tableHead string
|
|
|
|
func SetMethodHead(methodHead string) {
|
|
_methodHead = methodHead
|
|
}
|
|
|
|
func SetTableHead(tableHead string) {
|
|
_tableHead = tableHead
|
|
}
|
|
|
|
func initLoader() {
|
|
|
|
//token任务
|
|
InitTokenTask()
|
|
|
|
xormDriver.Sync2(new(User), new(UserToken))
|
|
|
|
}
|