修复路径:
app\controller\admin\system\serve\Export.php
Copy
修改代码:
public function getExportTemp(CrmebServeServices $services){
$com = $this->request->param('com');
if (!$com) return app('json')->fail('请输入快递公司编号');
$data['is_shipment'] = merchantConfig($this->request->merId(),'mer_dump_type') ? 0 : 1;
return app('json')->success($services->express()->expr_dump($data));
}
Copy
修改路径:
crmeb\services\express\storage\Express.php
Copy
增加代码:
public function expr_dump(array $params){
return $this->accessToken->httpRequest(self::EXPRESS_TEMP_V2, $params,'get');
}
Copy