Browse Source

注册规则,使用后台配置

lizhen_gitee 4 months ago
parent
commit
6a7647ec52
1 changed files with 2 additions and 0 deletions
  1. 2 0
      application/api/controller/Baseconfig.php

+ 2 - 0
application/api/controller/Baseconfig.php

@@ -18,6 +18,8 @@ class Baseconfig extends Api
         $config = [
             'kefu_userids'    => config('site.kefu_userids'), //在线客服用户ids
 //            'index_pipei_switch'    => config('site.index_pipei_switch'), //首页匹配功能开关
+            'register_rule'    => config('site.register_rule'),
+            'register_rule_en' => config('site.register_rule_en'),
         ];
 
         $this->success('success',$config);