问题: 多商户电子面单预览模板为空
修复:
修改路径:
app\controller\admin\system\serve\Export.php
修改代码:
public function getExportTemp(CrmebServeServices $services){
$com = $this->request->param('com');
if (!$com) return app('json')->fail('请输入快递公司编号');
$data['is_shipment'] = merchantConfig($this->request->merId(),'mer_config_siid');
$data['com'] = $com;
return app('json')->success($services->express()->expr_dump($data));
}
增加代码
修改路径:
crmeb\services\express\storage\Express.php
增加方法:
public function expr_dump(array $params){
return $this->accessToken->httpRequest(self::EXPRESS_TEMP_V2, $params,'get');
}
{{item.user_info.nickname ? item.user_info.nickname : item.user_name}}
作者 管理员 企业
{{itemf.name}}
{{itemc.user_info.nickname}}
{{itemc.user_name}}
回复 {{itemc.comment_user_info.nickname}}
{{itemf.name}}