1
This commit is contained in:
@@ -3,6 +3,7 @@ package dao
|
||||
import (
|
||||
"git.rosy.net.cn/baseapi/utils"
|
||||
"git.rosy.net.cn/jx-callback/business/model"
|
||||
"git.rosy.net.cn/jx-callback/globals"
|
||||
)
|
||||
|
||||
func GetDataResource(db *DaoDB, hashCode, fullURL string) (dataRes *model.DataResource, err error) {
|
||||
@@ -53,6 +54,7 @@ func GetVendorOrgCode(db *DaoDB, vendorID int, vendorOrgCode, vendorType string)
|
||||
}
|
||||
sql += " ORDER BY comment"
|
||||
err = GetRows(db, &vendorOrgs, sql, sqlParams)
|
||||
globals.SugarLogger.Debug("===========sql= ", sql)
|
||||
return vendorOrgs, err
|
||||
}
|
||||
|
||||
|
||||
@@ -40,6 +40,7 @@ type StoreDetail struct {
|
||||
DistrictName string `json:"districtName"`
|
||||
CityName string `json:"cityName"`
|
||||
ProvinceName string `json:"provinceName"` //省名
|
||||
ProvinceCode int `json:"provinceCode"` //省名
|
||||
JdCityCode int `json:"jdCityCode"` //京东市code
|
||||
JdCode int `json:"jdCode"` //京东区code
|
||||
JdsCode int `json:"jdsCode"` //京东商城地址代码
|
||||
@@ -115,6 +116,7 @@ func getStoreDetail(db *DaoDB, storeID, vendorID int, vendorStoreID, vendorOrgCo
|
||||
t3.value price_percentage_pack_str,
|
||||
t4.value freight_deduction_pack_str,
|
||||
province.name province_name,
|
||||
province.code province_code,
|
||||
district.name district_name,
|
||||
district.jds_code jds_code,
|
||||
district.jd_code jd_code,
|
||||
|
||||
@@ -130,6 +130,7 @@ type SkuCategory struct {
|
||||
JdCategoryID int64 `orm:"column(jd_category_id)" json:"jdCategoryID"` // 这个是指对应的京东商品类别
|
||||
EbaiCategoryID int64 `orm:"column(ebai_category_id)" json:"ebaiCategoryID"` // 这个是指对应的饿百商品类别
|
||||
MtwmCategoryID int64 `orm:"column(mtwm_category_id)" json:"mtwmCategoryID"` // 这个是指对应的美团外卖商品类别
|
||||
DdCategoryID int64 `orm:"column(dd_category_id)" json:"ddCategoryID"` // 这个是指对应的抖音外卖商品类别
|
||||
YbCategoryID int64 `orm:"column(yb_category_id)" json:"ybCategoryID"` // 这个是指对应的银豹商品类别
|
||||
JdsCategoryID int64 `orm:"column(jds_category_id)" json:"jdsCategoryID"` // 这个是指对应的京东商城类别
|
||||
GoMeiCategoryID int64 `orm:"column(go_mei_category_id)" json:"goMeiCategoryID"` // 这个是指对应的国美商城类别
|
||||
@@ -302,6 +303,7 @@ type SkuNameExt struct {
|
||||
JdsCategoryID string `json:"jdsCategoryID"`
|
||||
EbaiCategoryID string `json:"ebaiCategoryID"`
|
||||
MtwmCategoryID string `json:"mtwmCategoryID"`
|
||||
DdCategoryID string `json:"ddCategoryID"`
|
||||
}
|
||||
|
||||
type SkuExinfoMap struct {
|
||||
|
||||
Reference in New Issue
Block a user