/task/setTaskBody 将book_name返回,相关文件一起修改
This commit is contained in:
parent
38fdcf398e
commit
3b2048b449
@ -56,6 +56,6 @@ external_api:
|
||||
es_update_book_url: "https://book.center.yushutx.com/api/es/updateBookFieldsByISBN"
|
||||
# sync_task_url: "http://192.168.101.156:8080/task/create"
|
||||
sync_task_url: "http://36.212.7.246:8283/task/create"
|
||||
# sync_task_body_url: "http://192.168.101.156:8080/task/setTaskBody"
|
||||
# sync_task_body_url: "http://192.168.101.156:8080./task/setTaskBody"
|
||||
sync_task_body_url: "http://36.212.7.246:8283/task/setTaskBody"
|
||||
timeout: 30
|
||||
@ -4005,7 +4005,8 @@ func (s *ProcessService) syncProductsToExternal(receivingOrderID, waveTaskID, us
|
||||
|
||||
bodyData := map[string]interface{}{
|
||||
"book_info": map[string]interface{}{
|
||||
"isbn": group.product.Barcode,
|
||||
"isbn": group.product.Barcode,
|
||||
"book_name": group.product.Name,
|
||||
"image_object": map[string]interface{}{
|
||||
"carousel_url_array": group.imgList,
|
||||
},
|
||||
@ -4061,7 +4062,8 @@ func (s *ProcessService) syncProductsToExternal(receivingOrderID, waveTaskID, us
|
||||
|
||||
bodyData := map[string]interface{}{
|
||||
"book_info": map[string]interface{}{
|
||||
"isbn": isbn,
|
||||
"isbn": isbn,
|
||||
"book_name": product.Name,
|
||||
"image_object": map[string]interface{}{
|
||||
"carousel_url_array": imgList,
|
||||
},
|
||||
|
||||
@ -1504,7 +1504,8 @@ func (s *ProductService) batchPushProductBody(db *gorm.DB, outTask models.OutTas
|
||||
|
||||
bodyData := map[string]interface{}{
|
||||
"book_info": map[string]interface{}{
|
||||
"isbn": isbn,
|
||||
"isbn": isbn,
|
||||
"book_name": product.Name,
|
||||
"image_object": map[string]interface{}{
|
||||
"carousel_url_array": imgList,
|
||||
},
|
||||
@ -1686,7 +1687,8 @@ func (s *ProductService) syncPriceToExternalTaskWithOptionalWave(outTask models.
|
||||
|
||||
bodyData := map[string]interface{}{
|
||||
"book_info": map[string]interface{}{
|
||||
"isbn": isbn,
|
||||
"isbn": isbn,
|
||||
"book_name": product.Name,
|
||||
"image_object": map[string]interface{}{
|
||||
"carousel_url_array": imgList,
|
||||
},
|
||||
@ -1846,7 +1848,8 @@ func (s *ProductService) syncPriceToExternalTask(outTask models.OutTask, product
|
||||
|
||||
bodyData := map[string]interface{}{
|
||||
"book_info": map[string]interface{}{
|
||||
"isbn": isbn,
|
||||
"isbn": isbn,
|
||||
"book_name": product.Name,
|
||||
"image_object": map[string]interface{}{
|
||||
"carousel_url_array": imgList,
|
||||
},
|
||||
|
||||
Loading…
Reference in New Issue
Block a user