Commit 763f2497 authored by shajiaiming's avatar shajiaiming

Merge branch 'feature/ticker' into 'master'

公告分享链接 See merge request !163
parents 16f16184 08587677
......@@ -105,6 +105,7 @@ class ZhaobiBuilder extends FactoryService
$this->code = 0;
$res['data']['abstract'] = str_replace(' ', '', str_replace(' ', '', $res['data']['abstract']));
$res['data']['content'] = str_replace(' ', '', str_replace(' ', '', $res['data']['content']));
$res['data']['share_url'] = \Yii::$app->params['service']['ZhaobiService']['url']. '/help/notice/' . $params['id'];
return ['code' => $this->code, 'notice' => $res['data']];
} else {
return ['code' => $this->code, 'notice' => $res['data'], 'msg' => $res['message']];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment