Explorar o código

Merge pull request #1636 from sspanel-uim/dev

Dev 20221022
M1Screw %!s(int64=3) %!d(string=hai) anos
pai
achega
74f14da702
Modificáronse 2 ficheiros con 19 adicións e 20 borrados
  1. 15 16
      composer.json
  2. 4 4
      resources/views/tabler/user/index.tpl

+ 15 - 16
composer.json

@@ -5,31 +5,30 @@
         "ext-json": "*",
         "ext-mysqli": "*",
         "ext-xml": "*",
-        "aws/aws-sdk-php": "3.*",
-        "cloudflare/sdk": "1.3.0",
+        "anankke/omnipay-alipay": "^3.1.3",
+        "aws/aws-sdk-php": "^3",
+        "cloudflare/sdk": "^1",
         "esdeathlove/datatables": "^1.6",
-        "firebase/php-jwt": "~3.0",
+        "guzzlehttp/guzzle": "^7.4",
         "illuminate/database": "^9.0",
         "illuminate/pagination": "^9.0",
-        "irazasyed/telegram-bot-sdk": "^3.6",
+        "irazasyed/telegram-bot-sdk": "^3",
         "khanamiryan/qrcode-detector-decoder": "*",
         "league/omnipay": "^3.2.1",
-        "anankke/omnipay-alipay": "^3.1.3",
         "mailgun/mailgun-php": "^3",
-        "paymentwall/paymentwall-php": "^2.1",
-        "phpmailer/phpmailer": "~6.0",
+        "paymentwall/paymentwall-php": "^2",
+        "phpmailer/phpmailer": "^6",
         "ramsey/uuid": "^4",
-        "robmorgan/phinx": "^0.12.9",
-        "sendgrid/sendgrid": "^7",
+        "robmorgan/phinx": "^0.13",
+        "sendgrid/sendgrid": "^8",
         "sentry/sentry": "^3",
-        "slim/slim": "~3.0",
+        "slim/slim": "^3.12",
         "smarty/smarty": "^4",
-        "stripe/stripe-php": "^7.105",
-        "symfony/yaml": "^5",
+        "stripe/stripe-php": "^7",
+        "symfony/console": "*",
+        "symfony/yaml": "^6",
         "voku/anti-xss": "^4",
-        "zeuxisoo/slim-whoops": "0.5.*",
-        "guzzlehttp/guzzle": "^7.4",
-        "symfony/console": "*"
+        "zeuxisoo/slim-whoops": "0.6.*"
     },
     "autoload": {
         "psr-4": {
@@ -44,6 +43,6 @@
         }
     },
     "require-dev": {
-        "nunomaduro/phpinsights": "^2.5"
+        "nunomaduro/phpinsights": "*"
     }
 }

+ 4 - 4
resources/views/tabler/user/index.tpl

@@ -352,11 +352,11 @@
                                 </div>
                             </div>
                             <p class="my-3">
-                                {if time() > strtotime($user->expire_in)}
-                                    你的账户过期了,可以前往 <a href="/user/product">商店</a> 购买套餐
+                                {if time() > strtotime($user->class_expire)}
+                                    你的套餐过期了,可以前往 <a href="/user/shop">商店</a> 购买套餐
                                 {else}
-                                    {$diff = round((strtotime($user->expire_in) - time()) / 86400)}
-                                    你的账户大约还有 {$diff} 天到期({$user->expire_in})
+                                    {$diff = round((strtotime($user->class_expire) - time()) / 86400)}
+                                    你的 LV. {$user->class} 套餐大约还有 {$diff} 天到期({$user->class_expire})
                                 {/if}
                             </p>
                         </div>