chore: 并入 iotlcm-openapi 历史到 openapi/(原提交 3b05d5a)

This commit is contained in:
MiFaZhan
2026-11-02 13:28:02 +08:00
484 changed files with 34732 additions and 0 deletions
@@ -0,0 +1,27 @@
package openapiiot
import (
"context"
"git.5iot.com/iotlcm-public/iotlcm-openapi/internal/dao"
"git.5iot.com/iotlcm-public/iotlcm-openapi/internal/library/xgorm/handler"
"git.5iot.com/iotlcm-public/iotlcm-openapi/internal/service"
"github.com/gogf/gf/v2/database/gdb"
)
type sSimCardInfo struct{}
func init() {
service.RegisterIotTSimCardInfo(&sSimCardInfo{})
}
func (s *sSimCardInfo) Model(ctx context.Context, option ...*handler.Option) *gdb.Model {
if len(option) == 0 {
option = append(option, &handler.Option{
FilterAuth: true,
FilterTenant: true,
})
}
return handler.Model(dao.TSimCardInfo.Ctx(ctx), option...)
}