瀏覽代碼

基础配置

lizhen_gitee 1 年之前
父節點
當前提交
34969abfc2
共有 3 個文件被更改,包括 6 次插入3 次删除
  1. 2 2
      application/common/model/Config.php
  2. 1 1
      application/extra/site.php
  3. 3 0
      public/assets/js/backend/general/config.js

+ 2 - 2
application/common/model/Config.php

@@ -110,9 +110,9 @@ class Config extends Model
             'invite' => '邀请配置',
             'invite' => '邀请配置',
             'androidversion' => '安卓版本更新',
             'androidversion' => '安卓版本更新',
             'iosversion' => 'ios版本更新',
             'iosversion' => 'ios版本更新',
-            'indexpipei' => '首页匹配',
+//            'indexpipei' => '首页匹配',
             'takecash' => '提现',
             'takecash' => '提现',
-            'kaiguan' => '开关',
+//            'kaiguan' => '开关',
         );
         );
         foreach ($groupList as $k => &$v) {
         foreach ($groupList as $k => &$v) {
             $v = __($v);
             $v = __($v);

+ 1 - 1
application/extra/site.php

@@ -49,7 +49,7 @@ return [
     'invite_gift_num' => '0',
     'invite_gift_num' => '0',
     'un_authentication_max' => '100',
     'un_authentication_max' => '100',
     'alipay_switch' => '1',
     'alipay_switch' => '1',
-    'wechat_switch' => '0',
+    'wechat_switch' => '1',
     'recharge_switch' => '1',
     'recharge_switch' => '1',
     'apisite_switch' => '1',
     'apisite_switch' => '1',
     'apisite_notice' => '今天维护!',
     'apisite_notice' => '今天维护!',

+ 3 - 0
public/assets/js/backend/general/config.js

@@ -130,6 +130,9 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin
         edit: function () {
         edit: function () {
             Controller.api.bindevent();
             Controller.api.bindevent();
         },
         },
+        newindex: function () {
+            Controller.api.bindevent();
+        },
         api: {
         api: {
             bindevent: function () {
             bindevent: function () {
                 Form.api.bindevent($("form[role=form]"));
                 Form.api.bindevent($("form[role=form]"));