root 5 years ago
parent
commit
b45b2596e9
4 changed files with 9 additions and 5 deletions
  1. 0 0
      public/p__login.async.js
  2. 3 3
      resources/views/app.blade.php
  3. 2 1
      routes/web.php
  4. 4 1
      update.sql

File diff suppressed because it is too large
+ 0 - 0
public/p__login.async.js


+ 3 - 3
resources/views/app.blade.php

@@ -2,8 +2,8 @@
 <html>
     
     <head>
-        <link rel="stylesheet" href="./umi.css?v=0.1.5">
-        <link rel="stylesheet" href="./custom.css?v=0.1.5">
+        <link rel="stylesheet" href="./umi.css?v={{$verison}}">
+        <link rel="stylesheet" href="./custom.css?v={{$verison}}">
         <meta charset="utf-8">
         <meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,minimum-scale=1,user-scalable=no">
         <title>{{$title}}</title>
@@ -19,7 +19,7 @@
     
     <body>
         <div id="root"></div>
-        <script src="./umi.js?v=0.1.5"></script>
+        <script src="./umi.js?v={{$verison}}"></script>
     </body>
 
 </html>

+ 2 - 1
routes/web.php

@@ -14,6 +14,7 @@
 Route::get('/', function () {
     return view('app', [
         'title' => config('v2board.app_name', 'V2Board'),
-        'theme' => config('v2board.app_theme', 1)
+        'theme' => config('v2board.app_theme', 1),
+        'verison' => '0.1.6'
     ]);
 });

+ 4 - 1
update.sql

@@ -9,4 +9,7 @@ ALTER TABLE `v2_server`
 ADD `show` tinyint(1) NOT NULL DEFAULT '0' AFTER `settings`;
 /* 2019-11-23 */
 ALTER TABLE `v2_user`
-CHANGE `enable` `enable` tinyint(1) NOT NULL DEFAULT '1' AFTER `transfer_enable`;
+CHANGE `enable` `enable` tinyint(1) NOT NULL DEFAULT '1' AFTER `transfer_enable`;
+/* 2019-11-25 */
+ALTER TABLE `v2_order`
+ADD `type` int(11) NOT NULL COMMENT '1新购2续费3升级' AFTER `plan_id`;

Some files were not shown because too many files changed in this diff