修改评价
This commit is contained in:
@@ -361,9 +361,11 @@ class Staffgoods extends ApiBase
|
||||
public function order_sever(){
|
||||
$get = $this->request->get();//接受传递过来的参数
|
||||
$order=Db::name('order_exe')->where('id',$get['order_id'])->find(); //获取子订单的信息
|
||||
if ($order == null) {
|
||||
$this->_error('订单不存在');
|
||||
}
|
||||
$user=Db::name('order')->where('order_sn',$order['order_sn'])->find(); //获取主订单信息
|
||||
$data=[
|
||||
|
||||
'name'=> $user['consignee'],
|
||||
'phone'=> $user['mobile'],
|
||||
'adders'=> $user['address'],
|
||||
|
||||
Reference in New Issue
Block a user