作者 郭文星

123

@@ -255,6 +255,8 @@ class Dispatch extends Backend @@ -255,6 +255,8 @@ class Dispatch extends Backend
255 $params["driver_id"]=$params['intended_driver_id']; 255 $params["driver_id"]=$params['intended_driver_id'];
256 $params["driver_name"]=$driver['name']; 256 $params["driver_name"]=$driver['name'];
257 $result = $row->allowField(true)->save($params); 257 $result = $row->allowField(true)->save($params);
  258 + $index = new Index();
  259 + $index->senWxmsgToDriverUser($ids);
258 Db::commit(); 260 Db::commit();
259 } catch (ValidateException|PDOException|Exception $e) { 261 } catch (ValidateException|PDOException|Exception $e) {
260 Db::rollback(); 262 Db::rollback();