HEX
Server: Apache/2.4.59 (Debian)
System: Linux keymana 4.19.0-21-cloud-amd64 #1 SMP Debian 4.19.249-2 (2022-06-30) x86_64
User: lijunjie (1003)
PHP: 7.4.33
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Upload Files
File: /var/www/dk/wp-content/themes/food/Config.php
<?php
///系统常量配置
date_default_timezone_set('PRC');

/**
 * Http配置
 */
class HttpConfig
{
//    const HKDOMAIN = 'http://app.tangchinese.org/'; //公司 HK 阿里服务器
    const HKDOMAIN = 'https://app.tangcn.com.cn/'; //公司 HK 阿里服务器
//    const SZOSS_DOMAIN = 'http://tangchinese-alpha.oss-cn-shenzhen.aliyuncs.com//'; //深圳oss
//    const SZOSS_DOMAIN = 'http://oss.tangcn.com.cn/'; //深圳oss
    const SZOSS_DOMAIN = 'http://ossvideo.tangcn.com.cn/'; //深圳oss
    const SZOSS_HTTPS_DOMAIN = 'https://ossvideo.tangcn.com.cn/'; //深圳oss https://ossvideo.tangcn.com.cn/
}

class Config
{
    /**
     * 出入库 时长配置
     */
    const ADMIN_INOUTPUT_TIME = [12, '管理员用户出入库 12个月'];
    const NORMAL_INOUTPUT_TIME = [1, '普通用户出入库 1个月']; //
    const BOOL_SNED_SMS = [false, '能否发送短信']; //
    const HASHIDS_SALT = ['E5FCDG3HQA4B1NOPIJ2RSTUV67KLYZMWX89', '6位邀请码加密钥匙'];
    const SHARECODE_LENGTH = [6, '6位邀请码长度'];


    const ACCOUNT_WX = ["wx_", '微信注册账号 前缀'];
    const ACCOUNT_GUEST = ['_guest', '没有注册用户 后缀'];

    const IMG_UPLOAD_VERIFY = ['imgE5FCDG3HQA4B1NOPIJ2RSTUV67KL', 'wp上传图片校验码'];

    /**
     * JWT
     */
    const JWTAUTH_ISS = 'https://class.bearingshield.cn/';
    const JWTAUTH_AUD = 'https://class.bearingshield.cn/';
    const JWTAUTH_IDENTIFIED = 'class2021';
    const JWTAUTH_SECRECT = 'WPclass2022writen';
    const JWTAUTH_REFRESH_TOKEN_SECRECT = 'class.bearingshield.cn-refresh2021';
    const JWTAUTH_BASE64 = 'rxZRlXZ7870PnhlEO9OQYBVNcP+li+xer36XjFWBYWo=';
    const JWTAUTH_EXPIRESTIME = '+72 hour';


//    const ADMIN_USER_ID_ARR = ['3,5,9,10', '管理员用户ID'];
    const ADMIN_USER_ID_ARR = [3, 5, 9, 10]; // 管理员用户ID 数组
    const ADMIN_USER_ID = ['(3,5,9,10)', '管理员用户ID'];
}

/**
 * 登录
 */
class LoginConfig
{
    const PWDMD5F = '98feb8b11a6f5ca3bcf182bfee113270'; //md5('class_study_2020');
    const PWDMD5L = 'baaf2d2a11c58b3c85014894efd9b2b0php'; //md5('aiden').'php';
}

///**
// * 阿里云短信
// * aidenmall 短信权限
// */
//class AlibabaCloudConfig
//{
//    const accessKeyId = 'LTAI4GBG7qKFyy7CsCZoTKnt';
//    const accessSecret = 'bwUXmcCfDYhpL3hIpiM6wjWYFQNTlC'; //md5('aiden').'php';
//}

/**
 * 超级管理员、管理员、老师、学生、旧学生
 */

/**
 * 日志记录类型
 */
class LogType
{
    const LOG_TYPE_USER = [1, '設置 用戶 & 權限組'];
    const LOG_TYPE_LOGIN = [2, '登录']; //
    const LOG_TYPE_AUDIO = [3, '音频记录']; //
    const LOG_TYPE_APP = [4, 'APP版本'];
    const LOG_TYPE_NORMAL = [5, '一般信息'];
    const LOG_TYPE_POST = [6, '发布/编辑文章'];
    const LOG_TYPE_FILE = [7, '文件'];

    const LOG_TYPE_NEWBIETASK = [8, '新人任务'];
}

///**
// * CDN替换
// */
//class CDNType
//{
//    const BOOLCDN = [false, '是否使用CDN替换'];
//    const BOOLCDN_DB = [false, '是否使用数据库配置']; //
//    const LOCAL_DEV = [false, '是否本地环境']; //
//    const OSS_DOMAIN = ['https://oss2.bearingshield.cn/', 'OSS2 域名'];
//}

/**
 * 用户设置
 */
class UserConfig
{
    const DEFAULT_PROFILE_CIRCULAR = ['用户默认圆形头像', 'https://app.tangchinese.org//wp-content//themes//classapp//assets//images/users/TANG_Chinese_default_profile_Circular_120_119.webp'];
    const DEFAULT_PROFILE = ['用户默认头像', 'https://app.tangchinese.org//wp-content//themes//classapp//assets//images/users/TANG_Chinese_default_profile_120_119.webp'];
}

/**
 * 用户积分
 */
class UserPointsConfig
{
    const NEWUSER = [0, '新注册用户积分', 'UserPointsConfig_NEWUSER'];
    const FIRSTLOGIN = [1000, '用户第一次登錄积分', 'USERPOINTSCONFIG_FIRSTLOGIN'];
    const SIGNIN_1D = [50, '签到单日', 'UserPointsConfig_SIGNIN_1D'];
    const SIGNIN_4D = [100, '签到4日', 'UserPointsConfig_SIGNIN_4D'];
    const SIGNIN_7D = [150, '签到7日', 'UserPointsConfig_SIGNIN_7D'];

    const LOGIN = [50, '登录', 'UserPointsConfig_LOGIN'];
    const USERONLINE = [50, '连续在线15分钟', 'UserPointsConfig_USERONLINE'];
    const INVITE = [500, '邀请好友', 'UserPointsConfig_INVITE'];


    const WALLETTOPUP_POINTS = [10000, '钱包充值积分比例'];

    const CHECKPOINT_INTRODUCTION = [20, 'Introduction'];
    const CHECKPOINT_1 = [50, '关卡1'];
    const CHECKPOINT_USE1 = [20, '关卡1解锁'];
    const CHECKPOINT_2 = [50, '关卡2'];
    const CHECKPOINT_USE2 = [40, '关卡2解锁'];

    const CHECKPOINT_3 = [50, '关卡3'];
    const CHECKPOINT_USE3 = [40, '关卡3解锁'];
    const CHECKPOINT_4 = [100, '关卡4'];
    const CHECKPOINT_USE4 = [50, '关卡4解锁'];

    const CHECKPOINT_5 = [100, '关卡5'];
    const CHECKPOINT_USE5 = [50, '关卡5解锁'];
    const CHECKPOINT_6 = [200, '关卡6'];
    const CHECKPOINT_USE6 = [100, '关卡6解锁'];

    const CHECKPOINT_7 = [200, '关卡7'];
    const CHECKPOINT_USE7 = [100, '关卡7解锁'];
    const CHECKPOINT_8 = [200, '关卡8'];
    const CHECKPOINT_USE8 = [150, '关卡8解锁'];

    const CHECKPOINT_9 = [300, '关卡9'];
    const CHECKPOINT_USE9 = [150, '关卡9解锁'];
    const CHECKPOINT_10 = [300, '关卡10'];
    const CHECKPOINT_USE10 = [150, '关卡10解锁'];


    const POINT_ARITHMETIC_PLUS = [0, '增加'];
    const POINT_ARITHMETIC_MINUS = [1, '减少'];

//    const POINT_INFO_NEWUSER = [1,'新注册用户积分'];
//    const POINT_INFO_ONLINE = [2,'用户15分钟签到'];
//    const POINT_INFO_LOGIN = [3,'首次登录'];
//    const POINT_INFO_SIGNIN = [4,'签到'];
//    const POINT_INFO_WALLETTOPUP = [5,'钱包充值'];
//    const POINT_INFO_COUPON = [6,'优惠券扣除'];
//    const POINT_INFO_USERCHECKPOINTSUBFINISH = [7,'用户地图checkPoint修改'];
//    const POINT_INFO_USERCHECKPOINTBOUGTH = [8,'checkPoint关卡购买'];

    const POINT_INFO_NEWUSER = [1, 'New Registration'];

    const POINT_INFO_ONLINE = [2, 'Used for 15 Minutes'];
    const POINT_INFO_LOGIN = [3, 'Daily Login'];
    const POINT_INFO_SIGNIN = [4, 'Sign In'];
    const POINT_INFO_WALLETTOPUP = [5, 'Wallet Recharge'];
    const POINT_INFO_COUPON = [6, 'Redeem Coupon'];
    const POINT_INFO_USERCHECKPOINTSUBFINISH = [7, 'CheckPoint Reward'];
    const POINT_INFO_USERCHECKPOINTBOUGTH = [8, 'checkPoint关卡购买'];
    const POINT_INFO_POINTS_EXCHANGE = [9, 'Points Exchange'];
    const POINT_INFO_NEWBIE_TASK = [10, 'Newbie Task']; //新人任务

    const POINT_INFO_USER_FIRST_LOGIN = [11, 'User first login'];
    const POINT_INFO_GOODS_PURCHASE = [12, 'Goods Purchase'];

    const POINT_INFO_ARR = ["",
        UserPointsConfig::POINT_INFO_NEWUSER[1],
        'Used for 15 Minutes', 'Daily Login', 'Sign In', 'Wallet Recharge', 'Redeem Coupon', 'CheckPoint Reward',
        UserPointsConfig::POINT_INFO_USERCHECKPOINTBOUGTH[1],
        UserPointsConfig::POINT_INFO_POINTS_EXCHANGE[1],
        UserPointsConfig::POINT_INFO_USER_FIRST_LOGIN[1],
        UserPointsConfig::POINT_INFO_GOODS_PURCHASE[1]
    ];
}

/**
 * 用户钱包
 */
class UserWalletConfig
{
//    const NEWUSER = [0,'新注册用户'];
//    const CHANNEL_0 = [0,'后台输入'];
//    const CHANNEL_1 = [1,'Paypal'];
//    const CHANNEL_2 = [2,'商品购买'];
//    const CHANNEL_9 = [9,'返现'];
//
//    const WALLET_ARITHMETIC_PLUS = [0,'增加'];
//    const WALLET_ARITHMETIC_MINUS = [1,'减少'];
//
//    const WALLET_INFO_TOPUP = [1,'充值'];
//    const WALLET_INFO_GOODSPAY = [2,'商品购买'];
//    const WALLET_INFO_REFUND = [3,'商品退款'];
//
//    const WALLET_INFO_ARR = ["",'充值','商品购买'];

    const NEWUSER = [0, 'New Registration'];
    const CHANNEL_0 = [0, 'Admin Operation'];
    const CHANNEL_1 = [1, 'PayPal'];
    const CHANNEL_2 = [2, 'Purchase'];
    const CHANNEL_9 = [9, 'Commission'];
    const CHANNEL_10 = [10, 'Points Exchange'];

    const WALLET_ARITHMETIC_PLUS = [0, 'Increase'];
    const WALLET_ARITHMETIC_MINUS = [1, 'Decrease'];

    const WALLET_INFO_TOPUP = [1, 'Recharge'];
    const WALLET_INFO_GOODSPAY = [2, 'Purchase'];
    const WALLET_INFO_REFUND = [3, 'Refund'];
    const WALLET_INFO_Points_Exchange = [4, 'Points Exchange'];

    const WALLET_INFO_ARR = ["", 'Recharge', 'Purchase', UserWalletConfig::WALLET_INFO_Points_Exchange[1]];
}

/**
 * Banner
 */
class BannerConfig
{
    const BANNERHOME = [0, '首页'];
    const BANNERHOMEMID = [1, '首页中部'];
    const LIVEBANNER = [3, '直播首页'];
}

/**
 * DB key
 */
class DBKEY
{
    const CHECKPOINT_TITLE1 = ["checkpoint_title1", '简介'];
    const CHECKPOINT_TITLE2 = ["checkpoint_title2", '单词'];
    const CHECKPOINT_TITLE3 = ["checkpoint_title3", '听力测试'];
    const CHECKPOINT_TITLE4 = ["checkpoint_title4", '会话'];
    const CHECKPOINT_TITLE5 = ["checkpoint_title5", '会话练习'];

    const OnlineConsultation = ["Online Consultation", '在线客服'];
    const ConsultationHotline = ["Consultation Hotline", '客服热线'];

    const APPROUTES_KEY2 = ["APPROUTES_KEY2", 'APP路由key2'];

    const POINTS_EXCHANGE_KEY1 = ["CoinsExchangePoints", 'coins转为points 比例'];


    const live_start_push_template = ["live_start_push_template", '直播 上课推送 信息模板'];


}

/**
 * 微信配置
 */
class WxConfig
{
    const APPID_OLD = 'wx3ff98821004a767c';
    const APPSECRET_OLD = '7cdb7ee71cf5d38e36a9d2065e60d3e8';

    const APPID = 'wxedc3430daf273895';
    const APPSECRET = 'db06bfaabacb859500f11360d2f8bf6b';
    const STATE = 'tang_flutter_wechat_sdk';
}

/**
 *  stripe 配置
 */
class StripeConfig
{
    const sk_test = 'sk_test_51LY7H7Iya8ofRGHCetxCCzVJ4RKh7bhbl6V43Md6766GQJRFrkvo70zcnCgxKDFT64wcMmfzYgIPcw37HKZN5N4u00jbfLhSZn';
    const sk_live = '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';

//    const sk_test = 'sk_test_51It9auA0WIkFSlPfEHtEqWs67VhdWTjZK7LUKo101oAdjj8jGCgYQmAK8uapEiOjX6biYlRaO3NuUbF5co5KBIAI00GIxMJ92b';
//    const sk_live = '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';

    ///webhook
    const endpoint_secret_test = 'whsec_ZAGfyA1CpyHAA1t7ht26OJ9El118KBf7';
    const endpoint_secret_live = 'whsec_07PCVZoFeVryBy9LrENmf4KEZ6mcx0Vj';

//    const endpoint_secret_test = 'whsec_cU8az8fHkuArVspFErF0jNa2Y3lqrWEy';
//    const endpoint_secret_live = 'whsec_KeG7ivKjEErj1KT301cte0xPloD2vCKq';
}


/**
 * Tts 语音配置
 */
class TtsConfig
{
    const ali_AppCode = '74927229a9694e90898dd77aacda0cbd'; // 阿里 key

    const ali_Tts_appkey = '6KohXsUaks2S5Emc'; // 阿里 key
    const ali_Tts_token = 'b64b98d2c0644a1dadca7220c4682a86'; // 阿里 token  old-> d2a670512efd49d29ad5cd8af9bfdaa0

    const server_path = '/var/www/e1/wp-content/uploads/'; // 服务器保存路径
    const server_file_path = '/wp-content/uploads/'; // 文件访问路径

    const ali_Tts_voice_arr = [
        '甜美女声-知甜' => 'zhitian',
        '中国台湾话女生-知青' => 'zhiqing',
        '儿童剧男声-马树' => 'mashu',
        '标准男声-艾达' => 'aida',
    ]; // 阿里 声音参数

    const vocabulary_pass_score = '90'; // 语音评分合格线
}


/**
 *  阿里 直播配置
 */
class AliLiveConfig
{
    const ALI_PLAY_DOMAIN = 'https://tangchinese-alpha.oss-cn-shenzhen.aliyuncs.com/'; // 阿里 oss 播放 url
    const ALI_OSS_PLAY_DOMAIN = 'https://ossvideo.tangcn.com.cn/'; // 阿里 oss + CDN 播放 url

    const PUSH_DOMAIN = 'stream.thekonnect.cn'; //推流域名
    const PUSH_KEY = 'sptCHutGRAOkMzej'; //推流域名配置的鉴权Key
    const PLAY_DOMAIN = 'play.thekonnect.cn'; //推流域名配置的鉴权Key
}

/**
 *  极光推送 配置
 */
class JPushConfig
{
    const AppKey = '9dba367dabb9d1c7761de46c';
    const MasterSecret = '18dd408a48bff7e51b5a187b';
}