优化:分销商设置添加申请升级协议
This commit is contained in:
parent
180af9b0f5
commit
8822e6f378
|
|
@ -51,6 +51,7 @@ class Config extends BaseModel
|
|||
'settlement_points_to_point_ratio' => $data['settlement_points_to_point_ratio'],
|
||||
'violation_unpaid' => $data['violation_unpaid'],
|
||||
'violation_hour' => $data['violation_hour'],
|
||||
'upgrade_agree' => $data['upgrade_agree'],
|
||||
];
|
||||
$config->setConfig($basics_data, '分销基本配置', $is_use, [['site_id', '=', $site_id], ['app_module', '=', 'shop'], ['config_key', '=', 'FENXIAO_BASICS_CONFIG']]);
|
||||
//分销商设置
|
||||
|
|
|
|||
|
|
@ -63,8 +63,8 @@ class Config extends BaseShop
|
|||
'settlement_points_to_point_ratio' => input('settlement_points_to_point_ratio', 0),
|
||||
'violation_unpaid' => (int)input('violation_unpaid', 0),
|
||||
'violation_hour' => (int)input('violation_hour', 0),
|
||||
'upgrade_agree' => input('upgrade_agree', ''),
|
||||
];
|
||||
|
||||
$res = $model->setFenxiaoBasicsConfig($data, 1, $this->site_id);
|
||||
return $res;
|
||||
} else {
|
||||
|
|
|
|||
|
|
@ -91,6 +91,14 @@
|
|||
</div>
|
||||
<div class="word-aux ">下单分享D位置得贡献值,得消费额百分比</div>
|
||||
</div>
|
||||
<div class="layui-form-item">
|
||||
<label class="layui-form-label">分销商升级申请协议:</label>
|
||||
<div class="layui-input-block">
|
||||
<div class="layui-input-inline">
|
||||
<textarea name="upgrade_agree" style="resize: none;padding: 10px" rows="15" class="len-long">{$basics_info.upgrade_agree ?? ''}</textarea>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- 违规设置 -->
|
||||
|
|
@ -206,14 +214,6 @@
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="layui-card card-common card-brief distribution-index {if $basics_info.level == 0}layui-hide{/if}" style="display:none">
|
||||
<div class="layui-card-header">
|
||||
<span class="card-title">上下线关系</span>
|
||||
|
|
|
|||
Binary file not shown.
|
After Width: | Height: | Size: 10 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 13 KiB |
Loading…
Reference in New Issue