作者 郭文星

123

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