1
This commit is contained in:
parent
d928411d30
commit
3f2b75f00e
@ -18,6 +18,7 @@ func (this *chip) unInit() {
|
|||||||
|
|
||||||
func (this *chip) List(accountId string) (error, []*model.Chip) {
|
func (this *chip) List(accountId string) (error, []*model.Chip) {
|
||||||
chips := []*model.Chip{}
|
chips := []*model.Chip{}
|
||||||
f5.GetApp().GetOrmDb(constant.WHEEL_DB).Table("").Where("").Find(chips)
|
f5.GetApp().GetOrmDb(constant.WHEEL_DB).Table(new(model.Chip).TableName()).Where(
|
||||||
|
"account_id = ?", accountId).Find(chips)
|
||||||
return nil, []*model.Chip{}
|
return nil, []*model.Chip{}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user