作者 郭文星

123

... ... @@ -272,7 +272,7 @@ class Car extends Base
* @throws \think\exception\DbException
* @throws \think\exception\PDOException
*/
public function refund($id){
public function refund(){
$id=$this->request->param("id");
//查询订单
$order=Db::name("order")->where("id",$id)->find();
... ...