2023-06-19 18:27:31 +08:00
|
|
|
package gmodel
|
2023-07-11 17:08:19 +08:00
|
|
|
|
2023-11-21 11:45:12 +08:00
|
|
|
import "context"
|
|
|
|
|
2023-07-11 17:08:19 +08:00
|
|
|
// TODO: 使用model的属性做你想做的
|
2023-11-21 11:45:12 +08:00
|
|
|
func (t *FsToolLogsModel) FindAll(ctx context.Context) (resp []FsToolLogs, err error) {
|
2023-11-21 11:49:29 +08:00
|
|
|
err = t.db.WithContext(ctx).Model(&FsToolLogs{}).Find(&resp).Error
|
2023-11-21 11:45:12 +08:00
|
|
|
return resp, err
|
|
|
|
}
|