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
+30
View File
@@ -0,0 +1,30 @@
package service
import (
"context"
"git.5iot.com/iotlcm-public/iotlcm-openapi/internal/library/xgorm/handler"
"github.com/gogf/gf/v2/database/gdb"
)
type (
IIotTSimCardInfo interface {
Model(ctx context.Context, option ...*handler.Option) *gdb.Model
}
)
var (
localIotTSimCardInfo IIotTSimCardInfo
)
func IotTSimCardInfo() IIotTSimCardInfo {
if localIotTSimCardInfo == nil {
panic("implement not found for interface IIotTSimCardInfo, forgot register?")
}
return localIotTSimCardInfo
}
func RegisterIotTSimCardInfo(i IIotTSimCardInfo) {
localIotTSimCardInfo = i
}