Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
Compass
Overview
Overview
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
zong
Compass
Commits
b9d83882
Commit
b9d83882
authored
Feb 02, 2020
by
biao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
0c095fc4
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
43 additions
and
0 deletions
+43
-0
compass_db_schema.xlsx
doc/DB/compass_db_schema.xlsx
+0
-0
readme.txt
doc/readme.txt
+1
-0
小程序文件命名以及接口调用说明.xlsx
doc/小程序文件命名以及接口调用说明.xlsx
+0
-0
接口文档 V1.0.xls
doc/接口文档 V1.0.xls
+0
-0
ajax_get_organization_rule_text - 副本.php
src/user/if/ajax_get_organization_rule_text - 副本.php
+42
-0
No files found.
doc/DB/compass_db_schema.xlsx
View file @
b9d83882
No preview for this file type
doc/readme.txt
View file @
b9d83882
...
...
@@ -14,6 +14,7 @@ Secret key( SK ):BYLkXP9bZaQhI1ELr6HWkHRuKm1YPU
数据库:http://manager.koala-online.cn/phpMyAdmin
//阿里云OSS存储
https://www.aliyun.com/
阿里云账号:
考拉在线088/zb182838
AccessKeyId:LTAI4FvwbmX3iV7i6RaGsm5T
...
...
doc/小程序文件命名以及接口调用说明.xlsx
View file @
b9d83882
No preview for this file type
doc/接口文档 V1.0.xls
View file @
b9d83882
No preview for this file type
src/user/if/ajax_get_organization_rule_text - 副本.php
0 → 100644
View file @
b9d83882
<?php
<?php
// 使用代金券
require_once
(
"../user_include.inc"
);
ErrorLogger
::
doOutput
(
"Compass...ajax_get_organization_rule_text.php....Start."
,
0
);
//根据常量获取定义的值
$constName
=
"ORGNAZATION_RULE"
;
$constValue
=
""
;
//检索数据库
$param
[
'name'
]
=
$constName
;
$param
[
'delete_flg'
]
=
false
;
$systemConstantDatList
=
SystemConstantDat
::
getList
(
$param
,
'id'
,
'desc'
,
0
,
1
);
if
(
!
empty
(
$systemConstantDatList
))
{
$constValue
=
$systemConstantDatList
[
0
]
->
constant_value
;
}
ErrorLogger
::
doOutput
(
"Compass...ajax_get_organization_rule_text.php....constValue="
.
$constValue
,
0
);
ErrorLogger
::
doOutput
(
"Compass...ajax_get_organization_rule_text.php....End."
,
0
);
//如果为空说明未设定该参数的值
if
(
empty
(
$constValue
))
{
responseNG
(
"系统设定错误!"
);
}
//返回结果
responseOK
(
$constValue
);
function
responseNG
(
$result
)
{
$result
=
array
(
"status"
=>
"NG"
,
"result"
=>
$result
);
print
json_encode
(
$result
);
exit
;
}
function
responseOK
(
$result
)
{
$result
=
array
(
"status"
=>
"OK"
,
"result"
=>
$result
);
print
json_encode
(
$result
);
exit
;
}
?>
\ No newline at end of file
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