<?php

return [

    'api_faking' => env('API_FAKING', false),
    'api_switch_receive_to_wms' => env('API_SWITCH_RECEIVE_TO_WMS', true),
    'jianshang_rejecteds_log_switch' => true,

    'url_rejected_send_jianshang' => 'http://daye.mjstyle.cn:8083/mjstyle-bs-service/order/receive',
    'url_rejected_send_jianshang2' => 'http://daye.mjstyle.cn:8083/mjstyle-bs-service/order/receive2',
    'fakingUrl_rejected_send_jianshang' => '/api/rejected/jianshang/send',
    'sign_key_rejected_send_jianshang' => 'ymgYuN01D3UCZneZ53wGC0suOIUPmLgY',


    'flux'=>[
        /** Flux
        https://was.baoshi56.com/api/thirdPart/flux/receive/new  //新增收货
        https://was.baoshi56.com/api/thirdPart/flux/package/new  //新增包裹
        https://was.baoshi56.com/api/thirdPart/flux/waybill/new  //新增运单
         **/
        'receive'=>[
            'new'=>'http://106.14.155.246:19192/datahub/FluxBSJsonApi/RECECF?messageId=RECECF' //通知WMS, 已完成的订单收货
        ],
        'package'=>[
            'new'=>'http://106.14.155.246:19192/datahub/FluxBSJsonApi/TASK' //通知WMS, 已称完的包裹
        ],
        'waybill'=>[
            'new'=>'http://106.14.155.246:19192/datahub/FluxBSJsonApi/?messageId=BS_TMS' //通知WMS, 已称完的包裹
        ],
        /**分拔墙
        https://wcs.baoshi56.com/api/thirdPart/flux/sorting/newBatch  //下发波次
        https://wcs.baoshi56.com/api/thirdPart/flux/sorting/newCanceledOrder  //下发取消订单
         **/
        'inform'=>[
            'binAssignment' => 'http://106.14.155.246:19192/datahub/FluxBSJsonApi/PUTTOLOCATION', //发送隔口号（播种位）给WMS
            'batchFinished' => 'http://106.14.155.246:19192/datahub/FluxBSJsonApi/PUTTOLIGHT', //分播结束后通知WMS结果
        ],
    ],

    /** 海柔
     *  https://was.baoshi56.com/api/thirdPart/haiq/pickStation/processed  //标记料箱已处理
     *  https://was.baoshi56.com/api/thirdPart/haiq/storage/taskUpdate  //任务状态更新
     *  https://was.baoshi56.com/api/thirdPart/haiq/storage/exception  //异常通知
     *  https://was.baoshi56.com/api/thirdPart/haiq/light/update  //拍灯通知
     */
    'haiq'=>[
        'storage'=>[
//            'relocate' => "http://59.37.126.227:65448/api/haiqEss/gr/relocate",
            'moveBin' => "http://58.33.243.164:2011/api/haiqEss/gr/relocate",  //移动料箱
            'light' => "http://58.33.243.164:40000/api/haiqEss/ctlPTL",  //控灯
        ],
    ],

    'baidu'=>[
        'speech'=>[
            'APP_ID'=> '18688250',
            'API_KEY'=> 'GLSF2EP1H9C6hRxQ3b4Kb84I',
            'SECRET_KEY'=> 'jEAdTa8EapjZZnfxxmdSwFFjjt2UmoaX',
        ],
    ],

    /** goodScan
    https://was.baoshi56.com/api/thirdPart/goodscan/weight/new  //新增包裹
     */

    /**浩创请求地址
    https://wcs.baoshi56.com/api/thirdPart/haochuang/sorting/login
    https://wcs.baoshi56.com/api/thirdPart/haochuang/sorting/process
    https://wcs.baoshi56.com/api/thirdPart/haochuang/sorting/done
     **/
];
