Explorar el Código

Wesmiler 人人车 初始化项目 0816

APPLE hace 3 años
padre
commit
08bf1140fe
Se han modificado 1 ficheros con 0 adiciones y 10 borrados
  1. 0 10
      application/api/controller/v1/Taxi.php

+ 0 - 10
application/api/controller/v1/Taxi.php

@@ -274,16 +274,6 @@ class Taxi extends ApiController
      */
      */
     public function waitOrder()
     public function waitOrder()
     {
     {
-        $param = $this->request->param();
-        // 数据校验
-        $valid = $this->validate($param, [
-            'order_id' => 'require',
-        ]);
-        // 错误
-        if (true !== $valid) {
-            return $this->ApiJson(-1, $valid);
-        }
-
         $info = model('common/TaxiOrder')->with(['paylog','user','taxi','taxiUser'])
         $info = model('common/TaxiOrder')->with(['paylog','user','taxi','taxiUser'])
             ->where(['user_id' => $this->auth->user()['id']])
             ->where(['user_id' => $this->auth->user()['id']])
             ->whereIn('status',[2,3])
             ->whereIn('status',[2,3])