系统所有常量(二次开发手册,按 Ctrl + F 查询)
[IA_ROOT] => /www/wwwroot/www.zhiwu55.com //安装系统的目录
[IN_MODULE] => zhiwu55_study
[MODULE_ROOT] => /www/wwwroot/www.zhiwu55.com/addons/zhiwu55_study //模块目录
[MODULE_URL] => http://www.zhiwu55.com/addons/zhiwu55_study/ //模块目录
[CLIENT_IP] => 163.204.163.232 // 客户端访问IP地址
[ATTACHMENT_ROOT] => /www/wwwroot/www.zhiwu55.com/attachment/ // 附件目录
[TIMESTAMP] => 1582632952 //当前时间
[IN_MOBILE] => 1
[IN_IA] => 1
[STARTTIME] => 0.62286900 1582632952
[MAGIC_QUOTES_GPC] =>
[TIMESTAMP] => 1582632952
[IMS_FAMILY] => v
[IMS_VERSION] => 2.5.4
[IMS_RELEASE_DATE] => 202001100001
[REGULAR_EMAIL] => /\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*/i
[REGULAR_MOBILE] => /^\d{6,15}$/
[REGULAR_USERNAME] => /^[\x{4e00}-\x{9fa5}a-z\d_\.]{3,30}$/iu
[TEMPLATE_DISPLAY] => 0
[TEMPLATE_FETCH] => 1
[TEMPLATE_INCLUDEPATH] => 2
[ACCOUNT_SUBSCRIPTION] => 1
[ACCOUNT_SUBSCRIPTION_VERIFY] => 3
[ACCOUNT_SERVICE] => 2
[ACCOUNT_SERVICE_VERIFY] => 4
[ACCOUNT_TYPE_OFFCIAL_NORMAL] => 1
[ACCOUNT_TYPE_OFFCIAL_AUTH] => 3
[ACCOUNT_TYPE_APP_NORMAL] => 4
[ACCOUNT_TYPE_WEBAPP_NORMAL] => 5
[ACCOUNT_TYPE_PHONEAPP_NORMAL] => 6
[ACCOUNT_TYPE_APP_AUTH] => 7
[ACCOUNT_TYPE_WXAPP_WORK] => 8
[ACCOUNT_TYPE_XZAPP_NORMAL] => 9
[ACCOUNT_TYPE_XZAPP_AUTH] => 10
[ACCOUNT_TYPE_ALIAPP_NORMAL] => 11
[ACCOUNT_TYPE_BAIDUAPP_NORMAL] => 12
[ACCOUNT_TYPE_TOUTIAOAPP_NORMAL] => 13
[ACCOUNT_TYPE_SIGN] => account
[WXAPP_TYPE_SIGN] => wxapp
[WEBAPP_TYPE_SIGN] => webapp
[PHONEAPP_TYPE_SIGN] => phoneapp
[WELCOMESYSTEM_TYPE_SIGN] => welcome
[XZAPP_TYPE_SIGN] => xzapp
[ALIAPP_TYPE_SIGN] => aliapp
[BAIDUAPP_TYPE_SIGN] => baiduapp
[TOUTIAOAPP_TYPE_SIGN] => toutiaoapp
[ACCOUNT_OAUTH_LOGIN] => 3
[ACCOUNT_NORMAL_LOGIN] => 1
[WEIXIN_ROOT] => https://mp.weixin.qq.com
[ACCOUNT_OPERATE_ONLINE] => 1
[ACCOUNT_OPERATE_MANAGER] => 2
[ACCOUNT_OPERATE_CLERK] => 3
[ACCOUNT_MANAGE_NAME_CLERK] => clerk
[ACCOUNT_MANAGE_TYPE_OPERATOR] => 1
[ACCOUNT_MANAGE_NAME_OPERATOR] => operator
[ACCOUNT_MANAGE_TYPE_MANAGER] => 2
[ACCOUNT_MANAGE_NAME_MANAGER] => manager
[ACCOUNT_MANAGE_TYPE_OWNER] => 3
[ACCOUNT_MANAGE_NAME_OWNER] => owner
[ACCOUNT_MANAGE_NAME_FOUNDER] => founder
[ACCOUNT_MANAGE_GROUP_FOUNDER] => 1
[ACCOUNT_MANAGE_TYPE_VICE_FOUNDER] => 4
[ACCOUNT_MANAGE_NAME_VICE_FOUNDER] => vice_founder
[ACCOUNT_MANAGE_GROUP_VICE_FOUNDER] => 2
[ACCOUNT_MANAGE_GROUP_GENERAL] => 0
[ACCOUNT_MANAGE_NAME_UNBIND_USER] => unbind_user
[ACCOUNT_NO_OWNER_UID] => 0
[ACCOUNT_MANAGE_NAME_EXPIRED] => expired
[SYSTEM_COUPON] => 1
[WECHAT_COUPON] => 2
[COUPON_TYPE_DISCOUNT] => 1
[COUPON_TYPE_CASH] => 2
[COUPON_TYPE_GROUPON] => 3
[COUPON_TYPE_GIFT] => 4
[COUPON_TYPE_GENERAL] => 5
[COUPON_TYPE_MEMBER] => 6
[COUPON_TYPE_SCENIC] => 7
[COUPON_TYPE_MOVIE] => 8
[COUPON_TYPE_BOARDINGPASS] => 9
[COUPON_TYPE_MEETING] => 10
[COUPON_TYPE_BUS] => 11
[ATTACH_FTP] => 1
[ATTACH_OSS] => 2
[ATTACH_QINIU] => 3
[ATTACH_COS] => 4
[ATTACH_TYPE_IMAGE] => 1
[ATTACH_TYPE_VOICE] => 2
[ATTACH_TYPE_VEDIO] => 3
[ATTACH_TYPE_NEWS] => 4
[ATTACHMENT_IMAGE] => image
[ATTACH_SAVE_TYPE_FIXED] => 1
[ATTACH_SAVE_TYPE_TEMP] => 2
[STATUS_OFF] => 0
[STATUS_ON] => 1
[STATUS_SUCCESS] => 0
[CACHE_EXPIRE_SHORT] => 60
[CACHE_EXPIRE_MIDDLE] => 300
[CACHE_EXPIRE_LONG] => 3600
[CACHE_KEY_LENGTH] => 100
[MODULE_SYSTEM] => 1
[MODULE_NONSYSTEM] => 0
[MODULE_SUPPORT_WXAPP] => 2
[MODULE_NONSUPPORT_WXAPP] => 1
[MODULE_SUPPORT_ACCOUNT] => 2
[MODULE_NONSUPPORT_ACCOUNT] => 1
[MODULE_NOSUPPORT_WEBAPP] => 1
[MODULE_SUPPORT_WEBAPP] => 2
[MODULE_NOSUPPORT_PHONEAPP] => 1
[MODULE_SUPPORT_PHONEAPP] => 2
[MODULE_SUPPORT_SYSTEMWELCOME] => 2
[MODULE_NONSUPPORT_SYSTEMWELCOME] => 1
[MODULE_NOSUPPORT_ANDROID] => 1
[MODULE_SUPPORT_ANDROID] => 2
[MODULE_NOSUPPORT_IOS] => 1
[MODULE_SUPPORT_IOS] => 2
[MODULE_SUPPORT_XZAPP] => 2
[MODULE_NOSUPPORT_XZAPP] => 1
[MODULE_SUPPORT_ALIAPP] => 2
[MODULE_NOSUPPORT_ALIAPP] => 1
[MODULE_SUPPORT_BAIDUAPP] => 2
[MODULE_NOSUPPORT_BAIDUAPP] => 1
[MODULE_SUPPORT_TOUTIAOAPP] => 2
[MODULE_NOSUPPORT_TOUTIAOAPP] => 1
[MODULE_SUPPORT_WXAPP_NAME] => wxapp_support
[MODULE_SUPPORT_ACCOUNT_NAME] => account_support
[MODULE_SUPPORT_WEBAPP_NAME] => webapp_support
[MODULE_SUPPORT_PHONEAPP_NAME] => phoneapp_support
[MODULE_SUPPORT_SYSTEMWELCOME_NAME] => welcome_support
[MODULE_SUPPORT_XZAPP_NAME] => xzapp_support
[MODULE_SUPPORT_ALIAPP_NAME] => aliapp_support
[MODULE_SUPPORT_BAIDUAPP_NAME] => baiduapp_support
[MODULE_SUPPORT_TOUTIAOAPP_NAME] => toutiaoapp_support
[MODULE_LOCAL_INSTALL] => 1
[MODULE_LOCAL_UNINSTALL] => 2
[MODULE_CLOUD_INSTALL] => 3
[MODULE_CLOUD_UNINSTALL] => 4
[MODULE_CLOUD_UNINSTALL_NORMAL] => 1
[MODULE_CLOUD_UNINSTALL_CHECKED] => 2
[MODULE_CLOUD_UNINSTALL_IGNORE] => 3
[MODULE_RECYCLE_INSTALL_DISABLED] => 1
[MODULE_RECYCLE_UNINSTALL_IGNORE] => 2
[PERMISSION_ACCOUNT] => system
[PERMISSION_WXAPP] => wxapp
[PERMISSION_WEBAPP] => webapp
[PERMISSION_PHONEAPP] => phoneapp
[PERMISSION_XZAPP] => xzapp
[PERMISSION_ALIAPP] => aliapp
[PERMISSION_BAIDUAPP] => baiduapp
[PERMISSION_TOUTIAOAPP] => toutiaoapp
[PERMISSION_SYSTEM] => site
[PERMISSION_MODULES] => modules
[PAYMENT_WECHAT_TYPE_NORMAL] => 1
[PAYMENT_WECHAT_TYPE_BORROW] => 2
[PAYMENT_WECHAT_TYPE_SERVICE] => 3
[PAYMENT_WECHAT_TYPE_CLOSE] => 4
[FANS_CHATS_FROM_SYSTEM] => 1
[WXAPP_STATISTICS_DAILYVISITTREND] => 2
[WXAPP_DIY] => 1
[WXAPP_TEMPLATE] => 2
[WXAPP_MODULE] => 3
[WXAPP_CREATE_MODULE] => 1
[WXAPP_CREATE_MUTI_MODULE] => 2
[WXAPP_CREATE_DEFAULT] => 0
[MATERIAL_LOCAL] => local
[MATERIAL_WEXIN] => perm
[MENU_CURRENTSELF] => 1
[MENU_HISTORY] => 2
[MENU_CONDITIONAL] => 3
[USER_STATUS_CHECK] => 1
[USER_STATUS_NORMAL] => 2
[USER_STATUS_BAN] => 3
[USER_TYPE_COMMON] => 1
[USER_TYPE_CLERK] => 3
[PERSONAL_BASE_TYPE] => 1
[PERSONAL_AUTH_TYPE] => 2
[PERSONAL_LIST_TYPE] => 3
[PERSONAL_BIND_TYPE] => 4
[PERSONAL_LIMIT_TYPE] => 5
[STORE_TYPE_ACCOUNT] => 2
[STORE_TYPE_WXAPP] => 3
[STORE_TYPE_WEBAPP] => 17
[STORE_TYPE_PHONEAPP] => 18
[STORE_TYPE_XZAPP] => 19
[STORE_TYPE_ALIAPP] => 20
[STORE_TYPE_BAIDUAPP] => 21
[STORE_TYPE_TOUTIAOAPP] => 22
[STORE_TYPE_ACCOUNT_RENEW] => 7
[STORE_TYPE_WXAPP_RENEW] => 8
[STORE_TYPE_WEBAPP_RENEW] => 23
[STORE_TYPE_PHONEAPP_RENEW] => 24
[STORE_TYPE_XZAPP_RENEW] => 25
[STORE_TYPE_ALIAPP_RENEW] => 26
[STORE_TYPE_BAIDUAPP_RENEW] => 27
[STORE_TYPE_TOUTIAOAPP_RENEW] => 28
[STORE_TYPE_MODULE] => 1
[STORE_TYPE_WXAPP_MODULE] => 4
[STORE_TYPE_WEBAPP_MODULE] => 11
[STORE_TYPE_PHONEAPP_MODULE] => 12
[STORE_TYPE_XZAPP_MODULE] => 13
[STORE_TYPE_ALIAPP_MODULE] => 14
[STORE_TYPE_BAIDUAPP_MODULE] => 15
[STORE_TYPE_TOUTIAOAPP_MODULE] => 16
[STORE_TYPE_PACKAGE] => 5
[STORE_TYPE_API] => 6
[STORE_TYPE_USER_PACKAGE] => 9
[STORE_TYPE_ACCOUNT_PACKAGE] => 10
[STORE_ORDER_PLACE] => 1
[STORE_ORDER_DELETE] => 2
[STORE_ORDER_FINISH] => 3
[STORE_ORDER_DEACTIVATE] => 4
[STORE_ORDER_APPLY_REFUND] => 5
[STORE_ORDER_REFUND_FAIL] => 6
[STORE_ORDER_REFUNDED] => 7
[STORE_ORDER_FOUNDER_REFUND] => 8
[STORE_ORDER_WISH] => 1
[STORE_ORDER_NORMAL] => 0
[STORE_ORDER_ALL] => 3
[STORE_GOODS_STATUS_OFFlINE] => 0
[STORE_GOODS_STATUS_ONLINE] => 1
[STORE_GOODS_STATUS_DELETE] => 2
[ARTICLE_PCATE] => 0
[ARTICLE_CCATE] => 0
[USER_REGISTER_TYPE_QQ] => 1
[USER_REGISTER_TYPE_WECHAT] => 2
[USER_REGISTER_TYPE_MOBILE] => 3
[USER_REGISTER_TYPE_OPEN_WECHAT] => 4
[MESSAGE_ORDER_TYPE] => 1
[MESSAGE_ORDER_WISH_TYPE] => 13
[MESSAGE_ORDER_PAY_TYPE] => 9
[MESSAGE_ACCOUNT_EXPIRE_TYPE] => 2
[MESSAGE_WECHAT_EXPIRE_TYPE] => 5
[MESSAGE_WEBAPP_EXPIRE_TYPE] => 6
[MESSAGE_WORKORDER_TYPE] => 3
[MESSAGE_REGISTER_TYPE] => 4
[MESSAGE_USER_EXPIRE_TYPE] => 7
[MESSAGE_WXAPP_MODULE_UPGRADE] => 8
[MESSAGE_SYSTEM_UPGRADE] => 10
[MESSAGE_OFFICIAL_DYNAMICS] => 11
[MESSAGE_ORDER_APPLY_REFUND_TYPE] => 12
[MESSAGE_ENABLE] => 1
[MESSAGE_DISABLE] => 2
[MESSAGE_NOREAD] => 1
[MESSAGE_READ] => 2
[FILE_NO_UNIACID] => -1
[OAUTH_TYPE_BASE] => 1
[OAUTH_TYPE_USERINFO] => 2
[ARTICLE_COMMENT_DEFAULT] => 0
[ARTICLE_NOCOMMENT] => 1
[ARTICLE_COMMENT] => 2
[ARTICLE_COMMENT_NOREAD] => 1
[ARTICLE_COMMENT_READ] => 2
[COMMENT_STATUS_OFF] => 0
[COMMENT_STATUS_ON] => 1
[WELCOME_DISPLAY_TYPE] => 9
[PLATFORM_DISPLAY_TYPE] => 6
[MODULE_DISPLAY_TYPE] => 7
[USER_CREATE_PERMISSION_ALL_TYPE] => 1
[USER_CREATE_PERMISSION_GROUP_TYPE] => 2
[USER_ENDTIME_GROUP_EMPTY_TYPE] => 0
[USER_ENDTIME_GROUP_DELETE_TYPE] => 1
[USER_ENDTIME_GROUP_UNLIMIT_TYPE] => 2
[USERS_OPERATE_TYPE_ACCOUNT] => 1
[USERS_OPERATE_TYPE_MODULE] => 2
[CACHE_KEY_MODULE_SETTING] => module_setting:%s:%s
[PDO_DEBUG] => 1
[DEVELOPMENT] =>