api.php 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. <?php
  2. return [
  3. 'api_faking' => env('API_FAKING', false),
  4. 'api_switch_receive_to_wms' => env('API_SWITCH_RECEIVE_TO_WMS', true),
  5. 'jianshang_rejecteds_log_switch' => true,
  6. 'url_rejected_send_jianshang' => 'http://daye.mjstyle.cn:8083/mjstyle-bs-service/order/receive',
  7. 'url_rejected_send_jianshang2' => 'http://daye.mjstyle.cn:8083/mjstyle-bs-service/order/receive2',
  8. 'fakingUrl_rejected_send_jianshang' => '/api/rejected/jianshang/send',
  9. 'sign_key_rejected_send_jianshang' => 'ymgYuN01D3UCZneZ53wGC0suOIUPmLgY',
  10. /** Flux
  11. https://was.baoshi56.com/api/thirdPart/flux/receive/new //新增收货
  12. https://was.baoshi56.com/api/thirdPart/flux/package/new //新增包裹
  13. https://was.baoshi56.com/api/thirdPart/flux/waybill/new //新增运单
  14. **/
  15. 'flux'=>[
  16. 'receive'=>[
  17. 'new'=>'http://106.14.155.246:19192/datahub/FluxBSJsonApi/RECECF?messageId=RECECF' //通知WMS, 已完成的订单收货
  18. ],
  19. 'package'=>[
  20. 'new'=>'http://106.14.155.246:19192/datahub/FluxBSJsonApi/TASK' //通知WMS, 已称完的包裹
  21. ],
  22. 'waybill'=>[
  23. 'new'=>'http://106.14.155.246:19192/datahub/FluxBSJsonApi/?messageId=BS_TMS' //通知WMS, 已称完的包裹
  24. ],
  25. ],
  26. 'baidu'=>[
  27. 'speech'=>[
  28. 'APP_ID'=> '18688250',
  29. 'API_KEY'=> 'GLSF2EP1H9C6hRxQ3b4Kb84I',
  30. 'SECRET_KEY'=> 'jEAdTa8EapjZZnfxxmdSwFFjjt2UmoaX',
  31. ],
  32. ],
  33. ];