1
This commit is contained in:
parent
3f2931ee48
commit
d928411d30
@ -1,5 +1,11 @@
|
|||||||
package service
|
package service
|
||||||
|
|
||||||
|
import (
|
||||||
|
"f5"
|
||||||
|
"main/model"
|
||||||
|
"main/constant"
|
||||||
|
)
|
||||||
|
|
||||||
type chip struct {
|
type chip struct {
|
||||||
|
|
||||||
}
|
}
|
||||||
@ -10,6 +16,8 @@ func (this *chip) init() {
|
|||||||
func (this *chip) unInit() {
|
func (this *chip) unInit() {
|
||||||
}
|
}
|
||||||
|
|
||||||
func (this *chip) List(accountId string) (error) {
|
func (this *chip) List(accountId string) (error, []*model.Chip) {
|
||||||
return nil
|
chips := []*model.Chip{}
|
||||||
|
f5.GetApp().GetOrmDb(constant.WHEEL_DB).Table("").Where("").Find(chips)
|
||||||
|
return nil, []*model.Chip{}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user