Commit 48a132a4 by wang

删除无用的

parent c9fcb4a4
...@@ -11,8 +11,6 @@ cmd.exe~ ...@@ -11,8 +11,6 @@ cmd.exe~
/conf/prod/*.ini /conf/prod/*.ini
/go.mod /go.mod
/conf /conf
/logs
/mylogs
/doc/test
### 日志 ### 日志
### 同步日志
#### 调用方法 #### 同步调用方法(不需要额外配置)
不需要额外配置
```json ```json
import ("go_sku_server/pkg/logger") import ("go_sku_server/pkg/logger")
......
package main
import "fmt"
func main() {
funtest3(funtest)
}
func funtest3( a func(s string)) {
a("123123")
}
func funtest(s string) {
fmt.Print(s)
}
package main
import (
"encoding/json"
"fmt"
"github.com/gogf/gf/util/gconv"
"reflect"
)
type Struct1 struct {
A string `json:"a"`
B string `json:"b"`
C string `json:"c"`
D int `json:"d"`
E string `json:"e"`
F int `json:"f"`
G string `json:"g"`
}
type jsonStr string
/**
@author wangsong
redis hash sku 结构,主要是用作新增插入用
poolSkuSave 插入redis就是这些字段
*/
type SkuRedisInfo struct {
SpuId string `json:"spu_id"`
Encoded int `json:"encoded"`//供应商编码
Moq int `json:"moq" form:"moq" binding:"required"`//起订量
Mpq int `json:"mpq" form:"mpq" binding:"required"`//标准包装量
OldGoodsId int64 `json:"old_goods_id"`//老商品ID
GoodsType int `json:"goods_type"`//'0:自营 1:联营 2:专卖',
GoodsStatus int64 `json:"goods_status"`//sku状态 '商品状态 0:待审核 1:审核通过(上架)2:审核不通过 3:下架 4:删除'
BatchSn string `json:"batch_sn" form:"batch_sn" `//批次
Stock int `json:"stock" form:"stock" `//库存
HkDeliveryTime string `json:"hk_delivery_time" form:"hk_delivery_time" `//香港货期
CnDeliveryTime string `json:"cn_delivery_time" form:"cn_delivery_time" `//大陆货期
LadderPrice string `json:"ladder_price" form:"ladder_price" `//阶梯价钱
UpdateTime int `json:"update_time" xorm:"created"`
GoodsImages string `json:"goods_images" form:"goods_images" `//商品图片 所属spu
Canal string `json:"canal" form:"canal" `//渠道开发员ID
SupplierId int `json:"supplier_id" form:"supplier_id" binding:"required"`
CpTime int `json:"cp_time" form:"cp_time" `//茂则成本添加时间
}
func main() {
redisInfo:=SkuRedisInfo{}
redisInfo.SpuId="";
redisInfo.LadderPrice=`[{"purchases":5,"price_us":0.1677,"price_cn":0}]`
redisInfo.Moq=123
var jsonredisInfo map[string]interface{}
bytes, err:= json.Marshal(redisInfo)
if(err!=nil){
fmt.Println("错误")
//fmt.Println(err.Error())
}else{
json.Unmarshal([]byte(bytes),&jsonredisInfo)
//fmt.Printf("%+v", jsonredisInfo)
}
var jsonMap map[string]interface{}
var ladderPrice []map[string]interface{}
err = json.Unmarshal([]byte(`{"spu_id":2160610278284142904,"encoded":"","moq":5,"mpq":"1","old_goods_id":0,"goods_type":1,"goods_status":1,"batch_sn":"","stock":13583,"hk_delivery_time":"","cn_delivery_time":"","ladder_price":[{"purchases":5,"price_us":0.1677,"price_cn":0},{"purchases":25,"price_us":0.0852,"price_cn":0},{"purchases":107,"price_us":0.0505,"price_cn":0},{"purchases":501,"price_us":0.0481,"price_cn":0}],"update_time":1606890001,"goods_images":"","canal":"","supplier_id":4}`),&jsonMap)
for key,_:= range jsonMap{
if _, ok := jsonredisInfo[key]; ok {//有值
if(!reflect.ValueOf(jsonredisInfo[key]).IsZero()){//如果需要改的数据不为空,就要赋值到
s:=reflect.ValueOf(jsonredisInfo[key])
if(key=="ladder_price"){//ladder_price 需要单独处理下,如果直接赋值,会出现 斜划线 "\"
if(s.Kind()==reflect.String){
fmt.Println("是字符串")
}
ladderPriceStr:=gconv.String(jsonredisInfo[key])
err=json.Unmarshal([]byte(ladderPriceStr),&ladderPrice)
continue
}
if(s.Kind()==reflect.String){ //string
jsonMap[key]=gconv.String(jsonredisInfo[key])
}else{
jsonMap[key]=gconv.Int(jsonredisInfo[key]) //int
}
}else{//没有数据,其实不需要改,纠正一下类型。
s:=reflect.ValueOf(jsonredisInfo[key])
if(s.Kind()==reflect.String){ //string
jsonMap[key]=gconv.String(jsonMap[key])
}else{
jsonMap[key]=gconv.Int(jsonMap[key]) //int
}
}
reflect.ValueOf(jsonMap[key]).Kind()
}
}
if(err!=nil){
fmt.Println("错误")
fmt.Println(err.Error())
}else{
str,_:=json.Marshal(jsonMap)
fmt.Printf(string(str))
//fmt.Printf("%+v", jsonMap)
}
//reflect1(jsonMap,struct1)
}
/**
合并map,都有值以map1为主,字段类型以map1为主
*/
func mergeMap(map1 map[string]interface{},map2 map[string]interface{}) map[string]interface{} {
var newMap map[string]interface{}
newMap=map1//以map1为主,就先将map1给到newMap
//先算mp1
for key,_:= range map1{
if(!reflect.ValueOf(map1[key]).IsZero()){//如果不为空,就以取map1的值
s:=reflect.ValueOf(map1[key])
if(s.Kind()==reflect.String){ //string
newMap[key]=gconv.String(map1[key])
}else{
newMap[key]=gconv.Int(map1[key]) //int
}
delete(map2, key)//删一个重复的map2的key
}else{//没有数据,取mp2的值,类型要是map1字段的类型
if _, ok := map2[key]; ok { //map1的key在map2是否存在,不存在就不处理
if(!reflect.ValueOf(map2[key]).IsZero()){ //map2不能为0值才处理
m1 :=reflect.ValueOf(map1[key])
if(m1.Kind()==reflect.String){ //string
newMap[key]=gconv.String(map2[key])
}else{
newMap[key]=gconv.Int(map2[key]) //int
}
}
delete(map2, key)//删一个重复的map2的key
}
}
}
//处理map2,重复的被删了,剩下的直接添加
for key,value:= range map2{
s:=reflect.ValueOf(value)
if(s.Kind()==reflect.String){ //string
newMap[key]=gconv.String(value)
}else{
newMap[key]=gconv.Int(value) //int
}
}
return newMap
}
func test() {
/*if(key=="ladder_price"){//ladder_price 需要单独处理下,如果直接赋值,会出现 斜划线 "\"
if(s.Kind()==reflect.String){
fmt.Println("是字符串")
}
ladderPriceStr:=gconv.String(jsonredisInfo[key])
err=json.Unmarshal([]byte(ladderPriceStr),&ladderPrice)
continue
}*/
}
func reflect1(jsonMap map[string]interface{},interface2 interface{}) {
//var newMap map[string]interface{}
sval := reflect.ValueOf(interface2).Elem()
for i := 0; i < sval.NumField(); i++ {
name := sval.Type().Field(i).Name
jsonOneValue:=reflect.ValueOf(jsonMap[name])
if(jsonOneValue.IsZero()){//0值
if(jsonOneValue.Kind()==reflect.TypeOf(sval.Field(i)).Kind()){
}
//直接覆盖
}else{//非0值
}
fmt.Println(sval.Field(i))
}
}
func reflect_exp(struct1 interface{},struct2 interface{})error {
return nil
/*sval := reflect.ValueOf(struct1).Elem()
dval := reflect.ValueOf(struct2).Elem()
for i := 0; i < sval.NumField(); i++ {
value := sval.Field(i)
fmt.Println(value)
if (statusType == 1) { //如果struct1 字段值为零值就不覆盖struct2对应的字段值
if (value.IsZero()) {
continue
}
}
}*/
}
func exp() {
var jsonBlob = [ ] byte ( ` [
{ "Name" : "Platypus" , "Order" : "Monotremata" } ,
{ "Name" : "Quoll" , "Order" : "Dasyuromorphia" }
] ` )
type Animal struct {
Name string
Order string
}
var animals [ ] Animal
err := json. Unmarshal ( jsonBlob , & animals )
if err != nil {
fmt. Println ( "error:" , err )
}
fmt. Printf ( "%+v" , animals )
}
\ No newline at end of file
package main
import (
"fmt"
"sort"
)
//阶梯价格排 序算dfsdf法
type LadderPriceSorter []map[string]string
func (a LadderPriceSorter) Len() int {
return len(a)
}
func (a LadderPriceSorter) Swap(i, j int) {
a[i], a[j] = a[j], a[i]
}
func (a LadderPriceSorter) Less(i, j int) bool {
return a[j]["sort"] > a[i]["sort"]
}
func main() {
s:=make(map[string]string)
s["sort"]="60";
s2:=make(map[string]string)
s2["sort"]="56"
var slic LadderPriceSorter
slic=append(slic,s)
slic=append(slic,s2)
fmt.Printf("%+v", slic)
sort.Sort(LadderPriceSorter(slic))
fmt.Printf("%+v", slic)
}
package main
import (
"fmt"
"github.com/gogf/gf/util/gconv"
"reflect"
)
func main() {
s:="sdfsdf"
var a int
atype := reflect.ValueOf(a).Type()
vtype := reflect.ValueOf(s).Type()
fmt.Printf("type address:%v\n", atype)
fmt.Println("convertible:", vtype.ConvertibleTo(atype))
fmt.Println(gconv.Int(s))
return
}
\ No newline at end of file
package main
import (
"fmt"
"reflect"
)
type Person struct {
Name string
Age int
}
func IsZeroOfUnderlyingType(x interface{}) bool {
return reflect.DeepEqual(x, reflect.Zero(reflect.TypeOf(x)).Interface())
}
func main() {
var person Person //定义一个零值
fmt.Println(IsZeroOfUnderlyingType(person)) //零值结构体,输出true
person.Name = "chenqiognhe" //结构体属性Name赋值
fmt.Println(IsZeroOfUnderlyingType(person)) //输出false
fmt.Println(IsZeroOfUnderlyingType(person.Age)) //Age仍是零值,输出true
person.Age = 18 //Age赋值
fmt.Println(IsZeroOfUnderlyingType(person.Age)) //输出false
}
\ No newline at end of file
2020-11-26 16:03:28----接收参数:{}错误:Key: 'LySaveRequest.GoodsName' Error:Field validation for 'GoodsName' failed on the 'required' tag
Key: 'LySaveRequest.BrandName' Error:Field validation for 'BrandName' failed on the 'required' tag
Key: 'LySaveRequest.SupplierId' Error:Field validation for 'SupplierId' failed on the 'required' tag
Key: 'LySaveRequest.Moq' Error:Field validation for 'Moq' failed on the 'required' tag
Key: 'LySaveRequest.Mpq' Error:Field validation for 'Mpq' failed on the 'required' tag
2020-11-26 16:05:17----接收参数:{}错误:%!s(int=55)
2020-11-26 16:05:47----接收参数:{"abc":["123"]}错误:%!s(int=55)
2020-11-26 16:18:47----接收参数:{"brand_name":[""],"goods_name":["123"],"moq":[""],"mpq":[""],"supplier_id":[""]}错误:%!s(int=55)
2020-11-26 16:19:03----接收参数:{"brand_name":[""],"goods_name":["123"],"moq":[""],"mpq":[""],"supplier_id":[""]}错误:Key: 'LySaveRequest.GoodsName' Error:Field validation for 'GoodsName' failed on the 'required' tag
Key: 'LySaveRequest.BrandName' Error:Field validation for 'BrandName' failed on the 'required' tag
Key: 'LySaveRequest.SupplierId' Error:Field validation for 'SupplierId' failed on the 'required' tag
Key: 'LySaveRequest.Moq' Error:Field validation for 'Moq' failed on the 'required' tag
Key: 'LySaveRequest.Mpq' Error:Field validation for 'Mpq' failed on the 'required' tag
2020-11-26 16:19:08----接收参数:{"brand_name":["123"],"goods_name":["123"],"moq":["23"],"mpq":["23"],"supplier_id":["23"]}错误:Key: 'LySaveRequest.GoodsName' Error:Field validation for 'GoodsName' failed on the 'required' tag
Key: 'LySaveRequest.BrandName' Error:Field validation for 'BrandName' failed on the 'required' tag
Key: 'LySaveRequest.SupplierId' Error:Field validation for 'SupplierId' failed on the 'required' tag
Key: 'LySaveRequest.Moq' Error:Field validation for 'Moq' failed on the 'required' tag
Key: 'LySaveRequest.Mpq' Error:Field validation for 'Mpq' failed on the 'required' tag
2020-11-26 16:19:15----接收参数:{"brand_name":["123"],"goods_name":["水电费水电费"],"moq":["23"],"mpq":["23"],"supplier_id":["23"]}错误:Key: 'LySaveRequest.GoodsName' Error:Field validation for 'GoodsName' failed on the 'required' tag
Key: 'LySaveRequest.BrandName' Error:Field validation for 'BrandName' failed on the 'required' tag
Key: 'LySaveRequest.SupplierId' Error:Field validation for 'SupplierId' failed on the 'required' tag
Key: 'LySaveRequest.Moq' Error:Field validation for 'Moq' failed on the 'required' tag
Key: 'LySaveRequest.Mpq' Error:Field validation for 'Mpq' failed on the 'required' tag
2020-11-26 16:19:48----接收参数:{"brand_name":["123","123"],"goods_name":["水电费水电费","水电费水电费"],"moq":["23","23"],"mpq":["23","23"],"supplier_id":["23","23"]}错误:Key: 'LySaveRequest.GoodsName' Error:Field validation for 'GoodsName' failed on the 'required' tag
Key: 'LySaveRequest.BrandName' Error:Field validation for 'BrandName' failed on the 'required' tag
Key: 'LySaveRequest.SupplierId' Error:Field validation for 'SupplierId' failed on the 'required' tag
Key: 'LySaveRequest.Moq' Error:Field validation for 'Moq' failed on the 'required' tag
Key: 'LySaveRequest.Mpq' Error:Field validation for 'Mpq' failed on the 'required' tag
2020-11-26 16:19:57----接收参数:{"brand_name":["123"],"goods_name":["水电费水电费"],"moq":["23"],"mpq":["23"],"supplier_id":["23"]}错误:Key: 'LySaveRequest.GoodsName' Error:Field validation for 'GoodsName' failed on the 'required' tag
Key: 'LySaveRequest.BrandName' Error:Field validation for 'BrandName' failed on the 'required' tag
Key: 'LySaveRequest.SupplierId' Error:Field validation for 'SupplierId' failed on the 'required' tag
Key: 'LySaveRequest.Moq' Error:Field validation for 'Moq' failed on the 'required' tag
Key: 'LySaveRequest.Mpq' Error:Field validation for 'Mpq' failed on the 'required' tag
2020-11-26 16:19:58----接收参数:{}错误:Key: 'LySaveRequest.GoodsName' Error:Field validation for 'GoodsName' failed on the 'required' tag
Key: 'LySaveRequest.BrandName' Error:Field validation for 'BrandName' failed on the 'required' tag
Key: 'LySaveRequest.SupplierId' Error:Field validation for 'SupplierId' failed on the 'required' tag
Key: 'LySaveRequest.Moq' Error:Field validation for 'Moq' failed on the 'required' tag
Key: 'LySaveRequest.Mpq' Error:Field validation for 'Mpq' failed on the 'required' tag
2020-11-26 16:20:04----接收参数:{}错误:Key: 'LySaveRequest.GoodsName' Error:Field validation for 'GoodsName' failed on the 'required' tag
Key: 'LySaveRequest.BrandName' Error:Field validation for 'BrandName' failed on the 'required' tag
Key: 'LySaveRequest.SupplierId' Error:Field validation for 'SupplierId' failed on the 'required' tag
Key: 'LySaveRequest.Moq' Error:Field validation for 'Moq' failed on the 'required' tag
Key: 'LySaveRequest.Mpq' Error:Field validation for 'Mpq' failed on the 'required' tag
2020-11-26 16:21:09----接收参数:{"brand_name":["123"],"goods_name":["水电费水电费"],"moq":["23"],"mpq":["23"],"supplier_id":["23"]}错误:Key: 'LySaveRequest.GoodsName' Error:Field validation for 'GoodsName' failed on the 'required' tag
Key: 'LySaveRequest.BrandName' Error:Field validation for 'BrandName' failed on the 'required' tag
Key: 'LySaveRequest.SupplierId' Error:Field validation for 'SupplierId' failed on the 'required' tag
Key: 'LySaveRequest.Moq' Error:Field validation for 'Moq' failed on the 'required' tag
Key: 'LySaveRequest.Mpq' Error:Field validation for 'Mpq' failed on the 'required' tag
2020-11-26 16:21:24----接收参数:{"brand_name":["123"],"goods_name":["水电费水电费"],"moq":["23"],"mpq":["23"],"supplier_id":["23"]}错误:Key: 'LySaveRequest.GoodsName' Error:Field validation for 'GoodsName' failed on the 'required' tag
Key: 'LySaveRequest.BrandName' Error:Field validation for 'BrandName' failed on the 'required' tag
Key: 'LySaveRequest.SupplierId' Error:Field validation for 'SupplierId' failed on the 'required' tag
Key: 'LySaveRequest.Moq' Error:Field validation for 'Moq' failed on the 'required' tag
Key: 'LySaveRequest.Mpq' Error:Field validation for 'Mpq' failed on the 'required' tag
2020-11-26 16:22:02----接收参数:{"brand_name":["123"],"goods_name":["水电费水电费"],"moq":["23"],"mpq":["23"],"supplier_id":["23"]}errMsg:Key: 'LySaveRequest.GoodsName' Error:Field validation for 'GoodsName' failed on the 'required' tag
Key: 'LySaveRequest.BrandName' Error:Field validation for 'BrandName' failed on the 'required' tag
Key: 'LySaveRequest.SupplierId' Error:Field validation for 'SupplierId' failed on the 'required' tag
Key: 'LySaveRequest.Moq' Error:Field validation for 'Moq' failed on the 'required' tag
Key: 'LySaveRequest.Mpq' Error:Field validation for 'Mpq' failed on the 'required' tag
2020-11-26 16:22:46----接收参数:{"brand_name":["123"],"goods_name":["水电费水电费,123123"],"moq":["23"],"mpq":["23"],"supplier_id":["23"]}errMsg:Key: 'LySaveRequest.GoodsName' Error:Field validation for 'GoodsName' failed on the 'required' tag
Key: 'LySaveRequest.BrandName' Error:Field validation for 'BrandName' failed on the 'required' tag
Key: 'LySaveRequest.SupplierId' Error:Field validation for 'SupplierId' failed on the 'required' tag
Key: 'LySaveRequest.Moq' Error:Field validation for 'Moq' failed on the 'required' tag
Key: 'LySaveRequest.Mpq' Error:Field validation for 'Mpq' failed on the 'required' tag
2020-11-26 16:23:00----接收参数:{"brand_name":["sdfsdf"],"goods_name":["水电费水电费,123123"],"moq":["23"],"mpq":["23"],"supplier_id":["23"]}errMsg:Key: 'LySaveRequest.GoodsName' Error:Field validation for 'GoodsName' failed on the 'required' tag
Key: 'LySaveRequest.BrandName' Error:Field validation for 'BrandName' failed on the 'required' tag
Key: 'LySaveRequest.SupplierId' Error:Field validation for 'SupplierId' failed on the 'required' tag
Key: 'LySaveRequest.Moq' Error:Field validation for 'Moq' failed on the 'required' tag
Key: 'LySaveRequest.Mpq' Error:Field validation for 'Mpq' failed on the 'required' tag
2020-11-26 16:23:15----接收参数:{"brand_name":["sdfsdf"],"goods_name":["“对方水电费”"],"moq":["23"],"mpq":["23"],"supplier_id":["23"]}errMsg:Key: 'LySaveRequest.GoodsName' Error:Field validation for 'GoodsName' failed on the 'required' tag
Key: 'LySaveRequest.BrandName' Error:Field validation for 'BrandName' failed on the 'required' tag
Key: 'LySaveRequest.SupplierId' Error:Field validation for 'SupplierId' failed on the 'required' tag
Key: 'LySaveRequest.Moq' Error:Field validation for 'Moq' failed on the 'required' tag
Key: 'LySaveRequest.Mpq' Error:Field validation for 'Mpq' failed on the 'required' tag
2020-11-26 16:24:00----接收参数:{"brand_name":["123"],"goods_name":["水电费水电费"],"moq":["23"],"mpq":["23"],"supplier_id":["23"]}errMsg:Key: 'LySaveRequest.GoodsName' Error:Field validation for 'GoodsName' failed on the 'required' tag
Key: 'LySaveRequest.BrandName' Error:Field validation for 'BrandName' failed on the 'required' tag
Key: 'LySaveRequest.SupplierId' Error:Field validation for 'SupplierId' failed on the 'required' tag
Key: 'LySaveRequest.Moq' Error:Field validation for 'Moq' failed on the 'required' tag
Key: 'LySaveRequest.Mpq' Error:Field validation for 'Mpq' failed on the 'required' tag
2020-11-26 16:25:31----接收参数:{"brand_name":["123"],"goods_name":["水电费水电费"],"moq":["23"],"mpq":["23"],"supplier_id":["23"]}errMsg:Key: 'LySaveRequest.GoodsName' Error:Field validation for 'GoodsName' failed on the 'required' tag
Key: 'LySaveRequest.BrandName' Error:Field validation for 'BrandName' failed on the 'required' tag
Key: 'LySaveRequest.SupplierId' Error:Field validation for 'SupplierId' failed on the 'required' tag
Key: 'LySaveRequest.Moq' Error:Field validation for 'Moq' failed on the 'required' tag
Key: 'LySaveRequest.Mpq' Error:Field validation for 'Mpq' failed on the 'required' tag
2020-11-26 16:26:13----接收参数:{"GoodsName":["水电费水电费"],"brand_name":["123"],"moq":["23"],"mpq":["23"],"supplier_id":["23"]}errMsg:Key: 'LySaveRequest.BrandName' Error:Field validation for 'BrandName' failed on the 'required' tag
Key: 'LySaveRequest.SupplierId' Error:Field validation for 'SupplierId' failed on the 'required' tag
Key: 'LySaveRequest.Moq' Error:Field validation for 'Moq' failed on the 'required' tag
Key: 'LySaveRequest.Mpq' Error:Field validation for 'Mpq' failed on the 'required' tag
2020-11-26 16:28:37----接收参数:{"GoodsName":["水电费水电费"],"brand_name":["123"],"moq":["23"],"mpq":["23"],"supplier_id":["23"]}errMsg:Key: 'LySaveRequest.GoodsName' Error:Field validation for 'GoodsName' failed on the 'required' tag
2020-11-26 16:29:29----接收参数:{"GoodsName":["水电费水电费"],"brand_name":["123"],"moq":["23"],"mpq":["23"],"supplier_id":["23"]}errMsg:Key: 'LySaveRequest.GoodsName' Error:Field validation for 'GoodsName' failed on the 'required' tag
2020-11-26 16:31:20----接收参数:{"GoodsName":["水电费水电费"],"brand_name":["123"],"moq":["23"],"mpq":["23"],"supplier_id":["23"]}errMsg:Key: 'LySaveRequest.GoodsName' Error:Field validation for 'GoodsName' failed on the 'required' tag
2020-11-26 16:31:33----接收参数:{"brand_name":["123"],"good_name":["水电费水电费"],"moq":["23"],"mpq":["23"],"supplier_id":["23"]}errMsg:Key: 'LySaveRequest.GoodsName' Error:Field validation for 'GoodsName' failed on the 'required' tag
2020-11-26 16:31:41----接收参数:{"brand_name":["123"],"goods_name":["水电费水电费"],"moq":["23"],"mpq":["23"],"supplier_id":["23"]}错误:runtime error: invalid memory address or nil pointer dereference
2020-11-26 16:31:45----接收参数:{"brand_name":["123"],"goods_name":["水电费水电费"],"moq":["23"],"mpq":["23"],"supplier_id":["23"]}错误:runtime error: invalid memory address or nil pointer dereference
2020-11-26 16:32:24----接收参数:{"brand_name":["123"],"goods_name":["水电费水电费"],"moq":["23"],"mpq":["23"],"supplier_id":["23"]}错误:runtime error: invalid memory address or nil pointer dereference
2020-11-26 17:36:54----接收参数:{}errMsg:json: cannot unmarshal string into Go struct field LySaveRequest.Canal of type int
2020-11-26 17:37:19----接收参数:{}errMsg:json: cannot unmarshal string into Go struct field LySaveRequest.Canal of type int
2020-11-26 17:43:24----接收参数:{}errMsg:json: cannot unmarshal string into Go struct field LySaveRequest.Canal of type int
2020-11-26 17:43:44----接收参数:{}errMsg:json: cannot unmarshal string into Go struct field LySaveRequest.Pdf of type int
2020-11-26 17:49:31----接收参数:{}errMsg:json: cannot unmarshal object into Go struct field LySaveRequest.Attrs of type string
2020-11-26 17:50:04----接收参数:{}errMsg:json: cannot unmarshal object into Go struct field LySaveRequest.Attrs of type string
2020-11-26 17:51:18----接收参数:{}errMsg:Key: 'LySaveRequest.GoodsName' Error:Field validation for 'GoodsName' failed on the 'required' tag
Key: 'LySaveRequest.BrandName' Error:Field validation for 'BrandName' failed on the 'required' tag
Key: 'LySaveRequest.SupplierId' Error:Field validation for 'SupplierId' failed on the 'required' tag
2020-11-26 17:52:20----接收参数:{}errMsg:Key: 'LySaveRequest.GoodsName' Error:Field validation for 'GoodsName' failed on the 'required' tag
Key: 'LySaveRequest.BrandName' Error:Field validation for 'BrandName' failed on the 'required' tag
Key: 'LySaveRequest.SupplierId' Error:Field validation for 'SupplierId' failed on the 'required' tag
2020-11-26 17:54:41----接收参数:{}errMsg:json: cannot unmarshal object into Go struct field LySaveRequest.Attrs of type string
2020-11-26 17:55:10----接收参数:{}errMsg:invalid character '}' looking for beginning of object key string
2020-11-26 17:55:16----接收参数:{}errMsg:Key: 'LySaveRequest.GoodsName' Error:Field validation for 'GoodsName' failed on the 'required' tag
Key: 'LySaveRequest.BrandName' Error:Field validation for 'BrandName' failed on the 'required' tag
Key: 'LySaveRequest.SupplierId' Error:Field validation for 'SupplierId' failed on the 'required' tag
2020-11-26 17:58:25----接收参数:{}errMsg:json: cannot unmarshal object into Go struct field LySaveRequest.Attrs of type string
2020-11-26 17:58:46----接收参数:{}errMsg:Key: 'LySaveRequest.GoodsName' Error:Field validation for 'GoodsName' failed on the 'required' tag
Key: 'LySaveRequest.BrandName' Error:Field validation for 'BrandName' failed on the 'required' tag
Key: 'LySaveRequest.SupplierId' Error:Field validation for 'SupplierId' failed on the 'required' tag
2020-11-26 18:02:47----接收参数:{}errMsg:json: cannot unmarshal array into Go struct field LySaveRequest.ladder_price of type string
2020-11-26 18:03:11----接收参数:{}errMsg:invalid character 'g' looking for beginning of value
2020-11-26 18:03:44----接收参数:{}errMsg:invalid character 'g' looking for beginning of value
2020-11-26 18:06:08----接收参数:{}errMsg:json: cannot unmarshal array into Go struct field LySaveRequest.ladder_price of type string
2020-11-26 18:08:38----接收参数:{}errMsg:json: cannot unmarshal array into Go struct field LySaveRequest.ladder_price of type string
2020-11-26 18:09:01----接收参数:{}errMsg:json: cannot unmarshal array into Go struct field LySaveRequest.ladder_price of type string
2020-11-26 18:11:33----接收参数:{}errMsg:json: cannot unmarshal array into Go struct field LySaveRequest.ladder_price of type string
2020-11-26 18:17:19----接收参数:{}errMsg:json: cannot unmarshal array into Go struct field LySaveRequest.ladder_price of type string
2020-11-26 18:20:48----接收参数:{}errMsg:json: cannot unmarshal array into Go struct field LySaveRequest.ladder_price of type string
2020-11-26 18:21:10----接收参数:{}errMsg:json: cannot unmarshal object into Go struct field LySaveRequest.attrs of type string
2020-11-26 18:21:22----接收参数:{}errMsg:invalid character '}' looking for beginning of object key string
2020-11-26 18:21:33----接收参数:{}errMsg:invalid character '}' looking for beginning of object key string
2020-11-26 18:26:06----接收参数:{}errMsg:unknown type
2020-11-26 18:26:29----接收参数:{}errMsg:unknown type
\ No newline at end of file
2020-11-27 09:44:26----接收参数:{}errMsg:Key: 'LySaveRequest.GoodsName' Error:Field validation for 'GoodsName' failed on the 'required' tag
2020-11-27 09:45:14----接收参数:{}errMsg:Key: 'LySaveRequest.GoodsName' Error:Field validation for 'GoodsName' failed on the 'required' tag
Key: 'LySaveRequest.BrandName' Error:Field validation for 'BrandName' failed on the 'required' tag
Key: 'LySaveRequest.SupplierId' Error:Field validation for 'SupplierId' failed on the 'required' tag
Key: 'LySaveRequest.Moq' Error:Field validation for 'Moq' failed on the 'required' tag
Key: 'LySaveRequest.Mpq' Error:Field validation for 'Mpq' failed on the 'required' tag
2020-11-27 09:46:02----接收参数:{}errMsg:Key: 'LySaveRequest.GoodsName' Error:Field validation for 'GoodsName' failed on the 'required' tag
Key: 'LySaveRequest.BrandName' Error:Field validation for 'BrandName' failed on the 'required' tag
Key: 'LySaveRequest.SupplierId' Error:Field validation for 'SupplierId' failed on the 'required' tag
Key: 'LySaveRequest.Moq' Error:Field validation for 'Moq' failed on the 'required' tag
Key: 'LySaveRequest.Mpq' Error:Field validation for 'Mpq' failed on the 'required' tag
2020-11-27 09:48:43----接收参数:{}errMsg:Key: 'LySaveRequest.GoodsName' Error:Field validation for 'GoodsName' failed on the 'required' tag
Key: 'LySaveRequest.BrandName' Error:Field validation for 'BrandName' failed on the 'required' tag
Key: 'LySaveRequest.SupplierId' Error:Field validation for 'SupplierId' failed on the 'required' tag
Key: 'LySaveRequest.Moq' Error:Field validation for 'Moq' failed on the 'required' tag
Key: 'LySaveRequest.Mpq' Error:Field validation for 'Mpq' failed on the 'required' tag
2020-11-27 09:48:57----接收参数:{" goods_name":["CFD02"]}errMsg:Key: 'LySaveRequest.GoodsName' Error:Field validation for 'GoodsName' failed on the 'required' tag
Key: 'LySaveRequest.BrandName' Error:Field validation for 'BrandName' failed on the 'required' tag
Key: 'LySaveRequest.SupplierId' Error:Field validation for 'SupplierId' failed on the 'required' tag
Key: 'LySaveRequest.Moq' Error:Field validation for 'Moq' failed on the 'required' tag
Key: 'LySaveRequest.Mpq' Error:Field validation for 'Mpq' failed on the 'required' tag
2020-11-27 09:49:03----接收参数:{}errMsg:错误
2020-11-27 09:49:11----接收参数:{}errMsg:错误
2020-11-27 09:49:22----接收参数:{}errMsg:Key: 'LySaveRequest.GoodsName' Error:Field validation for 'GoodsName' failed on the 'required' tag
2020-11-27 10:01:08----接收参数:{"goods_name":["水电费水电费"]}errMsg:Key: 'LySaveRequest.GoodsName' Error:Field validation for 'GoodsName' failed on the 'required' tag
2020-11-27 10:01:08----接收参数:{"goods_name":["水电费水电费","123"]}errMsg:Key: 'LySaveRequest.BrandName' Error:Field validation for 'BrandName' failed on the 'required' tag
Key: 'LySaveRequest.SupplierId' Error:Field validation for 'SupplierId' failed on the 'required' tag
Key: 'LySaveRequest.Moq' Error:Field validation for 'Moq' failed on the 'required' tag
Key: 'LySaveRequest.Mpq' Error:Field validation for 'Mpq' failed on the 'required' tag
2020-11-27 10:01:24----接收参数:{"goods_name":["水电费水电费","123"]}errMsg:Key: 'LySaveRequest.BrandName' Error:Field validation for 'BrandName' failed on the 'required' tag
Key: 'LySaveRequest.SupplierId' Error:Field validation for 'SupplierId' failed on the 'required' tag
Key: 'LySaveRequest.Moq' Error:Field validation for 'Moq' failed on the 'required' tag
Key: 'LySaveRequest.Mpq' Error:Field validation for 'Mpq' failed on the 'required' tag
2020-11-27 10:38:13----接收参数:{"goods_name":["123"]}errMsg:Key: 'LySaveRequest.BrandName' Error:Field validation for 'BrandName' failed on the 'required' tag
Key: 'LySaveRequest.SupplierId' Error:Field validation for 'SupplierId' failed on the 'required' tag
Key: 'LySaveRequest.Moq' Error:Field validation for 'Moq' failed on the 'required' tag
Key: 'LySaveRequest.Mpq' Error:Field validation for 'Mpq' failed on the 'required' tag
2020-11-27 10:38:28----接收参数:{"goods_name":["123"]}errMsg:Key: 'LySaveRequest.BrandName' Error:Field validation for 'BrandName' failed on the 'required' tag
Key: 'LySaveRequest.SupplierId' Error:Field validation for 'SupplierId' failed on the 'required' tag
Key: 'LySaveRequest.Moq' Error:Field validation for 'Moq' failed on the 'required' tag
Key: 'LySaveRequest.Mpq' Error:Field validation for 'Mpq' failed on the 'required' tag
2020-11-27 10:45:22----接收参数:{"goods_name":["123"]}errMsg:Key: 'LySaveRequest.BrandName' Error:Field validation for 'BrandName' failed on the 'required' tag
Key: 'LySaveRequest.SupplierId' Error:Field validation for 'SupplierId' failed on the 'required' tag
Key: 'LySaveRequest.Moq' Error:Field validation for 'Moq' failed on the 'required' tag
Key: 'LySaveRequest.Mpq' Error:Field validation for 'Mpq' failed on the 'required' tag
2020-11-27 10:50:55----接收参数:{}errMsg:Key: 'LySaveRequest.GoodsName' Error:Field validation for 'GoodsName' failed on the 'required' tag
2020-11-27 10:52:40----接收参数:{}errMsg:Key: 'LySaveRequest.GoodsName' Error:Field validation for 'GoodsName' failed on the 'required' tag
2020-11-27 11:03:23----接收参数:nullerrMsg:Key: 'LySaveRequest.GoodsName' Error:Field validation for 'GoodsName' failed on the 'required' tag
2020-11-27 11:05:28----接收参数:{}errMsg:Key: 'LySaveRequest.GoodsName' Error:Field validation for 'GoodsName' failed on the 'required' tag
2020-11-27 11:06:06----接收参数:{}errMsg:Key: 'LySaveRequest.GoodsName' Error:Field validation for 'GoodsName' failed on the 'required' tag
2020-11-27 11:06:26----接收参数:{"brand_name":["123"]}errMsg:Key: 'LySaveRequest.GoodsName' Error:Field validation for 'GoodsName' failed on the 'required' tag
2020-11-27 11:25:27----接收参数:{}errMsg:Key: 'LySaveRequest.GoodsName' Error:Field validation for 'GoodsName' failed on the 'required' tag
2020-11-27 11:25:39----接收参数:{}errMsg:Key: 'LySaveRequest.GoodsName' Error:Field validation for 'GoodsName' failed on the 'required' tag
2020-11-27 11:25:48----接收参数:{"goods_name":["123"]}errMsg:Key: 'LySaveRequest.BrandName' Error:Field validation for 'BrandName' failed on the 'required' tag
Key: 'LySaveRequest.SupplierId' Error:Field validation for 'SupplierId' failed on the 'required' tag
Key: 'LySaveRequest.Moq' Error:Field validation for 'Moq' failed on the 'required' tag
Key: 'LySaveRequest.Mpq' Error:Field validation for 'Mpq' failed on the 'required' tag
2020-11-27 11:27:36----接收参数:{"goods_name":["123"]}errMsg:Key: 'LySaveRequest.BrandName' Error:Field validation for 'BrandName' failed on the 'required' tag
Key: 'LySaveRequest.SupplierId' Error:Field validation for 'SupplierId' failed on the 'required' tag
Key: 'LySaveRequest.Moq' Error:Field validation for 'Moq' failed on the 'required' tag
Key: 'LySaveRequest.Mpq' Error:Field validation for 'Mpq' failed on the 'required' tag
2020-11-27 11:27:53----接收参数:123123errMsg:Key: 'LySaveRequest.GoodsName' Error:Field validation for 'GoodsName' failed on the 'required' tag
2020-11-27 11:40:16----接收参数:123errMsg:Key: 'LySaveRequest.GoodsName' Error:Field validation for 'GoodsName' failed on the 'required' tag
2020-11-27 11:44:25----接收参数:123errMsg:Key: 'LySaveRequest.GoodsName' Error:Field validation for 'GoodsName' failed on the 'required' tag
2020-11-27 11:47:59----接收参数:123errMsg:Key: 'LySaveRequest.GoodsName' Error:Field validation for 'GoodsName' failed on the 'required' tag
2020-11-27 11:54:03----接收参数:123errMsg:EOF
2020-11-27 11:54:15----接收参数:123errMsg:EOF
2020-11-27 11:59:57----接收参数:123errMsg:EOF
2020-11-27 12:00:29----接收参数:123errMsg:Key: 'LySaveRequest.GoodsName' Error:Field validation for 'GoodsName' failed on the 'required' tag
2020-11-27 12:24:36----接收参数:123errMsg:Key: 'LySaveRequest.GoodsName' Error:Field validation for 'GoodsName' failed on the 'required' tag
2020-11-27 12:25:12----接收参数:123errMsg:Key: 'LySaveRequest.GoodsName' Error:Field validation for 'GoodsName' failed on the 'required' tag
2020-11-27 12:25:22----接收参数:123errMsg:Key: 'LySaveRequest.GoodsName' Error:Field validation for 'GoodsName' failed on the 'required' tag
2020-11-27 12:25:48----接收参数:123errMsg:Key: 'LySaveRequest.GoodsName' Error:Field validation for 'GoodsName' failed on the 'required' tag
2020-11-27 12:27:20----接收参数:123errMsg:Key: 'LySaveRequest.GoodsName' Error:Field validation for 'GoodsName' failed on the 'required' tag
2020-11-27 12:27:49----接收参数:123errMsg:invalid character '%' looking for beginning of value
2020-11-27 12:28:50----接收参数:123errMsg:invalid character '%' looking for beginning of value
2020-11-27 12:29:07----接收参数:123errMsg:invalid character 'g' looking for beginning of value
2020-11-27 12:29:21----接收参数:123errMsg:Key: 'LySaveRequest.GoodsName' Error:Field validation for 'GoodsName' failed on the 'required' tag
2020-11-27 12:41:22----接收参数:123errMsg:Key: 'LySaveRequest.GoodsName' Error:Field validation for 'GoodsName' failed on the 'required' tag
2020-11-27 12:41:44----接收参数:123errMsg:Key: 'LySaveRequest.GoodsName' Error:Field validation for 'GoodsName' failed on the 'required' tag
2020-11-27 12:47:00----接收参数:123errMsg:Key: 'LySaveRequest.GoodsName' Error:Field validation for 'GoodsName' failed on the 'required' tag
2020-11-27 12:47:01----接收参数:123errMsg:Key: 'LySaveRequest.GoodsName' Error:Field validation for 'GoodsName' failed on the 'required' tag
2020-11-27 13:46:56----接收参数:{"msg":""}errMsg:Key: 'LySaveRequest.GoodsName' Error:Field validation for 'GoodsName' failed on the 'required' tag
2020-11-27 13:48:29----接收参数:{"goods_sn":""}errMsg:Key: 'LySaveRequest.GoodsName' Error:Field validation for 'GoodsName' failed on the 'required' tag
2020-11-27 13:49:07----接收参数:{"goods_sn":""}errMsg:Key: 'LySaveRequest.GoodsName' Error:Field validation for 'GoodsName' failed on the 'required' tag
2020-11-27 13:53:07----接收参数:{"goods_sn":""}errMsg:Key: 'LySaveRequest.GoodsName' Error:Field validation for 'GoodsName' failed on the 'required' tag
2020-11-27 14:31:18----接收参数:{ "stock": 2055,
"pn": "maritex",
"is_api": 0,
"url": "https://en.maritex.com.pl/acoustics/audio_transducers/magnetic_buzzers_without_driving_circuit/cfd02-e.html",
"goods_sn": "CFD02-E",
"brand_name": "Changzhou EST ELECTRONICS Co.,Ltd.",
"is_error": 0,
"supplier_id": 17,
"canal": "L0010826",
"mpq": 1,
"moq": 1,
"pdf": "",
"hk_delivery_time": "5-7\u5de5\u4f5c\u65e5",
"cn_delivery_time": "6-12\u5de5\u4f5c\u65e5",
"ladder_price": [
{
"purchases": 1,
"price_cn": 0.2886,
"price_us": 0.2886
},
{
"purchases": 25,
"price_cn": 0.2662,
"price_us": 0.2662
},
{
"purchases": 100,
"price_cn": 0.2245,
"price_us": 0.2245
},
{
"purchases": 500,
"price_cn": 0.2085,
"price_us": 0.2085
},
{
"purchases": 1000,
"price_cn": 0.1924,
"price_us": 0.1924
}
],
"attrs": {}
}errMsg:Key: 'LySaveRequest.GoodsName' Error:Field validation for 'GoodsName' failed on the 'required' tag
2020-11-27 14:37:20----接收参数:"ew0KICAgICJzdG9jayI6IDIwNTUsDQogICAgInBuIjogIm1hcml0ZXgiLA0KICAgICJpc19hcGkiOiAwLA0KICAgICJ1cmwiOiAiaHR0cHM6Ly9lbi5tYXJpdGV4LmNvbS5wbC9hY291c3RpY3MvYXVkaW9fdHJhbnNkdWNlcnMvbWFnbmV0aWNfYnV6emVyc193aXRob3V0X2RyaXZpbmdfY2lyY3VpdC9jZmQwMi1lLmh0bWwiLA0KICAgIA0KICAgICJnb29kc19zbiI6ICJDRkQwMi1FIiwNCiAgICAiYnJhbmRfbmFtZSI6ICJDaGFuZ3pob3UgRVNUIEVMRUNUUk9OSUNTIENvLixMdGQuIiwNCiAgICAiaXNfZXJyb3IiOiAwLA0KICAgICJzdXBwbGllcl9pZCI6IDE3LA0KICAgICJjYW5hbCI6ICJMMDAxMDgyNiIsDQogICAgIm1wcSI6IDEsDQogICAgIm1vcSI6IDEsDQogICAgInBkZiI6ICIiLA0KICAgICJoa19kZWxpdmVyeV90aW1lIjogIjUtN1x1NWRlNVx1NGY1Y1x1NjVlNSIsDQogICAgImNuX2RlbGl2ZXJ5X3RpbWUiOiAiNi0xMlx1NWRlNVx1NGY1Y1x1NjVlNSIsDQogICAgImxhZGRlcl9wcmljZSI6IFsNCiAgICAgICAgew0KICAgICAgICAgICAgInB1cmNoYXNlcyI6IDEsDQogICAgICAgICAgICAicHJpY2VfY24iOiAwLjI4ODYsDQogICAgICAgICAgICAicHJpY2VfdXMiOiAwLjI4ODYNCiAgICAgICAgfSwNCiAgICAgICAgew0KICAgICAgICAgICAgInB1cmNoYXNlcyI6IDI1LA0KICAgICAgICAgICAgInByaWNlX2NuIjogMC4yNjYyLA0KICAgICAgICAgICAgInByaWNlX3VzIjogMC4yNjYyDQogICAgICAgIH0sDQogICAgICAgIHsNCiAgICAgICAgICAgICJwdXJjaGFzZXMiOiAxMDAsDQogICAgICAgICAgICAicHJpY2VfY24iOiAwLjIyNDUsDQogICAgICAgICAgICAicHJpY2VfdXMiOiAwLjIyNDUNCiAgICAgICAgfSwNCiAgICAgICAgew0KICAgICAgICAgICAgInB1cmNoYXNlcyI6IDUwMCwNCiAgICAgICAgICAgICJwcmljZV9jbiI6IDAuMjA4NSwNCiAgICAgICAgICAgICJwcmljZV91cyI6IDAuMjA4NQ0KICAgICAgICB9LA0KICAgICAgICB7DQogICAgICAgICAgICAicHVyY2hhc2VzIjogMTAwMCwNCiAgICAgICAgICAgICJwcmljZV9jbiI6IDAuMTkyNCwNCiAgICAgICAgICAgICJwcmljZV91cyI6IDAuMTkyNA0KICAgICAgICB9DQogICAgXSwNCiAgICAiYXR0cnMiOiB7fQ0KfQ=="errMsg:Key: 'LySaveRequest.GoodsName' Error:Field validation for 'GoodsName' failed on the 'required' tag
2020-11-27 14:56:49----接收参数:{ "stock": 2055,
"pn": "maritex",
"is_api": 0,
"url": "https://en.maritex.com.pl/acoustics/audio_transducers/magnetic_buzzers_without_driving_circuit/cfd02-e.html",
"goods_sn": "CFD02-E",
"brand_name": "Changzhou EST ELECTRONICS Co.,Ltd.",
"is_error": 0,
"supplier_id": 17,
"canal": "L0010826",
"mpq": 1,
"moq": 1,
"pdf": "",
"hk_delivery_time": "5-7\u5de5\u4f5c\u65e5",
"cn_delivery_time": "6-12\u5de5\u4f5c\u65e5",
"ladder_price": [
{
"purchases": 1,
"price_cn": 0.2886,
"price_us": 0.2886
},
{
"purchases": 25,
"price_cn": 0.2662,
"price_us": 0.2662
},
{
"purchases": 100,
"price_cn": 0.2245,
"price_us": 0.2245
},
{
"purchases": 500,
"price_cn": 0.2085,
"price_us": 0.2085
},
{
"purchases": 1000,
"price_cn": 0.1924,
"price_us": 0.1924
}
],
"attrs": {}
}errMsg:Key: 'LySaveRequest.GoodsName' Error:Field validation for 'GoodsName' failed on the 'required' tag
2020-11-27 14:57:13----接收参数:123errMsg:错误
2020-11-27 14:57:41----接收参数:123errMsg:错误
2020-11-27 15:01:36----接收参数:{"attr[age]":["18"],"attr[name]":["王松"],"goods_name":["123"]}errMsg:Key: 'LySaveRequest.BrandName' Error:Field validation for 'BrandName' failed on the 'required' tag
Key: 'LySaveRequest.SupplierId' Error:Field validation for 'SupplierId' failed on the 'required' tag
Key: 'LySaveRequest.Moq' Error:Field validation for 'Moq' failed on the 'required' tag
Key: 'LySaveRequest.Mpq' Error:Field validation for 'Mpq' failed on the 'required' tag
2020-11-27 15:01:43----接收参数:{"attr[age]":["18"],"attr[name]":["王松"],"goods_name":["123"]}errMsg:Key: 'LySaveRequest.BrandName' Error:Field validation for 'BrandName' failed on the 'required' tag
Key: 'LySaveRequest.SupplierId' Error:Field validation for 'SupplierId' failed on the 'required' tag
Key: 'LySaveRequest.Moq' Error:Field validation for 'Moq' failed on the 'required' tag
Key: 'LySaveRequest.Mpq' Error:Field validation for 'Mpq' failed on the 'required' tag
2020-11-27 15:02:36----接收参数:{"attr[age]":["18"],"attr[name]":["王松"],"goods_name":["123"]}errMsg:Key: 'LySaveRequest.BrandName' Error:Field validation for 'BrandName' failed on the 'required' tag
Key: 'LySaveRequest.SupplierId' Error:Field validation for 'SupplierId' failed on the 'required' tag
Key: 'LySaveRequest.Moq' Error:Field validation for 'Moq' failed on the 'required' tag
Key: 'LySaveRequest.Mpq' Error:Field validation for 'Mpq' failed on the 'required' tag
2020-11-27 15:04:07----接收参数:{"attrs[age]":["18"],"attrs[name]":["王松"],"goods_name":["123"]}errMsg:Key: 'LySaveRequest.BrandName' Error:Field validation for 'BrandName' failed on the 'required' tag
Key: 'LySaveRequest.SupplierId' Error:Field validation for 'SupplierId' failed on the 'required' tag
Key: 'LySaveRequest.Moq' Error:Field validation for 'Moq' failed on the 'required' tag
Key: 'LySaveRequest.Mpq' Error:Field validation for 'Mpq' failed on the 'required' tag
2020-11-27 15:04:07----接收参数:{"attrs[age]":["18"],"attrs[name]":["王松"],"goods_name":["123"]}errMsg:Key: 'LySaveRequest.BrandName' Error:Field validation for 'BrandName' failed on the 'required' tag
Key: 'LySaveRequest.SupplierId' Error:Field validation for 'SupplierId' failed on the 'required' tag
Key: 'LySaveRequest.Moq' Error:Field validation for 'Moq' failed on the 'required' tag
Key: 'LySaveRequest.Mpq' Error:Field validation for 'Mpq' failed on the 'required' tag
2020-11-27 15:05:59----接收参数:{"attrs":["{“name”:\"wangsong\",\"age\":13}"],"goods_name":["123"]}errMsg:unknown type
2020-11-27 15:06:03----接收参数:{"attrs":["'{“name”:\"wangsong\",\"age\":13}'"],"goods_name":["123"]}errMsg:unknown type
2020-11-27 15:09:56----接收参数:{"attrs":["{“name”:\"wangsong\",\"age\":13}"],"goods_name":["123"]}errMsg:unknown type
2020-11-27 15:11:46----接收参数:{"attrs":["{\"a\":123}"],"goods_name":["123"]}errMsg:unknown type
2020-11-27 15:12:29----接收参数:{"attrs":["sdfsdf"],"goods_name":["123"]}errMsg:unknown type
2020-11-27 15:12:49----接收参数:{"LadderPrice":["123"],"attrs":["sdfsdf123123"],"goods_name":["123"],"spu_brief":["123"]}errMsg:unknown type
2020-11-27 15:13:23----接收参数:{"LadderPrice":["123"],"attrs":["sdfsdf123123"],"encap":["123"],"goods_name":["123"],"spu_brief":["123"]}errMsg:unknown type
2020-11-27 15:13:28----接收参数:{"LadderPrice":["123"],"attrs":["\"sdfsdf123123\""],"encap":["123"],"goods_name":["123"],"spu_brief":["123"]}errMsg:unknown type
2020-11-27 15:16:52----接收参数:{"LadderPrice":["123"],"attrs":["\"sdfsdf123123\""],"encap":["123"],"goods_name":["123"],"spu_brief":["123"]}errMsg:Key: 'LySaveRequest.BrandName' Error:Field validation for 'BrandName' failed on the 'required' tag
Key: 'LySaveRequest.SupplierId' Error:Field validation for 'SupplierId' failed on the 'required' tag
Key: 'LySaveRequest.Moq' Error:Field validation for 'Moq' failed on the 'required' tag
Key: 'LySaveRequest.Mpq' Error:Field validation for 'Mpq' failed on the 'required' tag
2020-11-27 15:20:07----接收参数:{"LadderPrice":["123"],"attrs":["\"sdfsdf123123\""],"encap":["123"],"goods_name":["123"],"spu_brief":["123"]}errMsg:unknown type
2020-11-27 15:24:47----接收参数:{"LadderPrice":["123"],"attrs":["\"sdfsdf123123\""],"encap":["123"],"goods_name":["123"],"spu_brief":["123"]}errMsg:json: cannot unmarshal string into Go value of type map[string]interface {}
\ No newline at end of file
2020-11-30 10:35:12----接收参数:{ "stock": 2055,
"pn": "maritex",
"is_api": 0,
"url": "https://en.maritex.com.pl/acoustics/audio_transducers/magnetic_buzzers_without_driving_circuit/cfd02-e.html",
"goods_name": "CFD02-E",
"goods_sn": "CFD02-E",
"brand_name": "Changzhou EST ELECTRONICS Co.,Ltd.",
"is_error": 0,
"supplier_id": 17,
"canal": "L0010826",
"mpq": 1,
"moq": 1,
"pdf": "",
"hk_delivery_time": "5-7\u5de5\u4f5c\u65e5",
"cn_delivery_time": "6-12\u5de5\u4f5c\u65e5",
"ladder_price": [
{
"purchases": 1,
"price_cn": 0.2886,
"price_us": 0.2886
},
{
"purchases": 25,
"price_cn": 0.2662,
"price_us": 0.2662
},
{
"purchases": 100,
"price_cn": 0.2245,
"price_us": 0.2245
},
{
"purchases": 500,
"price_cn": 0.2085,
"price_us": 0.2085
},
{
"purchases": 1000,
"price_cn": 0.1924,
"price_us": 0.1924
}
],
"attrs": {"name":"wangsong","age":12}
}errMsg:获取基石供应商详情失败needs a pointer to a slice or a map
2020-11-30 10:36:27----接收参数:{ "stock": 2055,
"pn": "maritex",
"is_api": 0,
"url": "https://en.maritex.com.pl/acoustics/audio_transducers/magnetic_buzzers_without_driving_circuit/cfd02-e.html",
"goods_name": "CFD02-E",
"goods_sn": "CFD02-E",
"brand_name": "Changzhou EST ELECTRONICS Co.,Ltd.",
"is_error": 0,
"supplier_id": 17,
"canal": "L0010826",
"mpq": 1,
"moq": 1,
"pdf": "",
"hk_delivery_time": "5-7\u5de5\u4f5c\u65e5",
"cn_delivery_time": "6-12\u5de5\u4f5c\u65e5",
"ladder_price": [
{
"purchases": 1,
"price_cn": 0.2886,
"price_us": 0.2886
},
{
"purchases": 25,
"price_cn": 0.2662,
"price_us": 0.2662
},
{
"purchases": 100,
"price_cn": 0.2245,
"price_us": 0.2245
},
{
"purchases": 500,
"price_cn": 0.2085,
"price_us": 0.2085
},
{
"purchases": 1000,
"price_cn": 0.1924,
"price_us": 0.1924
}
],
"attrs": {"name":"wangsong","age":12}
}errMsg:获取基石供应商详情失败needs a pointer to a slice or a map
2020-11-30 13:39:25----接收参数:{ "stock": 2055,
"pn": "maritex",
"is_api": 0,
"url": "https://en.maritex.com.pl/acoustics/audio_transducers/magnetic_buzzers_without_driving_circuit/cfd02-e.html",
"goods_name": "CFD02-E",
"goods_sn": "CFD02-E",
"brand_name": "Changzhou EST ELECTRONICS Co.,Ltd.",
"is_error": 0,
"supplier_id": 17,
"canal": "L0010826",
"mpq": 1,
"moq": 1,
"pdf": "",
"hk_delivery_time": "5-7\u5de5\u4f5c\u65e5",
"cn_delivery_time": "6-12\u5de5\u4f5c\u65e5",
"ladder_price": [
{
"purchases": 1,
"price_cn": 0.2886,
"price_us": 0.2886
},
{
"purchases": 25,
"price_cn": 0.2662,
"price_us": 0.2662
},
{
"purchases": 100,
"price_cn": 0.2245,
"price_us": 0.2245
},
{
"purchases": 500,
"price_cn": 0.2085,
"price_us": 0.2085
},
{
"purchases": 1000,
"price_cn": 0.1924,
"price_us": 0.1924
}
],
"attrs": {"name":"wangsong","age":12}
}错误:reflect: call of reflect.Value.Elem on struct Value
2020-11-30 13:40:18----接收参数:{ "stock": 2055,
"pn": "maritex",
"is_api": 0,
"url": "https://en.maritex.com.pl/acoustics/audio_transducers/magnetic_buzzers_without_driving_circuit/cfd02-e.html",
"goods_name": "CFD02-E",
"goods_sn": "CFD02-E",
"brand_name": "Changzhou EST ELECTRONICS Co.,Ltd.",
"is_error": 0,
"supplier_id": 17,
"canal": "L0010826",
"mpq": 1,
"moq": 1,
"pdf": "",
"hk_delivery_time": "5-7\u5de5\u4f5c\u65e5",
"cn_delivery_time": "6-12\u5de5\u4f5c\u65e5",
"ladder_price": [
{
"purchases": 1,
"price_cn": 0.2886,
"price_us": 0.2886
},
{
"purchases": 25,
"price_cn": 0.2662,
"price_us": 0.2662
},
{
"purchases": 100,
"price_cn": 0.2245,
"price_us": 0.2245
},
{
"purchases": 500,
"price_cn": 0.2085,
"price_us": 0.2085
},
{
"purchases": 1000,
"price_cn": 0.1924,
"price_us": 0.1924
}
],
"attrs": {"name":"wangsong","age":12}
}errMsg:获取基石供应商详情失败a pointer to a pointer is not allowed
2020-11-30 13:41:12----接收参数:{ "stock": 2055,
"pn": "maritex",
"is_api": 0,
"url": "https://en.maritex.com.pl/acoustics/audio_transducers/magnetic_buzzers_without_driving_circuit/cfd02-e.html",
"goods_name": "CFD02-E",
"goods_sn": "CFD02-E",
"brand_name": "Changzhou EST ELECTRONICS Co.,Ltd.",
"is_error": 0,
"supplier_id": 17,
"canal": "L0010826",
"mpq": 1,
"moq": 1,
"pdf": "",
"hk_delivery_time": "5-7\u5de5\u4f5c\u65e5",
"cn_delivery_time": "6-12\u5de5\u4f5c\u65e5",
"ladder_price": [
{
"purchases": 1,
"price_cn": 0.2886,
"price_us": 0.2886
},
{
"purchases": 25,
"price_cn": 0.2662,
"price_us": 0.2662
},
{
"purchases": 100,
"price_cn": 0.2245,
"price_us": 0.2245
},
{
"purchases": 500,
"price_cn": 0.2085,
"price_us": 0.2085
},
{
"purchases": 1000,
"price_cn": 0.1924,
"price_us": 0.1924
}
],
"attrs": {"name":"wangsong","age":12}
}errMsg:获取基石供应商详情失败Error 1054: Unknown column 'spu_id' in 'where clause'
2020-11-30 13:43:24----接收参数:{ "stock": 2055,
"pn": "maritex",
"is_api": 0,
"url": "https://en.maritex.com.pl/acoustics/audio_transducers/magnetic_buzzers_without_driving_circuit/cfd02-e.html",
"goods_name": "CFD02-E",
"goods_sn": "CFD02-E",
"brand_name": "Changzhou EST ELECTRONICS Co.,Ltd.",
"is_error": 0,
"supplier_id": 17,
"canal": "L0010826",
"mpq": 1,
"moq": 1,
"pdf": "",
"hk_delivery_time": "5-7\u5de5\u4f5c\u65e5",
"cn_delivery_time": "6-12\u5de5\u4f5c\u65e5",
"ladder_price": [
{
"purchases": 1,
"price_cn": 0.2886,
"price_us": 0.2886
},
{
"purchases": 25,
"price_cn": 0.2662,
"price_us": 0.2662
},
{
"purchases": 100,
"price_cn": 0.2245,
"price_us": 0.2245
},
{
"purchases": 500,
"price_cn": 0.2085,
"price_us": 0.2085
},
{
"purchases": 1000,
"price_cn": 0.1924,
"price_us": 0.1924
}
],
"attrs": {"name":"wangsong","age":12}
}错误:runtime error: invalid memory address or nil pointer dereference
2020-11-30 13:44:24----接收参数:{ "stock": 2055,
"pn": "maritex",
"is_api": 0,
"url": "https://en.maritex.com.pl/acoustics/audio_transducers/magnetic_buzzers_without_driving_circuit/cfd02-e.html",
"goods_name": "CFD02-E",
"goods_sn": "CFD02-E",
"brand_name": "Changzhou EST ELECTRONICS Co.,Ltd.",
"is_error": 0,
"supplier_id": 17,
"canal": "L0010826",
"mpq": 1,
"moq": 1,
"pdf": "",
"hk_delivery_time": "5-7\u5de5\u4f5c\u65e5",
"cn_delivery_time": "6-12\u5de5\u4f5c\u65e5",
"ladder_price": [
{
"purchases": 1,
"price_cn": 0.2886,
"price_us": 0.2886
},
{
"purchases": 25,
"price_cn": 0.2662,
"price_us": 0.2662
},
{
"purchases": 100,
"price_cn": 0.2245,
"price_us": 0.2245
},
{
"purchases": 500,
"price_cn": 0.2085,
"price_us": 0.2085
},
{
"purchases": 1000,
"price_cn": 0.1924,
"price_us": 0.1924
}
],
"attrs": {"name":"wangsong","age":12}
}错误:runtime error: invalid memory address or nil pointer dereference
2020-11-30 13:45:04----接收参数:{ "stock": 2055,
"pn": "maritex",
"is_api": 0,
"url": "https://en.maritex.com.pl/acoustics/audio_transducers/magnetic_buzzers_without_driving_circuit/cfd02-e.html",
"goods_name": "CFD02-E",
"goods_sn": "CFD02-E",
"brand_name": "Changzhou EST ELECTRONICS Co.,Ltd.",
"is_error": 0,
"supplier_id": 17,
"canal": "L0010826",
"mpq": 1,
"moq": 1,
"pdf": "",
"hk_delivery_time": "5-7\u5de5\u4f5c\u65e5",
"cn_delivery_time": "6-12\u5de5\u4f5c\u65e5",
"ladder_price": [
{
"purchases": 1,
"price_cn": 0.2886,
"price_us": 0.2886
},
{
"purchases": 25,
"price_cn": 0.2662,
"price_us": 0.2662
},
{
"purchases": 100,
"price_cn": 0.2245,
"price_us": 0.2245
},
{
"purchases": 500,
"price_cn": 0.2085,
"price_us": 0.2085
},
{
"purchases": 1000,
"price_cn": 0.1924,
"price_us": 0.1924
}
],
"attrs": {"name":"wangsong","age":12}
}错误:runtime error: invalid memory address or nil pointer dereference
2020-11-30 15:49:20----接收参数:{ "stock": 2055,
"pn": "maritex",
"is_api": 0,
"url": "https://en.maritex.com.pl/acoustics/audio_transducers/magnetic_buzzers_without_driving_circuit/cfd02-e.html",
"goods_name": "CFD02-E",
"goods_sn": "CFD02-E",
"brand_name": "Changzhou EST ELECTRONICS Co.,Ltd.",
"is_error": 0,
"supplier_id": 17,
"canal": "L0010826",
"mpq": 1,
"moq": 1,
"pdf": "",
"hk_delivery_time": "5-7\u5de5\u4f5c\u65e5",
"cn_delivery_time": "6-12\u5de5\u4f5c\u65e5",
"ladder_price": [
{
"purchases1": 1,
"price_cn": 0.2886,
"price_us": 0.2886
},
{
"purchases": 25,
"price_cn": 0.2662,
"price_us": 0.2662
},
{
"purchases": 100,
"price_cn": 0.2245,
"price_us": 0.2245
},
{
"purchases": 500,
"price_cn": 0.2085,
"price_us": 0.2085
},
{
"purchases": 1000,
"price_cn": 0.1924,
"price_us": 0.1924
}
],
"attrs": {"name":"wangsong","age":12}
}errMsg:没有获取到渠道L0010826的内部编码
2020-11-30 15:55:30----接收参数:{ "stock": 2055,
"pn": "maritex",
"is_api": 0,
"url": "https://en.maritex.com.pl/acoustics/audio_transducers/magnetic_buzzers_without_driving_circuit/cfd02-e.html",
"goods_name": "CFD02-E",
"goods_sn": "CFD02-E",
"brand_name": "Changzhou EST ELECTRONICS Co.,Ltd.",
"is_error": 0,
"supplier_id": 17,
"canal": "L0010826",
"mpq": 1,
"moq": 1,
"pdf": "",
"hk_delivery_time": "5-7\u5de5\u4f5c\u65e5",
"cn_delivery_time": "6-12\u5de5\u4f5c\u65e5",
"ladder_price": [
{
"purchases": 1,
"price_cn": 0.2886,
"price_us": 0.2886
},
{
"purchases": 25,
"price_cn": 0.2662,
"price_us": 0.2662
},
{
"purchases": 100,
"price_cn": 0.2245,
"price_us": 0.2245
},
{
"purchases": 500,
"price_cn": 0.2085,
"price_us": 0.2085
},
{
"purchases": 1000,
"price_cn": 0.1924,
"price_us": 0.1924
}
],
"attrs": {"name":"wangsong","age":12}
}错误:runtime error: index out of range [5] with length 5
2020-11-30 15:55:50----接收参数:{ "stock": 2055,
"pn": "maritex",
"is_api": 0,
"url": "https://en.maritex.com.pl/acoustics/audio_transducers/magnetic_buzzers_without_driving_circuit/cfd02-e.html",
"goods_name": "CFD02-E",
"goods_sn": "CFD02-E",
"brand_name": "Changzhou EST ELECTRONICS Co.,Ltd.",
"is_error": 0,
"supplier_id": 17,
"canal": "L0010826",
"mpq": 1,
"moq": 1,
"pdf": "",
"hk_delivery_time": "5-7\u5de5\u4f5c\u65e5",
"cn_delivery_time": "6-12\u5de5\u4f5c\u65e5",
"ladder_price": [
{
"purchases": 1,
"price_cn": 0.2886,
"price_us": 0.2886
},
{
"purchases": 25,
"price_cn": 0.2662,
"price_us": 0.2662
},
{
"purchases": 100,
"price_cn": 0.2245,
"price_us": 0.2245
},
{
"purchases": 500,
"price_cn": 0.2085,
"price_us": 0.2085
},
{
"purchases": 1000,
"price_cn": 0.1924,
"price_us": 0.1924
}
],
"attrs": {"name":"wangsong","age":12}
}错误:runtime error: index out of range [5] with length 5
2020-11-30 15:56:19----接收参数:{ "stock": 2055,
"pn": "maritex",
"is_api": 0,
"url": "https://en.maritex.com.pl/acoustics/audio_transducers/magnetic_buzzers_without_driving_circuit/cfd02-e.html",
"goods_name": "CFD02-E",
"goods_sn": "CFD02-E",
"brand_name": "Changzhou EST ELECTRONICS Co.,Ltd.",
"is_error": 0,
"supplier_id": 17,
"canal": "L0010826",
"mpq": 1,
"moq": 1,
"pdf": "",
"hk_delivery_time": "5-7\u5de5\u4f5c\u65e5",
"cn_delivery_time": "6-12\u5de5\u4f5c\u65e5",
"ladder_price": [
{
"purchases": 1,
"price_cn": 0.2886,
"price_us": 0.2886
},
{
"purchases": 25,
"price_cn": 0.2662,
"price_us": 0.2662
},
{
"purchases": 100,
"price_cn": 0.2245,
"price_us": 0.2245
},
{
"purchases": 500,
"price_cn": 0.2085,
"price_us": 0.2085
},
{
"purchases": 1000,
"price_cn": 0.1924,
"price_us": 0.1924
}
],
"attrs": {"name":"wangsong","age":12}
}错误:runtime error: index out of range [5] with length 5
2020-11-30 15:56:26----接收参数:{ "stock": 2055,
"pn": "maritex",
"is_api": 0,
"url": "https://en.maritex.com.pl/acoustics/audio_transducers/magnetic_buzzers_without_driving_circuit/cfd02-e.html",
"goods_name": "CFD02-E",
"goods_sn": "CFD02-E",
"brand_name": "Changzhou EST ELECTRONICS Co.,Ltd.",
"is_error": 0,
"supplier_id": 17,
"canal": "L0010826",
"mpq": 1,
"moq": 1,
"pdf": "",
"hk_delivery_time": "5-7\u5de5\u4f5c\u65e5",
"cn_delivery_time": "6-12\u5de5\u4f5c\u65e5",
"ladder_price": [
{
"purchases": 1,
"price_cn": 0.2886,
"price_us": 0.2886
},
{
"purchases": 25,
"price_cn": 0.2662,
"price_us": 0.2662
},
{
"purchases": 100,
"price_cn": 0.2245,
"price_us": 0.2245
},
{
"purchases": 500,
"price_cn": 0.2085,
"price_us": 0.2085
},
{
"purchases": 1000,
"price_cn": 0.1924,
"price_us": 0.1924
}
],
"attrs": {"name":"wangsong","age":12}
}错误:runtime error: index out of range [5] with length 5
2020-11-30 15:57:00----接收参数:{ "stock": 2055,
"pn": "maritex",
"is_api": 0,
"url": "https://en.maritex.com.pl/acoustics/audio_transducers/magnetic_buzzers_without_driving_circuit/cfd02-e.html",
"goods_name": "CFD02-E",
"goods_sn": "CFD02-E",
"brand_name": "Changzhou EST ELECTRONICS Co.,Ltd.",
"is_error": 0,
"supplier_id": 17,
"canal": "L0010826",
"mpq": 1,
"moq": 1,
"pdf": "",
"hk_delivery_time": "5-7\u5de5\u4f5c\u65e5",
"cn_delivery_time": "6-12\u5de5\u4f5c\u65e5",
"ladder_price": [
{
"purchases": 1,
"price_cn": 0.2886,
"price_us": 0.2886
},
{
"purchases": 25,
"price_cn": 0.2662,
"price_us": 0.2662
},
{
"purchases": 100,
"price_cn": 0.2245,
"price_us": 0.2245
},
{
"purchases": 500,
"price_cn": 0.2085,
"price_us": 0.2085
},
{
"purchases": 1000,
"price_cn": 0.1924,
"price_us": 0.1924
}
],
"attrs": {"name":"wangsong","age":12}
}错误:runtime error: index out of range [5] with length 5
2020-11-30 15:58:52----接收参数:{ "stock": 2055,
"pn": "maritex",
"is_api": 0,
"url": "https://en.maritex.com.pl/acoustics/audio_transducers/magnetic_buzzers_without_driving_circuit/cfd02-e.html",
"goods_name": "CFD02-E",
"goods_sn": "CFD02-E",
"brand_name": "Changzhou EST ELECTRONICS Co.,Ltd.",
"is_error": 0,
"supplier_id": 17,
"canal": "L0010826",
"mpq": 1,
"moq": 1,
"pdf": "",
"hk_delivery_time": "5-7\u5de5\u4f5c\u65e5",
"cn_delivery_time": "6-12\u5de5\u4f5c\u65e5",
"ladder_price": [
{
"purchases": 1,
"price_cn": 0.2886,
"price_us": 0.2886
},
{
"purchases": 25,
"price_cn": 0.2662,
"price_us": 0.2662
},
{
"purchases": 100,
"price_cn": 0.2245,
"price_us": 0.2245
},
{
"purchases": 500,
"price_cn": 0.2085,
"price_us": 0.2085
},
{
"purchases": 1000,
"price_cn": 0.1924,
"price_us": 0.1924
}
],
"attrs": {"name":"wangsong","age":12}
}错误:runtime error: index out of range [5] with length 5
2020-11-30 15:59:40----接收参数:{ "stock": 2055,
"pn": "maritex",
"is_api": 0,
"url": "https://en.maritex.com.pl/acoustics/audio_transducers/magnetic_buzzers_without_driving_circuit/cfd02-e.html",
"goods_name": "CFD02-E",
"goods_sn": "CFD02-E",
"brand_name": "Changzhou EST ELECTRONICS Co.,Ltd.",
"is_error": 0,
"supplier_id": 17,
"canal": "L0010826",
"mpq": 1,
"moq": 1,
"pdf": "",
"hk_delivery_time": "5-7\u5de5\u4f5c\u65e5",
"cn_delivery_time": "6-12\u5de5\u4f5c\u65e5",
"ladder_price": [
{
"purchases": 1,
"price_cn": 0.2886,
"price_us": 0.2886
},
{
"purchases": 25,
"price_cn": 0.2662,
"price_us": 0.2662
},
{
"purchases": 100,
"price_cn": 0.2245,
"price_us": 0.2245
},
{
"purchases": 500,
"price_cn": 0.2085,
"price_us": 0.2085
},
{
"purchases": 1000,
"price_cn": 0.1924,
"price_us": 0.1924
}
],
"attrs": {"name":"wangsong","age":12}
}errMsg:调用spu server saveSpu接口报错parse "http://localhost:60015saveSpu": invalid port ":60015saveSpu" after host
2020-11-30 16:04:39----接收参数:{ "stock": 2055,
"pn": "maritex",
"is_api": 0,
"url": "https://en.maritex.com.pl/acoustics/audio_transducers/magnetic_buzzers_without_driving_circuit/cfd02-e.html",
"goods_name": "CFD02-E",
"goods_sn": "CFD02-E",
"brand_name": "Changzhou EST ELECTRONICS Co.,Ltd.",
"is_error": 0,
"supplier_id": 17,
"canal": "L0010826",
"mpq": 1,
"moq": 1,
"pdf": "",
"hk_delivery_time": "5-7\u5de5\u4f5c\u65e5",
"cn_delivery_time": "6-12\u5de5\u4f5c\u65e5",
"ladder_price": [
{
"purchases": 1,
"price_cn": 0.2886,
"price_us": 0.2886
},
{
"purchases": 25,
"price_cn": 0.2662,
"price_us": 0.2662
},
{
"purchases": 100,
"price_cn": 0.2245,
"price_us": 0.2245
},
{
"purchases": 500,
"price_cn": 0.2085,
"price_us": 0.2085
},
{
"purchases": 1000,
"price_cn": 0.1924,
"price_us": 0.1924
}
],
"attrs": {"name":"wangsong","age":12}
}errMsg:调用spu server saveSpu接口报错json: cannot unmarshal number into Go value of type saveModel.LySpuResponse
2020-11-30 16:08:19----接收参数:{ "stock": 2055,
"pn": "maritex",
"is_api": 0,
"url": "https://en.maritex.com.pl/acoustics/audio_transducers/magnetic_buzzers_without_driving_circuit/cfd02-e.html",
"goods_name": "CFD02-E",
"goods_sn": "CFD02-E",
"brand_name": "Changzhou EST ELECTRONICS Co.,Ltd.",
"is_error": 0,
"supplier_id": 17,
"canal": "L0010826",
"mpq": 1,
"moq": 1,
"pdf": "",
"hk_delivery_time": "5-7\u5de5\u4f5c\u65e5",
"cn_delivery_time": "6-12\u5de5\u4f5c\u65e5",
"ladder_price": [
{
"purchases": 1,
"price_cn": 0.2886,
"price_us": 0.2886
},
{
"purchases": 25,
"price_cn": 0.2662,
"price_us": 0.2662
},
{
"purchases": 100,
"price_cn": 0.2245,
"price_us": 0.2245
},
{
"purchases": 500,
"price_cn": 0.2085,
"price_us": 0.2085
},
{
"purchases": 1000,
"price_cn": 0.1924,
"price_us": 0.1924
}
],
"attrs": {"name":"wangsong","age":12}
}errMsg:调用spu server saveSpu接口报错json: cannot unmarshal number into Go value of type saveModel.LySpuResponse
2020-11-30 16:09:35----接收参数:{ "stock": 2055,
"pn": "maritex",
"is_api": 0,
"url": "https://en.maritex.com.pl/acoustics/audio_transducers/magnetic_buzzers_without_driving_circuit/cfd02-e.html",
"goods_name": "CFD02-E",
"goods_sn": "CFD02-E",
"brand_name": "Changzhou EST ELECTRONICS Co.,Ltd.",
"is_error": 0,
"supplier_id": 17,
"canal": "L0010826",
"mpq": 1,
"moq": 1,
"pdf": "",
"hk_delivery_time": "5-7\u5de5\u4f5c\u65e5",
"cn_delivery_time": "6-12\u5de5\u4f5c\u65e5",
"ladder_price": [
{
"purchases": 1,
"price_cn": 0.2886,
"price_us": 0.2886
},
{
"purchases": 25,
"price_cn": 0.2662,
"price_us": 0.2662
},
{
"purchases": 100,
"price_cn": 0.2245,
"price_us": 0.2245
},
{
"purchases": 500,
"price_cn": 0.2085,
"price_us": 0.2085
},
{
"purchases": 1000,
"price_cn": 0.1924,
"price_us": 0.1924
}
],
"attrs": {"name":"wangsong","age":12}
}errMsg:调用spu server saveSpu接口报错json: cannot unmarshal number into Go value of type saveModel.LySpuResponse
2020-11-30 16:11:27----接收参数:{ "stock": 2055,
"pn": "maritex",
"is_api": 0,
"url": "https://en.maritex.com.pl/acoustics/audio_transducers/magnetic_buzzers_without_driving_circuit/cfd02-e.html",
"goods_name": "CFD02-E",
"goods_sn": "CFD02-E",
"brand_name": "Changzhou EST ELECTRONICS Co.,Ltd.",
"is_error": 0,
"supplier_id": 17,
"canal": "L0010826",
"mpq": 1,
"moq": 1,
"pdf": "",
"hk_delivery_time": "5-7\u5de5\u4f5c\u65e5",
"cn_delivery_time": "6-12\u5de5\u4f5c\u65e5",
"ladder_price": [
{
"purchases": 1,
"price_cn": 0.2886,
"price_us": 0.2886
},
{
"purchases": 25,
"price_cn": 0.2662,
"price_us": 0.2662
},
{
"purchases": 100,
"price_cn": 0.2245,
"price_us": 0.2245
},
{
"purchases": 500,
"price_cn": 0.2085,
"price_us": 0.2085
},
{
"purchases": 1000,
"price_cn": 0.1924,
"price_us": 0.1924
}
],
"attrs": {"name":"wangsong","age":12}
}errMsg:调用spu server saveSpu接口报错json: cannot unmarshal number into Go value of type saveModel.LySpuResponse
2020-11-30 16:18:54----接收参数:{ "stock": 2055,
"pn": "maritex",
"is_api": 0,
"url": "https://en.maritex.com.pl/acoustics/audio_transducers/magnetic_buzzers_without_driving_circuit/cfd02-e.html",
"goods_name": "CFD02-E",
"goods_sn": "CFD02-E",
"brand_name": "Changzhou EST ELECTRONICS Co.,Ltd.",
"is_error": 0,
"supplier_id": 17,
"canal": "L0010826",
"mpq": 1,
"moq": 1,
"pdf": "",
"hk_delivery_time": "5-7\u5de5\u4f5c\u65e5",
"cn_delivery_time": "6-12\u5de5\u4f5c\u65e5",
"ladder_price": [
{
"purchases": 1,
"price_cn": 0.2886,
"price_us": 0.2886
},
{
"purchases": 25,
"price_cn": 0.2662,
"price_us": 0.2662
},
{
"purchases": 100,
"price_cn": 0.2245,
"price_us": 0.2245
},
{
"purchases": 500,
"price_cn": 0.2085,
"price_us": 0.2085
},
{
"purchases": 1000,
"price_cn": 0.1924,
"price_us": 0.1924
}
],
"attrs": {"name":"wangsong","age":12}
}errMsg:调用spu server saveSpu接口报错json: cannot unmarshal number into Go value of type saveModel.LySpuResponse
2020-11-30 16:19:07----接收参数:{ "stock": 2055,
"pn": "maritex",
"is_api": 0,
"url": "https://en.maritex.com.pl/acoustics/audio_transducers/magnetic_buzzers_without_driving_circuit/cfd02-e.html",
"goods_name": "CFD02-E",
"goods_sn": "CFD02-E",
"brand_name": "Changzhou EST ELECTRONICS Co.,Ltd.",
"is_error": 0,
"supplier_id": 17,
"canal": "L0010826",
"mpq": 1,
"moq": 1,
"pdf": "",
"hk_delivery_time": "5-7\u5de5\u4f5c\u65e5",
"cn_delivery_time": "6-12\u5de5\u4f5c\u65e5",
"ladder_price": [
{
"purchases": 1,
"price_cn": 0.2886,
"price_us": 0.2886
},
{
"purchases": 25,
"price_cn": 0.2662,
"price_us": 0.2662
},
{
"purchases": 100,
"price_cn": 0.2245,
"price_us": 0.2245
},
{
"purchases": 500,
"price_cn": 0.2085,
"price_us": 0.2085
},
{
"purchases": 1000,
"price_cn": 0.1924,
"price_us": 0.1924
}
],
"attrs": {"name":"wangsong","age":12}
}errMsg:调用spu server saveSpu接口报错json: cannot unmarshal number into Go value of type saveModel.LySpuResponse
2020-11-30 16:19:12----接收参数:{ "stock": 2055,
"pn": "maritex",
"is_api": 0,
"url": "https://en.maritex.com.pl/acoustics/audio_transducers/magnetic_buzzers_without_driving_circuit/cfd02-e.html",
"goods_name": "CFD02-E",
"goods_sn": "CFD02-E",
"brand_name": "Changzhou EST ELECTRONICS Co.,Ltd.",
"is_error": 0,
"supplier_id": 17,
"canal": "L0010826",
"mpq": 1,
"moq": 1,
"pdf": "",
"hk_delivery_time": "5-7\u5de5\u4f5c\u65e5",
"cn_delivery_time": "6-12\u5de5\u4f5c\u65e5",
"ladder_price": [
{
"purchases": 1,
"price_cn": 0.2886,
"price_us": 0.2886
},
{
"purchases": 25,
"price_cn": 0.2662,
"price_us": 0.2662
},
{
"purchases": 100,
"price_cn": 0.2245,
"price_us": 0.2245
},
{
"purchases": 500,
"price_cn": 0.2085,
"price_us": 0.2085
},
{
"purchases": 1000,
"price_cn": 0.1924,
"price_us": 0.1924
}
],
"attrs": {"name":"wangsong","age":12}
}errMsg:调用spu server saveSpu接口报错json: cannot unmarshal number into Go value of type saveModel.LySpuResponse
2020-11-30 16:19:16----接收参数:{ "stock": 2055,
"pn": "maritex",
"is_api": 0,
"url": "https://en.maritex.com.pl/acoustics/audio_transducers/magnetic_buzzers_without_driving_circuit/cfd02-e.html",
"goods_name": "CFD02-E",
"goods_sn": "CFD02-E",
"brand_name": "Changzhou EST ELECTRONICS Co.,Ltd.",
"is_error": 0,
"supplier_id": 17,
"canal": "L0010826",
"mpq": 1,
"moq": 1,
"pdf": "",
"hk_delivery_time": "5-7\u5de5\u4f5c\u65e5",
"cn_delivery_time": "6-12\u5de5\u4f5c\u65e5",
"ladder_price": [
{
"purchases": 1,
"price_cn": 0.2886,
"price_us": 0.2886
},
{
"purchases": 25,
"price_cn": 0.2662,
"price_us": 0.2662
},
{
"purchases": 100,
"price_cn": 0.2245,
"price_us": 0.2245
},
{
"purchases": 500,
"price_cn": 0.2085,
"price_us": 0.2085
},
{
"purchases": 1000,
"price_cn": 0.1924,
"price_us": 0.1924
}
],
"attrs": {"name":"wangsong","age":12}
}errMsg:调用spu server saveSpu接口报错json: cannot unmarshal number into Go value of type saveModel.LySpuResponse
2020-11-30 16:19:39----接收参数:{ "stock": 2055,
"pn": "maritex",
"is_api": 0,
"url": "https://en.maritex.com.pl/acoustics/audio_transducers/magnetic_buzzers_without_driving_circuit/cfd02-e.html",
"goods_name": "CFD02-E",
"goods_sn": "CFD02-E",
"brand_name": "Changzhou EST ELECTRONICS Co.,Ltd.",
"is_error": 0,
"supplier_id": 17,
"canal": "L0010826",
"mpq": 1,
"moq": 1,
"pdf": "",
"hk_delivery_time": "5-7\u5de5\u4f5c\u65e5",
"cn_delivery_time": "6-12\u5de5\u4f5c\u65e5",
"ladder_price": [
{
"purchases": 1,
"price_cn": 0.2886,
"price_us": 0.2886
},
{
"purchases": 25,
"price_cn": 0.2662,
"price_us": 0.2662
},
{
"purchases": 100,
"price_cn": 0.2245,
"price_us": 0.2245
},
{
"purchases": 500,
"price_cn": 0.2085,
"price_us": 0.2085
},
{
"purchases": 1000,
"price_cn": 0.1924,
"price_us": 0.1924
}
],
"attrs": {"name":"wangsong","age":12}
}errMsg:调用spu server saveSpu接口报错json: cannot unmarshal number into Go value of type saveModel.LySpuResponse
2020-11-30 16:28:47----接收参数:{ "stock": 2055,
"pn": "maritex",
"is_api": 0,
"url": "https://en.maritex.com.pl/acoustics/audio_transducers/magnetic_buzzers_without_driving_circuit/cfd02-e.html",
"goods_name": "CFD02-E",
"goods_sn": "CFD02-E",
"brand_name": "Changzhou EST ELECTRONICS Co.,Ltd.",
"is_error": 0,
"supplier_id": 17,
"canal": "L0010826",
"mpq": 1,
"moq": 1,
"pdf": "",
"hk_delivery_time": "5-7\u5de5\u4f5c\u65e5",
"cn_delivery_time": "6-12\u5de5\u4f5c\u65e5",
"ladder_price": [
{
"purchases": 1,
"price_cn": 0.2886,
"price_us": 0.2886
},
{
"purchases": 25,
"price_cn": 0.2662,
"price_us": 0.2662
},
{
"purchases": 100,
"price_cn": 0.2245,
"price_us": 0.2245
},
{
"purchases": 500,
"price_cn": 0.2085,
"price_us": 0.2085
},
{
"purchases": 1000,
"price_cn": 0.1924,
"price_us": 0.1924
}
],
"attrs": {"name":"wangsong","age":12}
}errMsg:调用spu server saveSpu接口报错type (reflect.Value) unknown type
2020-11-30 16:28:57----接收参数:{ "stock": 2055,
"pn": "maritex",
"is_api": 0,
"url": "https://en.maritex.com.pl/acoustics/audio_transducers/magnetic_buzzers_without_driving_circuit/cfd02-e.html",
"goods_name": "CFD02-E",
"goods_sn": "CFD02-E",
"brand_name": "Changzhou EST ELECTRONICS Co.,Ltd.",
"is_error": 0,
"supplier_id": 17,
"canal": "L0010826",
"mpq": 1,
"moq": 1,
"pdf": "",
"hk_delivery_time": "5-7\u5de5\u4f5c\u65e5",
"cn_delivery_time": "6-12\u5de5\u4f5c\u65e5",
"ladder_price": [
{
"purchases": 1,
"price_cn": 0.2886,
"price_us": 0.2886
},
{
"purchases": 25,
"price_cn": 0.2662,
"price_us": 0.2662
},
{
"purchases": 100,
"price_cn": 0.2245,
"price_us": 0.2245
},
{
"purchases": 500,
"price_cn": 0.2085,
"price_us": 0.2085
},
{
"purchases": 1000,
"price_cn": 0.1924,
"price_us": 0.1924
}
],
"attrs": {"name":"wangsong","age":12}
}errMsg:调用spu server saveSpu接口报错type (reflect.Value) unknown type
2020-11-30 16:29:37----接收参数:{ "stock": 2055,
"pn": "maritex",
"is_api": 0,
"url": "https://en.maritex.com.pl/acoustics/audio_transducers/magnetic_buzzers_without_driving_circuit/cfd02-e.html",
"goods_name": "CFD02-E",
"goods_sn": "CFD02-E",
"brand_name": "Changzhou EST ELECTRONICS Co.,Ltd.",
"is_error": 0,
"supplier_id": 17,
"canal": "L0010826",
"mpq": 1,
"moq": 1,
"pdf": "",
"hk_delivery_time": "5-7\u5de5\u4f5c\u65e5",
"cn_delivery_time": "6-12\u5de5\u4f5c\u65e5",
"ladder_price": [
{
"purchases": 1,
"price_cn": 0.2886,
"price_us": 0.2886
},
{
"purchases": 25,
"price_cn": 0.2662,
"price_us": 0.2662
},
{
"purchases": 100,
"price_cn": 0.2245,
"price_us": 0.2245
},
{
"purchases": 500,
"price_cn": 0.2085,
"price_us": 0.2085
},
{
"purchases": 1000,
"price_cn": 0.1924,
"price_us": 0.1924
}
],
"attrs": {"name":"wangsong","age":12}
}errMsg:调用spu server saveSpu接口报错type (reflect.Value) unknown type
2020-11-30 16:30:39----接收参数:{ "stock": 2055,
"pn": "maritex",
"is_api": 0,
"url": "https://en.maritex.com.pl/acoustics/audio_transducers/magnetic_buzzers_without_driving_circuit/cfd02-e.html",
"goods_name": "CFD02-E",
"goods_sn": "CFD02-E",
"brand_name": "Changzhou EST ELECTRONICS Co.,Ltd.",
"is_error": 0,
"supplier_id": 17,
"canal": "L0010826",
"mpq": 1,
"moq": 1,
"pdf": "",
"hk_delivery_time": "5-7\u5de5\u4f5c\u65e5",
"cn_delivery_time": "6-12\u5de5\u4f5c\u65e5",
"ladder_price": [
{
"purchases": 1,
"price_cn": 0.2886,
"price_us": 0.2886
},
{
"purchases": 25,
"price_cn": 0.2662,
"price_us": 0.2662
},
{
"purchases": 100,
"price_cn": 0.2245,
"price_us": 0.2245
},
{
"purchases": 500,
"price_cn": 0.2085,
"price_us": 0.2085
},
{
"purchases": 1000,
"price_cn": 0.1924,
"price_us": 0.1924
}
],
"attrs": {"name":"wangsong","age":12}
}errMsg:调用spu server saveSpu接口报错type (reflect.Value) unknown type
2020-11-30 16:32:40----接收参数:{ "stock": 2055,
"pn": "maritex",
"is_api": 0,
"url": "https://en.maritex.com.pl/acoustics/audio_transducers/magnetic_buzzers_without_driving_circuit/cfd02-e.html",
"goods_name": "CFD02-E",
"goods_sn": "CFD02-E",
"brand_name": "Changzhou EST ELECTRONICS Co.,Ltd.",
"is_error": 0,
"supplier_id": 17,
"canal": "L0010826",
"mpq": 1,
"moq": 1,
"pdf": "",
"hk_delivery_time": "5-7\u5de5\u4f5c\u65e5",
"cn_delivery_time": "6-12\u5de5\u4f5c\u65e5",
"ladder_price": [
{
"purchases": 1,
"price_cn": 0.2886,
"price_us": 0.2886
},
{
"purchases": 25,
"price_cn": 0.2662,
"price_us": 0.2662
},
{
"purchases": 100,
"price_cn": 0.2245,
"price_us": 0.2245
},
{
"purchases": 500,
"price_cn": 0.2085,
"price_us": 0.2085
},
{
"purchases": 1000,
"price_cn": 0.1924,
"price_us": 0.1924
}
],
"attrs": {"name":"wangsong","age":12}
}错误:runtime error: invalid memory address or nil pointer dereference
2020-11-30 16:33:47----接收参数:{ "stock": 2055,
"pn": "maritex",
"is_api": 0,
"url": "https://en.maritex.com.pl/acoustics/audio_transducers/magnetic_buzzers_without_driving_circuit/cfd02-e.html",
"goods_name": "CFD02-E",
"goods_sn": "CFD02-E",
"brand_name": "Changzhou EST ELECTRONICS Co.,Ltd.",
"is_error": 0,
"supplier_id": 17,
"canal": "L0010826",
"mpq": 1,
"moq": 1,
"pdf": "",
"hk_delivery_time": "5-7\u5de5\u4f5c\u65e5",
"cn_delivery_time": "6-12\u5de5\u4f5c\u65e5",
"ladder_price": [
{
"purchases": 1,
"price_cn": 0.2886,
"price_us": 0.2886
},
{
"purchases": 25,
"price_cn": 0.2662,
"price_us": 0.2662
},
{
"purchases": 100,
"price_cn": 0.2245,
"price_us": 0.2245
},
{
"purchases": 500,
"price_cn": 0.2085,
"price_us": 0.2085
},
{
"purchases": 1000,
"price_cn": 0.1924,
"price_us": 0.1924
}
],
"attrs": {"name":"wangsong","age":12}
}errMsg:spu Throw outKey: 'SpuForm.GoodsName' Error:Field validation for 'GoodsName' failed on the 'required' tag
Key: 'SpuForm.BrandName' Error:Field validation for 'BrandName' failed on the 'required' tag
2020-11-30 16:37:22----接收参数:{ "stock": 2055,
"pn": "maritex",
"is_api": 0,
"url": "https://en.maritex.com.pl/acoustics/audio_transducers/magnetic_buzzers_without_driving_circuit/cfd02-e.html",
"goods_name": "CFD02-E",
"goods_sn": "CFD02-E",
"brand_name": "Changzhou EST ELECTRONICS Co.,Ltd.",
"is_error": 0,
"supplier_id": 17,
"canal": "L0010826",
"mpq": 1,
"moq": 1,
"pdf": "",
"hk_delivery_time": "5-7\u5de5\u4f5c\u65e5",
"cn_delivery_time": "6-12\u5de5\u4f5c\u65e5",
"ladder_price": [
{
"purchases": 1,
"price_cn": 0.2886,
"price_us": 0.2886
},
{
"purchases": 25,
"price_cn": 0.2662,
"price_us": 0.2662
},
{
"purchases": 100,
"price_cn": 0.2245,
"price_us": 0.2245
},
{
"purchases": 500,
"price_cn": 0.2085,
"price_us": 0.2085
},
{
"purchases": 1000,
"price_cn": 0.1924,
"price_us": 0.1924
}
],
"attrs": {"name":"wangsong","age":12}
}errMsg:调用spu server saveSpu接口报错json: cannot unmarshal array into Go struct field LySpuResponse.data of type saveModel.ResponseData
2020-11-30 16:37:48----接收参数:{ "stock": 2055,
"pn": "maritex",
"is_api": 0,
"url": "https://en.maritex.com.pl/acoustics/audio_transducers/magnetic_buzzers_without_driving_circuit/cfd02-e.html",
"goods_name": "CFD02-E",
"goods_sn": "CFD02-E",
"brand_name": "Changzhou EST ELECTRONICS Co.,Ltd.",
"is_error": 0,
"supplier_id": 17,
"canal": "L0010826",
"mpq": 1,
"moq": 1,
"pdf": "",
"hk_delivery_time": "5-7\u5de5\u4f5c\u65e5",
"cn_delivery_time": "6-12\u5de5\u4f5c\u65e5",
"ladder_price": [
{
"purchases": 1,
"price_cn": 0.2886,
"price_us": 0.2886
},
{
"purchases": 25,
"price_cn": 0.2662,
"price_us": 0.2662
},
{
"purchases": 100,
"price_cn": 0.2245,
"price_us": 0.2245
},
{
"purchases": 500,
"price_cn": 0.2085,
"price_us": 0.2085
},
{
"purchases": 1000,
"price_cn": 0.1924,
"price_us": 0.1924
}
],
"attrs": {"name":"wangsong","age":12}
}errMsg:调用spu server saveSpu接口报错json: cannot unmarshal array into Go struct field LySpuResponse.data of type saveModel.ResponseData
2020-11-30 16:38:04----接收参数:{ "stock": 2055,
"pn": "maritex",
"is_api": 0,
"url": "https://en.maritex.com.pl/acoustics/audio_transducers/magnetic_buzzers_without_driving_circuit/cfd02-e.html",
"goods_name": "CFD02-E",
"goods_sn": "CFD02-E",
"brand_name": "Changzhou EST ELECTRONICS Co.,Ltd.",
"is_error": 0,
"supplier_id": 17,
"canal": "L0010826",
"mpq": 1,
"moq": 1,
"pdf": "",
"hk_delivery_time": "5-7\u5de5\u4f5c\u65e5",
"cn_delivery_time": "6-12\u5de5\u4f5c\u65e5",
"ladder_price": [
{
"purchases": 1,
"price_cn": 0.2886,
"price_us": 0.2886
},
{
"purchases": 25,
"price_cn": 0.2662,
"price_us": 0.2662
},
{
"purchases": 100,
"price_cn": 0.2245,
"price_us": 0.2245
},
{
"purchases": 500,
"price_cn": 0.2085,
"price_us": 0.2085
},
{
"purchases": 1000,
"price_cn": 0.1924,
"price_us": 0.1924
}
],
"attrs": {"name":"wangsong","age":12}
}errMsg:调用spu server saveSpu接口报错json: cannot unmarshal array into Go struct field LySpuResponse.data of type saveModel.ResponseData
2020-11-30 16:39:43----接收参数:{ "stock": 2055,
"pn": "maritex",
"is_api": 0,
"url": "https://en.maritex.com.pl/acoustics/audio_transducers/magnetic_buzzers_without_driving_circuit/cfd02-e.html",
"goods_name": "CFD02-E",
"goods_sn": "CFD02-E",
"brand_name": "Changzhou EST ELECTRONICS Co.,Ltd.",
"is_error": 0,
"supplier_id": 17,
"canal": "L0010826",
"mpq": 1,
"moq": 1,
"pdf": "",
"hk_delivery_time": "5-7\u5de5\u4f5c\u65e5",
"cn_delivery_time": "6-12\u5de5\u4f5c\u65e5",
"ladder_price": [
{
"purchases": 1,
"price_cn": 0.2886,
"price_us": 0.2886
},
{
"purchases": 25,
"price_cn": 0.2662,
"price_us": 0.2662
},
{
"purchases": 100,
"price_cn": 0.2245,
"price_us": 0.2245
},
{
"purchases": 500,
"price_cn": 0.2085,
"price_us": 0.2085
},
{
"purchases": 1000,
"price_cn": 0.1924,
"price_us": 0.1924
}
],
"attrs": {"name":"wangsong","age":12}
}errMsg:调用spu server saveSpu接口报错json: cannot unmarshal array into Go struct field LySpuResponse.data of type saveModel.ResponseData
2020-11-30 16:59:05----接收参数:{ "stock": 2055,
"pn": "maritex",
"is_api": 0,
"url": "https://en.maritex.com.pl/acoustics/audio_transducers/magnetic_buzzers_without_driving_circuit/cfd02-e.html",
"goods_name": "CFD02-E",
"goods_sn": "CFD02-E",
"brand_name": "Changzhou EST ELECTRONICS Co.,Ltd.",
"is_error": 0,
"supplier_id": 17,
"canal": "L0010826",
"mpq": 1,
"moq": 1,
"pdf": "",
"hk_delivery_time": "5-7\u5de5\u4f5c\u65e5",
"cn_delivery_time": "6-12\u5de5\u4f5c\u65e5",
"ladder_price": [
{
"purchases": 1,
"price_cn": 0.2886,
"price_us": 0.2886
},
{
"purchases": 25,
"price_cn": 0.2662,
"price_us": 0.2662
},
{
"purchases": 100,
"price_cn": 0.2245,
"price_us": 0.2245
},
{
"purchases": 500,
"price_cn": 0.2085,
"price_us": 0.2085
},
{
"purchases": 1000,
"price_cn": 0.1924,
"price_us": 0.1924
}
],
"attrs": {"name":"wangsong","age":12}
}errMsg:spu Throw outKey: 'SpuForm.GoodsName' Error:Field validation for 'GoodsName' failed on the 'required' tag
Key: 'SpuForm.BrandName' Error:Field validation for 'BrandName' failed on the 'required' tag
2020-11-30 16:59:18----接收参数:{ "stock": 2055,
"pn": "maritex",
"is_api": 0,
"url": "https://en.maritex.com.pl/acoustics/audio_transducers/magnetic_buzzers_without_driving_circuit/cfd02-e.html",
"goods_name": "CFD02-E",
"goods_sn": "CFD02-E",
"brand_name": "Changzhou EST ELECTRONICS Co.,Ltd.",
"is_error": 0,
"supplier_id": 17,
"canal": "L0010826",
"mpq": 1,
"moq": 1,
"pdf": "",
"hk_delivery_time": "5-7\u5de5\u4f5c\u65e5",
"cn_delivery_time": "6-12\u5de5\u4f5c\u65e5",
"ladder_price": [
{
"purchases": 1,
"price_cn": 0.2886,
"price_us": 0.2886
},
{
"purchases": 25,
"price_cn": 0.2662,
"price_us": 0.2662
},
{
"purchases": 100,
"price_cn": 0.2245,
"price_us": 0.2245
},
{
"purchases": 500,
"price_cn": 0.2085,
"price_us": 0.2085
},
{
"purchases": 1000,
"price_cn": 0.1924,
"price_us": 0.1924
}
],
"attrs": {"name":"wangsong","age":12}
}errMsg:spu Throw outKey: 'SpuForm.GoodsName' Error:Field validation for 'GoodsName' failed on the 'required' tag
Key: 'SpuForm.BrandName' Error:Field validation for 'BrandName' failed on the 'required' tag
2020-11-30 16:59:36----接收参数:{ "stock": 2055,
"pn": "maritex",
"is_api": 0,
"url": "https://en.maritex.com.pl/acoustics/audio_transducers/magnetic_buzzers_without_driving_circuit/cfd02-e.html",
"goods_name": "CFD02-E",
"goods_sn": "CFD02-E",
"brand_name": "Changzhou EST ELECTRONICS Co.,Ltd.",
"is_error": 0,
"supplier_id": 17,
"canal": "L0010826",
"mpq": 1,
"moq": 1,
"pdf": "",
"hk_delivery_time": "5-7\u5de5\u4f5c\u65e5",
"cn_delivery_time": "6-12\u5de5\u4f5c\u65e5",
"ladder_price": [
{
"purchases": 1,
"price_cn": 0.2886,
"price_us": 0.2886
},
{
"purchases": 25,
"price_cn": 0.2662,
"price_us": 0.2662
},
{
"purchases": 100,
"price_cn": 0.2245,
"price_us": 0.2245
},
{
"purchases": 500,
"price_cn": 0.2085,
"price_us": 0.2085
},
{
"purchases": 1000,
"price_cn": 0.1924,
"price_us": 0.1924
}
],
"attrs": {"name":"wangsong","age":12}
}errMsg:spu Throw outKey: 'SpuForm.GoodsName' Error:Field validation for 'GoodsName' failed on the 'required' tag
Key: 'SpuForm.BrandName' Error:Field validation for 'BrandName' failed on the 'required' tag
2020-11-30 17:26:08----接收参数:{ "stock": 2055,
"pn": "maritex",
"is_api": 0,
"url": "https://en.maritex.com.pl/acoustics/audio_transducers/magnetic_buzzers_without_driving_circuit/cfd02-e.html",
"goods_name": "CFD02-E",
"goods_sn": "CFD02-E",
"brand_name": "Changzhou EST ELECTRONICS Co.,Ltd.",
"is_error": 0,
"supplier_id": 17,
"canal": "L0010826",
"mpq": 1,
"moq": 1,
"pdf": "",
"hk_delivery_time": "5-7\u5de5\u4f5c\u65e5",
"cn_delivery_time": "6-12\u5de5\u4f5c\u65e5",
"ladder_price": [
{
"purchases": 1,
"price_cn": 0.2886,
"price_us": 0.2886
},
{
"purchases": 25,
"price_cn": 0.2662,
"price_us": 0.2662
},
{
"purchases": 100,
"price_cn": 0.2245,
"price_us": 0.2245
},
{
"purchases": 500,
"price_cn": 0.2085,
"price_us": 0.2085
},
{
"purchases": 1000,
"price_cn": 0.1924,
"price_us": 0.1924
}
],
"attrs": {"name":"wangsong","age":12}
}errMsg:spu Throw outKey: 'SpuForm.GoodsName' Error:Field validation for 'GoodsName' failed on the 'required' tag
Key: 'SpuForm.BrandName' Error:Field validation for 'BrandName' failed on the 'required' tag
2020-11-30 17:41:00----接收参数:{ "stock": 2055,
"pn": "maritex",
"is_api": 0,
"url": "https://en.maritex.com.pl/acoustics/audio_transducers/magnetic_buzzers_without_driving_circuit/cfd02-e.html",
"goods_name": "CFD02-E",
"goods_sn": "CFD02-E",
"brand_name": "Changzhou EST ELECTRONICS Co.,Ltd.",
"is_error": 0,
"supplier_id": 17,
"canal": "L0010826",
"mpq": 1,
"moq": 1,
"pdf": "",
"hk_delivery_time": "5-7\u5de5\u4f5c\u65e5",
"cn_delivery_time": "6-12\u5de5\u4f5c\u65e5",
"ladder_price": [
{
"purchases": 1,
"price_cn": 0.2886,
"price_us": 0.2886
},
{
"purchases": 25,
"price_cn": 0.2662,
"price_us": 0.2662
},
{
"purchases": 100,
"price_cn": 0.2245,
"price_us": 0.2245
},
{
"purchases": 500,
"price_cn": 0.2085,
"price_us": 0.2085
},
{
"purchases": 1000,
"price_cn": 0.1924,
"price_us": 0.1924
}
],
"attrs": {"name":"wangsong","age":12}
}errMsg:spu Throw outKey: 'SpuForm.GoodsName' Error:Field validation for 'GoodsName' failed on the 'required' tag
2020-11-30 17:44:16----接收参数:{ "stock": 2055,
"pn": "maritex",
"is_api": 0,
"url": "https://en.maritex.com.pl/acoustics/audio_transducers/magnetic_buzzers_without_driving_circuit/cfd02-e.html",
"goods_name": "CFD02-E",
"goods_sn": "CFD02-E",
"brand_name": "Changzhou EST ELECTRONICS Co.,Ltd.",
"is_error": 0,
"supplier_id": 17,
"canal": "L0010826",
"mpq": 1,
"moq": 1,
"pdf": "",
"hk_delivery_time": "5-7\u5de5\u4f5c\u65e5",
"cn_delivery_time": "6-12\u5de5\u4f5c\u65e5",
"ladder_price": [
{
"purchases": 1,
"price_cn": 0.2886,
"price_us": 0.2886
},
{
"purchases": 25,
"price_cn": 0.2662,
"price_us": 0.2662
},
{
"purchases": 100,
"price_cn": 0.2245,
"price_us": 0.2245
},
{
"purchases": 500,
"price_cn": 0.2085,
"price_us": 0.2085
},
{
"purchases": 1000,
"price_cn": 0.1924,
"price_us": 0.1924
}
],
"attrs": {"name":"wangsong","age":12}
}errMsg:spu Throw outKey: 'SpuForm.GoodsName' Error:Field validation for 'GoodsName' failed on the 'required' tag
2020-11-30 17:51:17----接收参数:{ "stock": 2055,
"pn": "maritex",
"is_api": 0,
"url": "https://en.maritex.com.pl/acoustics/audio_transducers/magnetic_buzzers_without_driving_circuit/cfd02-e.html",
"goods_name": "CFD02-E",
"goods_sn": "CFD02-E",
"brand_name": "Changzhou EST ELECTRONICS Co.,Ltd.",
"is_error": 0,
"supplier_id": 17,
"canal": "L0010826",
"mpq": 1,
"moq": 1,
"pdf": "",
"hk_delivery_time": "5-7\u5de5\u4f5c\u65e5",
"cn_delivery_time": "6-12\u5de5\u4f5c\u65e5",
"ladder_price": [
{
"purchases": 1,
"price_cn": 0.2886,
"price_us": 0.2886
},
{
"purchases": 25,
"price_cn": 0.2662,
"price_us": 0.2662
},
{
"purchases": 100,
"price_cn": 0.2245,
"price_us": 0.2245
},
{
"purchases": 500,
"price_cn": 0.2085,
"price_us": 0.2085
},
{
"purchases": 1000,
"price_cn": 0.1924,
"price_us": 0.1924
}
],
"attrs": {"name":"wangsong","age":12}
}errMsg:spu Throw outKey: 'SpuForm.GoodsName' Error:Field validation for 'GoodsName' failed on the 'required' tag
\ No newline at end of file
...@@ -36,9 +36,6 @@ func Loginit() { ...@@ -36,9 +36,6 @@ func Loginit() {
} }
/**
初始化 log(github.com/ichunt2019/log)
*/
/** /**
@param path 路径 比如sku_save 即文件夹是 sku 文件名类似 是save_2020-12-10.log @param path 路径 比如sku_save 即文件夹是 sku 文件名类似 是save_2020-12-10.log
......
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