Commit b9d83882 by biao

1

parent 0c095fc4
...@@ -14,6 +14,7 @@ Secret key( SK ):BYLkXP9bZaQhI1ELr6HWkHRuKm1YPU ...@@ -14,6 +14,7 @@ Secret key( SK ):BYLkXP9bZaQhI1ELr6HWkHRuKm1YPU
数据库:http://manager.koala-online.cn/phpMyAdmin 数据库:http://manager.koala-online.cn/phpMyAdmin
//阿里云OSS存储 //阿里云OSS存储
https://www.aliyun.com/
阿里云账号: 阿里云账号:
考拉在线088/zb182838 考拉在线088/zb182838
AccessKeyId:LTAI4FvwbmX3iV7i6RaGsm5T AccessKeyId:LTAI4FvwbmX3iV7i6RaGsm5T
......
<?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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment