Commit dd0d5d1815915e6e008aaa27c309fbf136765f09

Authored by teemitop
1 parent 6bc89ff9

灰度&商家活动更新

@@ -361,12 +361,11 @@ class Seller extends Common @@ -361,12 +361,11 @@ class Seller extends Common
361 $data['title'] = '满赠'; 361 $data['title'] = '满赠';
362 break; 362 break;
363 case '3': 363 case '3':
364 - if($data['max_num']===0){  
365 - $data['title'] = $data['min_num'].'折'; 364 + if($data['max_num']==0){
  365 + $data['title'] = $data['min_num'].'折';break;
366 }else{ 366 }else{
367 - $data['title'] = '满'.$data['max_num'].'立享'.$data['min_num'].'折'; 367 + $data['title'] = '满'.$data['max_num'].'立享'.$data['min_num'].'折';break;
368 } 368 }
369 - break;  
370 case '4': 369 case '4':
371 $data['title'] = $data['max_num'].'元代金券'; 370 $data['title'] = $data['max_num'].'元代金券';
372 break; 371 break;
@@ -378,7 +377,6 @@ class Seller extends Common @@ -378,7 +377,6 @@ class Seller extends Common
378 break; 377 break;
379 } 378 }
380 //字段空值过滤 379 //字段空值过滤
381 -  
382 //添加活动 380 //添加活动
383 $res= file_get_contents(ON_LINE.'App.Seller.SetActivity&str='.serialize($data)); 381 $res= file_get_contents(ON_LINE.'App.Seller.SetActivity&str='.serialize($data));
384 $res = json_decode($res,TRUE); 382 $res = json_decode($res,TRUE);