- alpha config added.
This commit is contained in:
@@ -186,11 +186,16 @@ type Sku struct {
|
|||||||
|
|
||||||
func (*Sku) TableUnique() [][]string {
|
func (*Sku) TableUnique() [][]string {
|
||||||
return [][]string{
|
return [][]string{
|
||||||
[]string{"NameID", "SpecQuality", "SpecUnit", "DeletedAt"},
|
|
||||||
[]string{"JdID", "DeletedAt"},
|
[]string{"JdID", "DeletedAt"},
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func (*Sku) TableIndex() [][]string {
|
||||||
|
return [][]string{
|
||||||
|
[]string{"NameID", "SpecQuality", "SpecUnit", "DeletedAt"}, // todo 先设置为索引,之后应改为唯一索引
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
type SkuNamePlaceBind struct {
|
type SkuNamePlaceBind struct {
|
||||||
ModelIDCUL
|
ModelIDCUL
|
||||||
|
|
||||||
|
|||||||
@@ -121,4 +121,5 @@ dadaSourceID = "73753"
|
|||||||
weixinAppID = "wxbf235770edaabc5c"
|
weixinAppID = "wxbf235770edaabc5c"
|
||||||
weixinSecret = "ba32b269a068a5b72486a0beafd171e8"
|
weixinSecret = "ba32b269a068a5b72486a0beafd171e8"
|
||||||
|
|
||||||
dbConnectStr = "root:WebServer@1@tcp(127.0.0.1:3306)/jxstore_alpha?charset=utf8mb4&loc=Local&parseTime=true"
|
dbConnectStr = "root:WebServer@1@tcp(127.0.0.1:3306)/jxstore_alpha?charset=utf8mb4&loc=Local&parseTime=true"
|
||||||
|
enableStoreWrite = true
|
||||||
|
|||||||
Reference in New Issue
Block a user