Merge branch 'dev' of 47.111.118.107:/srv/git/platform into dev

master
zyx 5 years ago
commit 95731bba09

@ -200,7 +200,7 @@ class SpendRepository {
$records = []; $records = [];
foreach ($dayList as $day) { foreach ($dayList as $day) {
$time = strtotime($day); $time = strtotime($day) + 24 * 3600;
$conditions['pay_time'] = ['elt', $time]; $conditions['pay_time'] = ['elt', $time];
$result = M('spend', 'tab_')->field('count(DISTINCT user_id) as count')->where($conditions)->find(); $result = M('spend', 'tab_')->field('count(DISTINCT user_id) as count')->where($conditions)->find();
$records[$day] = $result['count']; $records[$day] = $result['count'];

@ -135,6 +135,9 @@
<div class="form-group normal_space"> <div class="form-group normal_space">
<select id="promote-select" name="sub_promote_id" class="reselect select_gallery" style="width: 220px;" data-promote="{:I('sub_promote_id', 0)}"> <select id="promote-select" name="sub_promote_id" class="reselect select_gallery" style="width: 220px;" data-promote="{:I('sub_promote_id', 0)}">
<option value="0">请选择推广员</option> <option value="0">请选择推广员</option>
<volist name="subPromotes" id="promote">
<option ba-id="{$promote.id}" value="{$promote.id}" <if condition="I('promote_id') == $promote['id']">selected</if>>{$promote.account}({$promote.real_name})</option>
</volist>
</select> </select>
</div> </div>
</if> </if>

@ -229,8 +229,8 @@
</div> </div>
<!--浮动层--> <!--浮动层-->
<div class="float_contact_position "> <div class="float_contact_position ">
<div class="float_contact "> <div class="float_contact " style="right: 100px;">
<img src="/Public/Media/images/index_about/qrcode.png" width="270"> <img src="/Public/Media/images/index_about/qrcode.png" width="200">
<!-- <div class="float-bg "></div> <!-- <div class="float-bg "></div>
<ul> <ul>
<li class="show kf "> <li class="show kf ">

Loading…
Cancel
Save