作者 王智

baoxiu

@@ -574,24 +574,9 @@ class Index extends Api @@ -574,24 +574,9 @@ class Index extends Api
574 public function OrderPlayKing() 574 public function OrderPlayKing()
575 { 575 {
576 $param = $this->request->param(); 576 $param = $this->request->param();
577 -// if ($param['type'] == 0) {  
578 -// $is_genghuan = 2;  
579 -//// $status = 0;  
580 -// } else {  
581 -// if ($param['type'] == 1) {  
582 -// $is_genghuan = 1;  
583 -//// $status = 0;  
584 -// } else {  
585 -// $is_genghuan = 1;  
586 -//// $status = 1;  
587 -// }  
588 -// }  
589 $res = Db::name('baoxiudan')->where(['id' => $param['id']])->update( 577 $res = Db::name('baoxiudan')->where(['id' => $param['id']])->update(
590 [ 578 [
591 -// 'is_genghuan' => $is_genghuan,  
592 'price' => $param['type'], 579 'price' => $param['type'],
593 -// 'status' => $status,  
594 -// 'repair_type' => 1,  
595 ] 580 ]
596 ); 581 );
597 if ($res) { 582 if ($res) {