{
$info = Db::table("cm_package")
->where("id", "in", [44, 45, 46, 47])
->field("id,act_name as name,sub_name,unit_price,default,price,origin_price,expire_time,pak_tips,default,alipay,remark")
->order("sorter desc")
->select();
foreach ($info as $k => $v) {
$arr = explode(",", $v["remark"]);
$info[$k]["remark1"] = $arr[0];
$info[$k]["remark2"] = $arr[1];
}
$this->assign("package_info", $info);
$activeInfo = Db::table("cm_active")
->where("status", 1)
->where("expire", 1)
->where("plat", "万圣节活动")
->find();
$endTime = $activeInfo["end"];
if ($activeInfo["expire"] == -1) {
TEMP | /tmp |
TMPDIR | /tmp |
TMP | /tmp |
PATH | /usr/local/bin:/usr/bin:/bin |
USER | www |
HOME | /home/www |
HTTP_HOST | wapi.lxjiasu.com |
HTTP_E605D26C1A50CFABCF6A51C170EAB3E2 | tag |
HTTP_X_NWS_LOG_UUID | 14002262203631522479 |
HTTP_TENCENT_ACCELERATION_DOMAIN_NAME | wapi.lxjiasu.com |
HTTP_71DBC4E61F4986EE37644B8EBFBD1D71 | tag |
HTTP_E80BF67D811A62D851941561C881D376 | tag |
HTTP_X_FORWARDED_PROTO | https |
HTTP_X_FORWARDED_FOR | 47.100.87.46 |
HTTP_X_TENCENT_UA | Qcloud |
HTTP_CONNECTION | keep-alive |
HTTP_5DBBCBACF17AAA269740F0F1835126AF | tag |
HTTP_ACCEPT | */* |
PATH_INFO | |
PHP_VALUE | open_basedir=/lj_root/liuxing/public:/tmp/:/proc/:/lj_root/liuxing |
REDIRECT_STATUS | 200 |
SERVER_NAME | wapi.lxjiasu.com |
SERVER_PORT | 80 |
SERVER_ADDR | 10.3.137.78 |
REMOTE_PORT | 18792 |
REMOTE_ADDR | 117.21.43.107 |
SERVER_SOFTWARE | nginx/1.17.3 |
GATEWAY_INTERFACE | CGI/1.1 |
REQUEST_SCHEME | http |
SERVER_PROTOCOL | HTTP/1.1 |
DOCUMENT_ROOT | /lj_root/liuxing/public |
DOCUMENT_URI | /index.php |
REQUEST_URI | /html/active/halloweennew |
SCRIPT_NAME | /index.php |
CONTENT_LENGTH | |
CONTENT_TYPE | |
REQUEST_METHOD | GET |
QUERY_STRING | s=/html/active/halloweennew |
SCRIPT_FILENAME | /lj_root/liuxing/public/index.php |
FCGI_ROLE | RESPONDER |
PHP_SELF | /index.php |
REQUEST_TIME_FLOAT | 1723728080.7832 |
REQUEST_TIME | 1723728080 |
APP_PATH | /lj_root/liuxing/public/../application/ |
ROOT_PATH | /lj_root/liuxing/public/../ |
SITE_PATH | /lj_root/liuxing/public/ |