Commit ac0557d0 authored by hujun's avatar hujun

系统设置和处理房东隐私号码

parent 1ea0a10e
......@@ -2,11 +2,10 @@
namespace app\model;
use Symfony\Component\Yaml\Tests\DumperTest;
use think\Db;
use think\Model;
class SecretReport extends Model
class SecretReport extends BaseModel
{
// 设置当前模型对应的完整数据表名称
protected $table = 'aliYun_secret_report';
......
......@@ -40,6 +40,7 @@ define (['doT', 'text!temp/setting_template_tpl.html', 'css!style/home.css'], fu
param.down_time = $("input[name='shop_day_num']").val();
param.new_client_hours = $("input[name='new_client_hours']").val();
param.agent_shop_num = $("input[name='agent_shop_num']").val();
param.landlord_phone_day = $("input[name='landlord_phone_day']").val();
$.ajax ({
url: '/admin.php/index/getSetting',
type: 'POST',
......
......@@ -26,7 +26,7 @@
<!--房东隐号绑定有效期-->
<label class="col-sm-3 control-label" style="text-align: right">房东隐号绑定有效期(天数):</label>
<div class="col-sm-9">
<input type="number" class="form-control btn5" name="day_num2" placeholder="隐号绑定天数" value="[%= it['day_num2'] %]">
<input type="number" class="form-control btn5" name="landlord_phone_day" placeholder="隐号绑定天数" value="[%= it['landlord_phone_day'] %]">
</div>
<label class="col-sm-3 control-label" style="text-align: right">商铺自动下架天数:</label>
......
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