Merge branch 'feature/market_percentage' of wmtx/platform into release

市场专员业绩管理bug修改
master
廖金灵 4 years ago committed by Gogs
commit b275ef6423

@ -624,7 +624,7 @@ class AuthManagerController extends AdminController{
$this->assign('data',$data['market_percentage']); $this->assign('data',$data['market_percentage']);
$this->assign('auth_group', $auth_group); $this->assign('auth_group', $auth_group);
$this->display(); $this->display("authmarketmember");
} }

@ -833,7 +833,9 @@ class MarketPercentageController extends ThinkController
// $pay_time = date("Y-m",strtotime('-1 month')); // $pay_time = date("Y-m",strtotime('-1 month'));
} }
exec("php cli.php timing/caculateMarketStream/time/{$pay_time} > /dev/null &"); // var_dump("php cli.php timing/caculateMarketStream/time/{$pay_time} > /dev/null &");die();
exec("php admin.php timing/caculateMarketStream/time/{$pay_time} > /dev/null &");
$this->success('操作成功,后台正在计算中,请稍后再打开......'); $this->success('操作成功,后台正在计算中,请稍后再打开......');
} }
@ -1040,7 +1042,7 @@ class MarketPercentageController extends ThinkController
// var_dump($data['config']);die(); // var_dump($data['config']);die();
$this->assign('data',$data['config']); $this->assign('data',$data['config']);
$this->display(); $this->display("marketstaffsettle");
} }

@ -789,7 +789,7 @@ class TimingController extends AdminController {
->where($spend_map) ->where($spend_map)
->group("tab_spend.id") ->group("tab_spend.id")
->select(false); ->select(false);
// var_dump($spend);die();
$payway_spend = M()->table("({$spend}) spend") $payway_spend = M()->table("({$spend}) spend")
->field("sum(pay_amount) as pay_amount,pay_time,promote_id,game_name,game_id,relation_game_id,pay_way,sdk_version") ->field("sum(pay_amount) as pay_amount,pay_time,promote_id,game_name,game_id,relation_game_id,pay_way,sdk_version")
->where($map) ->where($map)

@ -121,7 +121,7 @@
<option value="">请选择时间</option> <option value="">请选择时间</option>
<volist name="list_data" id="s_data"> <volist name="list_data" id="s_data">
<if condition="$s_data['is_send_use'] eq 1"> <if condition="$s_data['is_send_use'] eq 1">
<option value="{$s_data['pay_time']}" data-admin_id="{$s_data.admin_id}">{$s_data['pay_time']}</option> <option value="{$s_data['pay_time']}" data-admin_id="{$s_data.admin_id}">{$s_data['pay_time']}($data['real_name']})</option>
</if> </if>
</volist> </volist>
</select> </select>

Loading…
Cancel
Save