llp пре 5 дана
родитељ
комит
86c3ee5523
1 измењених фајлова са 14 додато и 10 уклоњено
  1. 14 10
      packages/Longyi/Gift/src/Models/GiftCards.php

+ 14 - 10
packages/Longyi/Gift/src/Models/GiftCards.php

@@ -168,36 +168,40 @@ class GiftCards extends Model implements GiftCardsContract
     {
         return [
             1 => [
+                'id' => 1,
                 'name' => 'Gift Card 1',
-                'amount' => 50.00,
-                'points' => 0,
+                'amount' => 20.00,
+                'points' => 20,
                 'num' => 0,
                 'expirationdate' => 30,
                 'channel' => 'activity_26_04_21',
                 'notes' => '拉新活动添加'
             ],
             2 => [
-                'name' => 'Gift Card 1',
-                'amount' => 50.00,
-                'points' => 0,
+                'id' => 2,
+                'name' => 'Gift Card 2',
+                'amount' => 30.00,
+                'points' => 30,
                 'num' => 0,
                 'expirationdate' => 30,
                 'channel' => 'activity_26_04_21',
                 'notes' => '拉新活动添加'
             ],
             3 => [
-                'name' => 'Gift Card 1',
-                'amount' => 50.00,
-                'points' => 0,
+                'id' => 3,
+                'name' => 'Gift Card 3',
+                'amount' => 40.00,
+                'points' => 40,
                 'num' => 0,
                 'expirationdate' => 30,
                 'channel' => 'activity_26_04_21',
                 'notes' => '拉新活动添加'
             ],
             4 => [
-                'name' => 'Gift Card 1',
+                'id' => 4,
+                'name' => 'Gift Card 4',
                 'amount' => 50.00,
-                'points' => 0,
+                'points' => 50,
                 'num' => 0,
                 'expirationdate' => 30,
                 'channel' => 'activity_26_04_21',