正在显示
1 个修改的文件
包含
2 行增加
和
2 行删除
| @@ -193,12 +193,12 @@ class BaseController extends Controller | @@ -193,12 +193,12 @@ class BaseController extends Controller | ||
| 193 | $bSettingModel = new Setting(); | 193 | $bSettingModel = new Setting(); |
| 194 | $info = $bSettingModel->read(['project_id'=>$this->user['project_id']]); | 194 | $info = $bSettingModel->read(['project_id'=>$this->user['project_id']]); |
| 195 | if($info === false){ | 195 | if($info === false){ |
| 196 | - $this->fail('请先选择模版'); | 196 | + return $this->success($template_id); |
| 197 | } | 197 | } |
| 198 | $template_id = $info['template_id']; | 198 | $template_id = $info['template_id']; |
| 199 | return $this->success($template_id); | 199 | return $this->success($template_id); |
| 200 | } | 200 | } |
| 201 | - | 201 | + |
| 202 | /** | 202 | /** |
| 203 | * @remark :定制页面头部类型---根据source获取type类型 | 203 | * @remark :定制页面头部类型---根据source获取type类型 |
| 204 | * @name :getType | 204 | * @name :getType |
-
请 注册 或 登录 后发表评论