优惠券订单及其他脚本

confv2.class.php 905B

123456789101112131415161718192021222324252627282930313233
  1. <?php
  2. class conf{
  3. # 数据库
  4. public static $DB_CONF = array(
  5. 'host' => 'rm-2zeyjdfes9b313jt6.mysql.rds.aliyuncs.com',
  6. 'port' => '3306',
  7. 'dbName' => 'tbk',
  8. 'user' => 'root',
  9. 'password' => 'vetted8#hatbox'
  10. );
  11. public static $DB_ONLINE_CONF = array(
  12. 'host' => 'rm-2zeyjdfes9b313jt6.mysql.rds.aliyuncs.com',
  13. 'port' => '3306',
  14. 'dbName' => 'tbk_online',
  15. 'user' => 'root',
  16. 'password' => 'vetted8#hatbox'
  17. );
  18. # 佣金比例
  19. public static $RATE_CONF = array(
  20. "globalzk"=>0.90, //全局
  21. "selfSuper"=>0.6, //超 自购
  22. "selfYys"=>0.9, //运 自购
  23. "onefirstSuper"=>0.6, //超 普下购
  24. "onefirstYys"=>0.9, //运 普下购
  25. "twofirstSuper"=>0.1, //超 超下购
  26. "twofirstYys"=>0.3, //运 超下购
  27. "threesecondYys"=>0.2, //运 超下下..购
  28. "YysManage" => 0.05, //运 津贴
  29. );
  30. }