|
|
@ -2039,10 +2039,8 @@ function getPromoteCompanyList() {
|
|
|
|
return $data;
|
|
|
|
return $data;
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
//获取游戏cp分成比例 $type=false时返回最低分成比例
|
|
|
|
function getGameCpRadio($game_id,$amount,$type) {
|
|
|
|
function getGameCpRadio($game_id,$amount,$type) {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (!$type) {
|
|
|
|
if (!$type) {
|
|
|
|
$data = M('cp_game_ratio','tab_')->where(['game_id'=>$game_id])->order('begin_total_amount asc')->find();
|
|
|
|
$data = M('cp_game_ratio','tab_')->where(['game_id'=>$game_id])->order('begin_total_amount asc')->find();
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|