完善数据上报,每日支付任务认证
This commit is contained in:
27
internal/model/nh_system_config_model.go
Executable file
27
internal/model/nh_system_config_model.go
Executable file
@@ -0,0 +1,27 @@
|
||||
package model
|
||||
|
||||
import (
|
||||
"github.com/zeromicro/go-zero/core/stores/cache"
|
||||
"github.com/zeromicro/go-zero/core/stores/sqlx"
|
||||
)
|
||||
|
||||
var _ NhSystemConfigModel = (*customNhSystemConfigModel)(nil)
|
||||
|
||||
type (
|
||||
// NhSystemConfigModel is an interface to be customized, add more methods here,
|
||||
// and implement the added methods in customNhSystemConfigModel.
|
||||
NhSystemConfigModel interface {
|
||||
nhSystemConfigModel
|
||||
}
|
||||
|
||||
customNhSystemConfigModel struct {
|
||||
*defaultNhSystemConfigModel
|
||||
}
|
||||
)
|
||||
|
||||
// NewNhSystemConfigModel returns a model for the database table.
|
||||
func NewNhSystemConfigModel(conn sqlx.SqlConn, c cache.CacheConf, opts ...cache.Option) NhSystemConfigModel {
|
||||
return &customNhSystemConfigModel{
|
||||
defaultNhSystemConfigModel: newNhSystemConfigModel(conn, c, opts...),
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user