- 准备处理平台价格字段

This commit is contained in:
gazebo
2019-08-14 14:08:41 +08:00
parent d3ed741016
commit c63c43a92b
3 changed files with 18 additions and 3 deletions

View File

@@ -120,6 +120,18 @@ func GetSyncStatusDBField(prefix string) string {
return ConvertDBFieldPrefix(prefix) + "_sync_status"
}
func GetVendorPriceStructField(prefix string) string {
return ConvertStructFieldPrefix(prefix) + "Price"
}
func GetVendorPriceJsonField(prefix string) string {
return ConvertJsonFieldPrefix(prefix) + "Price"
}
func GetVendorPriceDBField(prefix string) string {
return ConvertDBFieldPrefix(prefix) + "_price"
}
func GetCategoryIDStructField(prefix string) string {
return ConvertStructFieldPrefix(prefix) + "CategoryID"
}