edit-sylive-plan
This commit is contained in:
@@ -400,9 +400,9 @@ class Syt extends CI_Controller
|
||||
$area_id && $update['areaId'] = $area_id;
|
||||
$biz_id && $update['bizId'] = $biz_id;
|
||||
$browse && $update['browse'] = $browse;
|
||||
$subscribe && $update['subscribe'] = $browse;
|
||||
$orderTotal && $update['orderTotal'] = $browse;
|
||||
$watch && $update['watch'] = $browse;
|
||||
$subscribe && $update['subscribe'] = $subscribe;
|
||||
$orderTotal && $update['orderTotal'] = $orderTotal;
|
||||
$watch && $update['watch'] = $watch;
|
||||
$this->act_user_model->update($update,['userId'=>$item['userId']]);
|
||||
echo "用户id:{$item['userId']}更新成功:".json_encode($update,JSON_UNESCAPED_UNICODE)."<br>";
|
||||
}
|
||||
|
||||
@@ -65,8 +65,9 @@ class Stic extends Admin{
|
||||
$h_title .= $b_row['organizationName'];
|
||||
}
|
||||
$day_list = ['全部'];
|
||||
for($i=0;$i<9;$i++){
|
||||
$day_list[] = date('Y-m-d',strtotime("-{$i} day"));
|
||||
$timeEnd = strtotime($row['timeEnd']);//直播结束往前七天
|
||||
for($i=0;$i<8;$i++){
|
||||
$day_list[] = date('Y-m-d',$timeEnd - $i*24*60*60);
|
||||
}
|
||||
$this->data['day_list'] = $day_list;
|
||||
$this->data['h_title'] = $h_title;
|
||||
|
||||
Reference in New Issue
Block a user