Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
SooonerHotel
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
吴贤德
SooonerHotel
Commits
3c480b54
Commit
3c480b54
authored
Nov 26, 2019
by
吴贤德
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
注释
parent
c73aa506
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
3 deletions
+13
-3
config.php
SooonerHotel/App/Conf/config.php
+12
-2
WasuAction.class.php
SooonerHotel/App/Lib/Action/Api/WasuAction.class.php
+1
-1
No files found.
SooonerHotel/App/Conf/config.php
View file @
3c480b54
...
...
@@ -30,7 +30,7 @@ return array(
'DB_FIELDTYPE_CHECK'
=>
true
,
//开启字段类型验证
'TMPL_STRIP_SPACE'
=>
true
,
//是否去除模板文件里面的html空格与换行
'VAR_PAGE'
=>
'p'
,
//分页参数
'APP_STATUS'
=>
'
release
'
,
'APP_STATUS'
=>
'
debug
'
,
//分组
'APP_GROUP_LIST'
=>
'System,Hotel,Sp,Media,Inject,Api,PlayCtrl,Log,Monitor,Site'
,
//项目分组列表(配置即表示开启分组)
...
...
@@ -49,7 +49,7 @@ return array(
'VAR_TEMPLATE'
=>
'l'
,
//与语言参数使用相同参数,实现多语言支持
//内网数据库配置
'DB_TYPE'
=>
'mysql
'
,
'DB_TYPE'
=>
'mysql
i'
,
//mysql ,mysqli
'DB_HOST'
=>
'192.168.200.24'
,
'DB_NAME'
=>
'soooner_hotel'
,
'DB_USER'
=>
'root'
,
...
...
@@ -57,6 +57,15 @@ return array(
'DB_PORT'
=>
'3306'
,
'DB_PREFIX'
=>
''
,
//wasu
// 'DB_TYPE' => 'mysqli', //mysql ,mysqli
// 'DB_HOST' => '47.99.247.16',
// 'DB_NAME' =>'soooner_hotel',
// 'DB_USER' =>'root',
// 'DB_PWD' =>'atomicytl',
// 'DB_PORT' =>'23306',
// 'DB_PREFIX' =>'',
//RBAC认证配置
//'RBAC_SUPERADMIN'=>'sysadmin',
//'ADMIN_AUTH_KEY'=>'sysadmin',
...
...
@@ -68,6 +77,7 @@ return array(
'NOT_AUTH_ACTION'
=>
'addRoleHandle'
,
//无需认证模块
// 'USER_AUTH_GATEWAY'=>'/Login/loginDo', //认证网关
'RBAC_DB_DSN'
=>
'mysql://root:hezuo123456@192.168.200.24:3306/soooner_hotel'
,
//内网测试
// 'RBAC_DB_DSN'=>'mysql://root:atomicytl@47.99.247.16:23306/soooner_hotel', //wasu
'RBAC_ROLE_TABLE'
=>
'rbac_role'
,
//角色表名称
'RBAC_USER_TABLE'
=>
'rbac_role_user'
,
//用户表名称
'RBAC_ACCESS_TABLE'
=>
'rbac_access'
,
//权限表名称
...
...
SooonerHotel/App/Lib/Action/Api/WasuAction.class.php
View file @
3c480b54
...
...
@@ -46,7 +46,7 @@ class WasuAction extends Action
* 输入:
* spid : 合作方id
* hid : 酒店id
* program : 栏目名称(不传或all获取所有栏目媒资)
* program : 栏目名称(不传或all获取所有栏目媒资)
,多栏目合并获取使用分隔符 "|"
* status_inject : 注入状态:1已注入 ,all为所有
* page : 请求页
* page_size : 每页记录数
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment