新增推广公司分成比例百分号

master
chenzhi 5 years ago
parent f507dde70b
commit 6bb3387b0e

@ -81,11 +81,11 @@ class PromoteCompanyController extends ThinkController
foreach($gameradiores as $k=>$v){
$turnover_ratio = json_decode($v['turnover_ratio'],true);
$v['turnover_ratio'] = array(
array("ratio"=>$v['ratio'],"name"=>"默认比例")
array("ratio"=>$v['ratio']."%","name"=>"默认比例")
);
foreach($turnover_ratio as $ke=>$va){
$t=array("ratio"=>$va["ratio"]);
$t=array("ratio"=>$va["ratio"]."%");
if(array_key_exists("instanceof",$va)){
//存在
if($va['instanceof']=='1'){

Loading…
Cancel
Save