- alpha config added.

This commit is contained in:
gazebo
2018-09-17 12:27:21 +08:00
parent d7b4df6e97
commit b5b699217a
2 changed files with 8 additions and 2 deletions

View File

@@ -186,11 +186,16 @@ type Sku struct {
func (*Sku) TableUnique() [][]string {
return [][]string{
[]string{"NameID", "SpecQuality", "SpecUnit", "DeletedAt"},
[]string{"JdID", "DeletedAt"},
}
}
func (*Sku) TableIndex() [][]string {
return [][]string{
[]string{"NameID", "SpecQuality", "SpecUnit", "DeletedAt"}, // todo 先设置为索引,之后应改为唯一索引
}
}
type SkuNamePlaceBind struct {
ModelIDCUL

View File

@@ -121,4 +121,5 @@ dadaSourceID = "73753"
weixinAppID = "wxbf235770edaabc5c"
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