...
|
...
|
@@ -199,9 +199,9 @@ class OrderpageController extends WeChatBaseController{ |
|
|
$indent_id = $this -> request -> param();
|
|
|
$data = Db::name('indent') -> where('id',$indent_id['id']) -> find();
|
|
|
$money_ratio = Db::name('money_ratio') -> where('id',1) -> find();
|
|
|
if($data['indent_type'] == 2 && $data['is_courier'] == 2){
|
|
|
/* if($data['indent_type'] == 2 && $data['is_courier'] == 2){
|
|
|
Db::name('indent') -> where('id',$indent_id['id']) -> setDec('money',$money_ratio['courier']);
|
|
|
}
|
|
|
}*/
|
|
|
$this -> redirect('index/index');
|
|
|
|
|
|
}
|
...
|
...
|
|