This commit is contained in:
aozhiwei 2024-11-13 10:43:12 +08:00
parent 3f2931ee48
commit d928411d30

View File

@ -1,5 +1,11 @@
package service
import (
"f5"
"main/model"
"main/constant"
)
type chip struct {
}
@ -10,6 +16,8 @@ func (this *chip) init() {
func (this *chip) unInit() {
}
func (this *chip) List(accountId string) (error) {
return nil
func (this *chip) List(accountId string) (error, []*model.Chip) {
chips := []*model.Chip{}
f5.GetApp().GetOrmDb(constant.WHEEL_DB).Table("").Where("").Find(chips)
return nil, []*model.Chip{}
}