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.
16 lines
334 B
16 lines
334 B
package category
|
|
|
|
import (
|
|
"github.com/towgo/towgo/dao/ormDriver/xormDriver"
|
|
"github.com/towgo/towgo/towgo"
|
|
)
|
|
|
|
func init() {
|
|
xormDriver.Sync2(new(Category))
|
|
towgo.NewCRUDJsonrpcAPI("/category", Category{}, []Category{}).RegAPI()
|
|
towgo.SetFunc("/category/treeList", TreeList)
|
|
}
|
|
func TreeList(rpcConn towgo.JsonRpcConnection) {
|
|
|
|
}
|