Commit 34a104ed by huangchengyi

1.0

parent 0e8e50ed
......@@ -14,7 +14,7 @@ func GetMouserData(c *gin.Context) {
//调外链拿数据
apiData := ly.OutLinkMouser(&goodsName,"1")
//供应商详情
supplierInfo := model.SUPPLIER_REDIS_INFO_{
supplierInfo := model.SUPPLIER_REDIS_INFO{
SupplierId:14,
SupplierNickname: "mouser",
}
......
......@@ -60,7 +60,7 @@ Array
)
)
*/
type SUPPLIER_REDIS_INFO_ struct {
type SUPPLIER_REDIS_INFO struct {
SupplierId int64 `json:"supplier_id"` //供应商id
SupplierNickname string `json:"supplier_nickname"` //供应商名称
AdText string `json:"ad_text"` //供应商描述
......
......@@ -58,7 +58,7 @@ func (t *CommonLyService) LyServerRun(){
@param goods_list 请求联营格式化后的数据
@param supplier_info 供应商商品详情
*/
func (t *CommonLyService) GetSkuByGoodsSn(goodsList map[string]*model.LyClearGoodsList,supplierInfo *model.SUPPLIER_REDIS_INFO_) bool {
func (t *CommonLyService) GetSkuByGoodsSn(goodsList map[string]*model.LyClearGoodsList,supplierInfo *model.SUPPLIER_REDIS_INFO) bool {
t.LyServerRun(); //初始化变量
redisWrite := gredis.Conn("search_w")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment