正在显示
3 个修改的文件
包含
4 行增加
和
3 行删除
@@ -154,8 +154,8 @@ if (!function_exists('getOrderSn')) { | @@ -154,8 +154,8 @@ if (!function_exists('getOrderSn')) { | ||
154 | * @throws \think\db\exception\ModelNotFoundException | 154 | * @throws \think\db\exception\ModelNotFoundException |
155 | * @throws \think\exception\DbException | 155 | * @throws \think\exception\DbException |
156 | */ | 156 | */ |
157 | - function SendMessage($order_id){ | ||
158 | - $order=\think\Db::name("order")->find($order_id); | 157 | + function SendMessage($order_id){ |
158 | + $order=\think\Db::name("order")->find($order_id); | ||
159 | $wxxcxpush=new WxxcxPush(); | 159 | $wxxcxpush=new WxxcxPush(); |
160 | $user=new User(); | 160 | $user=new User(); |
161 | $user=$user->find($order['user_id']); | 161 | $user=$user->find($order['user_id']); |
@@ -299,7 +299,7 @@ class Car extends Base | @@ -299,7 +299,7 @@ class Car extends Base | ||
299 | */ | 299 | */ |
300 | public function switching_driver() | 300 | public function switching_driver() |
301 | { | 301 | { |
302 | - $res = Db::name("driver")->where("user_id", $this->auth->id)->find(); | 302 | + $res = Db::name("driver")->where("user_id", 37)->find(); |
303 | $car = Db::name("car")->where("driver_id", $res['id'])->find(); | 303 | $car = Db::name("car")->where("driver_id", $res['id'])->find(); |
304 | if ($car) { | 304 | if ($car) { |
305 | //本月收入 | 305 | //本月收入 |
1 | 2024-04-02 17:59:05《117》"{\"errcode\":43101,\"errmsg\":\"user refuse to accept the msg rid: 660bd6ea-622ec5d0-43cc7fb2\"}" | 1 | 2024-04-02 17:59:05《117》"{\"errcode\":43101,\"errmsg\":\"user refuse to accept the msg rid: 660bd6ea-622ec5d0-43cc7fb2\"}" |
2 | 2024-04-02 18:00:07《117》"{\"errcode\":43101,\"errmsg\":\"user refuse to accept the msg rid: 660bd727-39dc0f13-306b3b82\"}" | 2 | 2024-04-02 18:00:07《117》"{\"errcode\":43101,\"errmsg\":\"user refuse to accept the msg rid: 660bd727-39dc0f13-306b3b82\"}" |
3 | +2024-04-15 15:24:09《117》"{\"errcode\":43101,\"errmsg\":\"user refuse to accept the msg rid: 661cd619-364b9ebc-754d7dac\"}" |
-
请 注册 或 登录 后发表评论