|
@@ -186,10 +186,11 @@ class Returngoods extends Start_Controller {
|
|
}
|
|
}
|
|
$order_no= $arg_array[0];
|
|
$order_no= $arg_array[0];
|
|
$id = isset($arg_array[1])?$arg_array[1]:0;
|
|
$id = isset($arg_array[1])?$arg_array[1]:0;
|
|
- if($id){
|
|
|
|
- $order_info = $this->logic_order->getInfo("id = ".$id," and orderinfo = ".$order_no);
|
|
|
|
|
|
+ if($id > 0){
|
|
|
|
+ $order_info = $this->logic_order->getInfo("id = ".$id." and orderinfo = ".$order_no,'id,orderinfo,number,shop');
|
|
|
|
+
|
|
}else{
|
|
}else{
|
|
- $order_info = $this->logic_order->getInfo("orderinfo = ".$order_no);
|
|
|
|
|
|
+ $order_info = $this->logic_order->getInfo("orderinfo = ".$order_no,'id,orderinfo,number,shop');
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|