From 4ebb3da3f73657d78ebd985e51b22b22eec4aa10 Mon Sep 17 00:00:00 2001 From: NimaQu Date: Fri, 2 Mar 2018 12:46:54 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9C=A8=E4=B8=8D=E4=BD=BF=E7=94=A8=E6=98=93?= =?UTF-8?q?=E4=BB=98=E9=80=9A=E7=9A=84=E6=97=B6=E5=80=99=E9=9A=90=E8=97=8F?= =?UTF-8?q?=E7=AE=A1=E7=90=86=E9=9D=A2=E6=9D=BF=E7=9A=84=E5=85=85=E5=80=BC?= =?UTF-8?q?=E8=AE=B0=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 4 ++++ app/Services/Config.php | 3 ++- resources/views/material/admin/main.tpl | 2 ++ 3 files changed, 8 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index dd290a82..db1bb4b4 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,7 @@ .DS_Store /vendor /config/.config.php +.idea/modules.xml +.idea/UIChanges.iml +.idea/vcs.xml +.idea/workspace.xml diff --git a/app/Services/Config.php b/app/Services/Config.php index e1b26988..75f44b44 100644 --- a/app/Services/Config.php +++ b/app/Services/Config.php @@ -30,7 +30,8 @@ class Config "jump_delay" => self::get("jump_delay"), "enable_analytics_code" => self::get("enable_analytics_code"), "enable_donate" => self::get("enable_donate"), - "enable_telegram" => self::get("enable_telegram") + "enable_telegram" => self::get("enable_telegram"), + "payment_system" => self::get("payment_system") ]; } diff --git a/resources/views/material/admin/main.tpl b/resources/views/material/admin/main.tpl index 58fc511c..3f3bd999 100644 --- a/resources/views/material/admin/main.tpl +++ b/resources/views/material/admin/main.tpl @@ -109,7 +109,9 @@
  • shop 商品
  • card_giftcard 优惠码
  • shopping_cart 购买记录
  • + {if $config['payment_system']=='yftpay'}
  • shopping_cart 充值记录
  • + {/if}
  • person 用户中心