setter
parent
f84ecb5b90
commit
eb2a8145f6
|
@ -226,7 +226,7 @@ class Business extends Base
|
||||||
'state|审核状态' => 'require|in:0,1,2',
|
'state|审核状态' => 'require|in:0,1,2',
|
||||||
'enable|启用状态' => 'require|in:0,1',
|
'enable|启用状态' => 'require|in:0,1',
|
||||||
'type|分类' => 'require|number',
|
'type|分类' => 'require|number',
|
||||||
'characteristic|特色' => 'max:100',
|
//'characteristic|特色' => 'max:100',
|
||||||
'intro|介绍' => 'require',
|
'intro|介绍' => 'require',
|
||||||
'business_circle_id|商圈' => 'require',
|
'business_circle_id|商圈' => 'require',
|
||||||
'background|背景图' => 'require',
|
'background|背景图' => 'require',
|
||||||
|
|
|
@ -21,7 +21,7 @@ class BusinessValidate extends Validate
|
||||||
'county|所属区县' => 'require',
|
'county|所属区县' => 'require',
|
||||||
'business_address|商家地址' => 'require|length:1,250',
|
'business_address|商家地址' => 'require|length:1,250',
|
||||||
|
|
||||||
'characteristic|商家特色' => 'length:0,250',
|
//'characteristic|商家特色' => 'length:0,250',
|
||||||
'background|商家背景图' => 'require|length:0,250',
|
'background|商家背景图' => 'require|length:0,250',
|
||||||
'business_circle_id|所属商圈' => 'egt:0',
|
'business_circle_id|所属商圈' => 'egt:0',
|
||||||
|
|
||||||
|
|
|
@ -134,12 +134,12 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
<div class="layui-form-item">
|
<!-- <div class="layui-form-item">-->
|
||||||
<label class="layui-form-label required">特色</label>
|
<!-- <label class="layui-form-label required">特 色</label>-->
|
||||||
<div class="layui-input-block">
|
<!-- <div class="layui-input-block">-->
|
||||||
<textarea class="layui-textarea" name="characteristic">{$item['characteristic']}</textarea>
|
<!-- <textarea class="layui-textarea" name="characteristic">{ $item['characteristic']}</textarea>-->
|
||||||
</div>
|
<!-- </div>-->
|
||||||
</div>
|
<!-- </div>-->
|
||||||
<div class="layui-form-item">
|
<div class="layui-form-item">
|
||||||
<label class="layui-form-label required">介绍</label>
|
<label class="layui-form-label required">介绍</label>
|
||||||
<div class="layui-input-block">
|
<div class="layui-input-block">
|
||||||
|
|
Loading…
Reference in New Issue