Commit 393f0f1d authored by shajiaiming's avatar shajiaiming

修复已知问题

parent a9a0d0c0
...@@ -45,7 +45,7 @@ ...@@ -45,7 +45,7 @@
<div class="layui-input-block"> <div class="layui-input-block">
<img src="<?= $model->image_url ?>" style="margin-top: 11px; max-width: 32px; max-height: 32px" id="icon1"> <img src="<?= $model->image_url ?>" style="margin-top: 11px; max-width: 32px; max-height: 32px" id="icon1">
</div> </div>
<input type="hidden" name="image_url" value="" lay-verify="required|image_url"> <input type="hidden" name="image_url" value="">
</div> </div>
<div class="layui-inline" style="margin-left: 50px;"> <div class="layui-inline" style="margin-left: 50px;">
<button type="button" class="layui-btn" id="upload1" style=""> <button type="button" class="layui-btn" id="upload1" style="">
......
...@@ -107,7 +107,7 @@ class ZhaobiBuilder extends FactoryService ...@@ -107,7 +107,7 @@ class ZhaobiBuilder extends FactoryService
$res['data']['abstract'] = str_replace(' ', '', str_replace('&nbsp;', '', $res['data']['abstract'])); $res['data']['abstract'] = str_replace(' ', '', str_replace('&nbsp;', '', $res['data']['abstract']));
$res['data']['content'] = str_replace(' ', '', str_replace('&nbsp;', '', $res['data']['content'])); $res['data']['content'] = str_replace(' ', '', str_replace('&nbsp;', '', $res['data']['content']));
$res['data']['source'] = '找币'; $res['data']['source'] = '找币';
$res['data']['share_url'] = \Yii::$app->params['service']['ZhaobiService']['url']. '/help/notice/' . $params['id']; $res['data']['share_url'] = \Yii::$app->params['service']['ZhaobiService']['h5_url']. '/account/help/' . $params['id'];
return ['code' => $this->code, 'notice' => $res['data']]; return ['code' => $this->code, 'notice' => $res['data']];
} else { } else {
return ['code' => $this->code, 'notice' => $res['data'], 'msg' => $res['message']]; 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