Não pode escolher mais do que 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.
 
 
 
 
 
 

70 linhas
2.6 KiB

  1. <?php
  2. /**
  3. * 配置文件 不经常变动的参数放在此处
  4. * ============================================================================
  5. * * 版权所有 蜘蛛出行 * *
  6. * 网站地址: http://www.zhizhuchuxing.com
  7. * ----------------------------------------------------------------------------
  8. * 这不是一个自由软件!您只能在不用于商业目的的前提下对程序代码进行修改和
  9. * 使用;不允许对程序代码以任何形式任何目的的再发布。
  10. * ============================================================================
  11. * Author By: 倪宗锋
  12. * PhpStorm site.contants.config.php
  13. * Create By 2016/11/8 9:51 $
  14. */
  15. return array(
  16. 'org_id' => '164',//运营公司ID 对应base_supplier表的ID 0:蜘蛛出行 1081:千岛湖 具体参见数据库
  17. 'show_line_org' => ' not in (1081)',//允许展示线路得org_id 如: 1081,660
  18. 'main_corp_id'=> '1',//运营主体 上海蜘蛛行国际旅行社有限公司
  19. 'session_life' => 3600*24*30,//session生存周期
  20. 'send_message' => true,//是否可以发送验证码
  21. 'all_log' => true,//是否开启 所有请求的日志记录
  22. 'authorizeUrl' => 'https://open.weixin.qq.com/connect/oauth2/authorize?',//微信code获取地址
  23. 'authTokenUrl' => 'https://api.weixin.qq.com/sns/oauth2/access_token?',//微信token获取地址
  24. //发车时间段列表
  25. 'start_time_arr'=>array(
  26. 0=>array(
  27. 'res_name'=>'不限',
  28. 'res_id'=>'0'
  29. ),
  30. 1=>array(
  31. 'res_name'=>'AM. 6: 00 - 12:00',
  32. 'res_id'=>'1'
  33. ),
  34. 2=>array(
  35. 'res_name'=>'PM. 12: 00 - 14:00',
  36. 'res_id'=>'2'
  37. ),
  38. 3=>array(
  39. 'res_name'=>'PM. 14: 00 - 18:00',
  40. 'res_id'=>'3'
  41. ),
  42. 4=>array(
  43. 'res_name'=>'PM. 18: 00 - 6:00',
  44. 'res_id'=>'4'
  45. )
  46. ),
  47. //支付方式配置数组
  48. 'pay_type_arr'=>array(
  49. 0=>array(
  50. 'pay_id'=>1,
  51. 'pay_name'=>'微信支付',
  52. 'pay_slogan'=>'绿色通道,安全便捷',
  53. 'pay_icon'=>'http://img.zhizhuchuxing.cn/zzwx/public/wechat.png'
  54. ),
  55. 1=>array(
  56. 'pay_id'=>2,
  57. 'pay_name'=>'支付宝',
  58. 'pay_slogan'=>'支付宝用户使用',
  59. 'pay_icon'=>'http://img.zhizhuchuxing.cn/zzwx/public/alipay.png'
  60. )
  61. ),
  62. //客运电子票配置临时数据
  63. 'eticket'=>array(
  64. 'ticket_check'=>'01',
  65. 'seat_number'=>'11,12,13,14,15,16',
  66. 'bar_code'=>'http://img.zhizhuchuxing.cn/zzwx/public/tiaoxingma.png',
  67. 'bar_code_id'=>'1999 08 03'
  68. )
  69. );