ssvfdn 3 月之前
父節點
當前提交
d491036869
共有 2 個文件被更改,包括 2 次插入0 次删除
  1. 1 0
      app/controller/GameImproveUserRtp.php
  2. 1 0
      app/model/GameImproveUserRtpModel.php

+ 1 - 0
app/controller/GameImproveUserRtp.php

@@ -96,6 +96,7 @@ class GameImproveUserRtp extends BaseController
                 $info->turnover_multiple = $data['turnover_multiple'];
                 $info->custom_time_start = !empty($custom_time_start) ?  strtotime($custom_time_start) : 0;
                 $info->custom_time_end = !empty($custom_time_end) ?  strtotime($custom_time_end) : 0;
+                $info->round_count = 0;
 
 
                 if($info->evaluation_period != 5) {

+ 1 - 0
app/model/GameImproveUserRtpModel.php

@@ -45,6 +45,7 @@ class GameImproveUserRtpModel extends Model
 
         'status' => 'int', // 状态 1 正常,0 取消
         'round_status' => 'int', // 轮开始 1 开始, 2 已满足
+        'round_count' => 'int',
         'open_status_time' => 'int', // 每轮开始的时间
         'create_time' => 'int',
         'update_time' => 'int',