const.php 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. <?php
  2. defined('ONLY_ONLY_ONLY') or exit('Access Denied');
  3. //切换为备案域名
  4. define('WEBAPI_ROOT_HOSTURL', 'https://api.kuailaiyou.top');
  5. define('WEBAPI_IMG_HOSTURL', 'https://api.kuailaiyou.top');
  6. //本项目涉及的子系统名值标记
  7. define('SUBSYS_PLAT_PCWEB', '0'); //平台PCWEB管理系统
  8. define('SUBSYS_LABOUR_MINA', '1'); //劳方小程序子系统
  9. define('SUBSYS_CAPITAL_MINA', '2'); //资方小程序子系统
  10. define('SUBSYS_CAPITAL2_MINA', '3'); //资方小程序小二子系统
  11. //数据库配置
  12. global $DB_CONFIG;
  13. /*$DB_CONFIG['host'] = '127.0.0.1';
  14. $DB_CONFIG['username'] = 'bizdber';
  15. $DB_CONFIG['password'] = 'Ws2021@bizdber';
  16. $DB_CONFIG['port'] = '3366';
  17. $DB_CONFIG['database'] = 'bizdbKLY';
  18. $DB_CONFIG['charset'] = 'utf8mb4';*/
  19. $DB_CONFIG = [
  20. 'host' => '42.193.106.113',
  21. 'username' => 'root',
  22. 'password' => 'zhonghui0123',
  23. 'port' => '3306',
  24. 'database' => 'bizdbKLY',
  25. 'charset' => 'utf8mb4',
  26. ];
  27. /**** 腾讯云相关配置 ******/
  28. define('TXCLOUD_APPID', '1309103924');
  29. define('TXCLOUD_SecretId', 'AKIDby5wWprd9OM3UeX9VZMs88vRgeEYbNs6');
  30. define('TXCLOUD_SecretKey', 'yg7HAm9G6fy0lFTQ5TaQyFFzSeZEcjZ8');
  31. /****微信相关配置 正式******/
  32. define('WeiXin111_AppID', 'wxcd35a60de7b5942a'); //会员侧
  33. define('WeiXin111_AppSecret', '0a6ec1d0f533bd74dda62f2b4a2435cc');
  34. define('WeiXin222_AppID', 'wx8c230ea00ceb8676'); //商户
  35. define('WeiXin222_AppSecret', '8622d6f5ee46c3b588d2a65e2429f6f1');
  36. define('WeiXin333_AppID', 'wx8c230ea00ceb8676');
  37. define('WeiXin333_AppSecret', '8622d6f5ee46c3b588d2a65e2429f6f1');
  38. define('WeiXinPay_mchId', '1614403864');
  39. define('WeiXinPay_apiKey', 'GUANGmingjunxianghaoran181818185');
  40. define('WeiXinPay_apiKeyV3', 'GUANGmingjunxianghaoran181818185');
  41. /****微信相关配置 测试******/
  42. /*define('WeiXin111_AppID', 'wxc62a58b89a31b7ea'); //会员侧
  43. define('WeiXin111_AppSecret', '7d8b51dfc97f7f98e3134136aee0c0ee');
  44. define('WeiXin222_AppID', 'wx395d81ac36d7d144'); //商户
  45. define('WeiXin222_AppSecret', '290fe55b32b404366a0ac51100b4f22b');
  46. define('WeiXin333_AppID', 'wx395d81ac36d7d144');
  47. define('WeiXin333_AppSecret', '290fe55b32b404366a0ac51100b4f22b');
  48. define('WeiXinPay_mchId', '1614403864');
  49. define('WeiXinPay_apiKey', 'GUANGmingjunxianghaoran181818185');
  50. define('WeiXinPay_apiKeyV3', 'GUANGmingjunxianghaoran181818185');*/
  51. /***回调不能带参数,已在nginx中重写,但切记除了WXPAYBACK大小写无关外,其他大小写敏感**/
  52. define('WeiXinPay_notifyurlV2', WEBAPI_ROOT_HOSTURL . '/WXPAYBACK/KLY/WeiXin/PayedNotifyV2');
  53. define('WeiXinPay_notifyurlV3', WEBAPI_ROOT_HOSTURL . '/WXPAYBACK/KLY/WeiXin/PayedNotifyV3');
  54. /****阿里短信服务应用KEY******/
  55. define('AliSMSAccessKey', 'LTAI5tSQRXPMmcJbE3TGDPCr');
  56. define('AliSMSAccessSecret', 'M4jhwoB2oZijjGwxfYUjnstoLUEEFJ');
  57. /**** 短信验证码 短信模板及签名******/
  58. define('AliSMS_CODE_TMPSIGN', '快来优');
  59. define('AliSMS_CODE_TMPCODE', 'SMS_223665142');
  60. define('AliSMS_TMPCODE_111', 'SMS_234405391'); //报名成功通知
  61. define('AliSMS_TMPCODE_222', 'SMS_227741792'); //新会员报名通知
  62. define('AliSMS_TMPCODE_333', 'SMS_234420394'); //商家违约通知会员
  63. //define('AliSMS_TMPCODE_444', 'SMS_227731909');//会员主动取消报名警告
  64. /***********************/
  65. define('GRAY_MODE', '0'); //>0 非灰度
  66. define('GRAY_PHONES', '17640181459,15620638138,18920787806,18920407769,18222906683'); //>0 非灰度
  67. /**** 百度地图应用 ******/
  68. //define('BaiduLBS_APPKEY', 'oW4DZ7UVTht7WNF9EwAb06zsXC2o5Rj9');
  69. define('BaiduLBS_APPKEY', 'oDFi8utGN2I5HyODhy7dG1zDslgVeWRy');