【类 型】:feat
【原 因】:先测试提交 前端提交信息 【过 程】:refundOrder 订单申请退款 【影 响】:
This commit is contained in:
parent
da4e020ad4
commit
907607dac1
@ -175,6 +175,18 @@ class CheckController extends PublicController
|
|||||||
echo json_encode(array('status' => 0, 'msg' => '订单添加失败'));
|
echo json_encode(array('status' => 0, 'msg' => '订单添加失败'));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
/**
|
||||||
|
* @description: 订单申请退款
|
||||||
|
*/
|
||||||
|
public function refundOrder()
|
||||||
|
{
|
||||||
|
$orderDb = D('order');
|
||||||
|
$where['order_sn'] = $_REQUEST['order_sn'];
|
||||||
|
$where['shop_id'] = $_REQUEST['shop_id'];
|
||||||
|
$where['openid'] = $this->openid;
|
||||||
|
$n = $orderDb->select();
|
||||||
|
echo json_encode(array('status' => 0, 'msg' => $n));
|
||||||
|
}
|
||||||
/**
|
/**
|
||||||
* @description: 对应用户的订单列表
|
* @description: 对应用户的订单列表
|
||||||
*/
|
*/
|
||||||
|
Loading…
Reference in New Issue
Block a user