Kaynağa Gözat

消息管理

李浩杰 4 yıl önce
ebeveyn
işleme
850f3c9fc0
1 değiştirilmiş dosya ile 2 ekleme ve 2 silme
  1. 2 2
      app/Models/Notification.php

+ 2 - 2
app/Models/Notification.php

xqd xqd
@@ -247,7 +247,7 @@ class Notification extends BaseModel
                     'content' => '你的设备调用申请已通过,请确认相关信息:',
                     'official' => [
                         'template_id' => 'dlRsvUWqeziBvGbdT89b69slvZll6gZVRCotIXCwwjM',
-                        'page' => 'pages/order-detail/index?id=' . $this['order_id'],
+                        'page' => '/pages/create-order-inner/index?id=' . $order->project_id . '&order_id=' .  $order->id . '&type=edit',
                         'data' => [
                             'first' => '您有一个订单已通过审核,请注意查看!',
                             'keyword1' => $this['created_at'],
@@ -265,7 +265,7 @@ class Notification extends BaseModel
                     'content' => '你有一条设备调用申请待审批,请确认相关信息:',
                     'official' => [
                         'template_id' => 'dlRsvUWqeziBvGbdT89b69slvZll6gZVRCotIXCwwjM',
-                        'page' => 'pages/order-detail/index?id=' . $this['order_id'],
+                        'page' => '/pages/create-order-inner/index?id=' . $order->project_id . '&order_id=' .  $order->id . '&type=edit',
                         'data' => [
                             'first' => '您有一条待审核的订单,请注意查看!',
                             'keyword1' => $this['created_at'],