base.php 850 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. <?php
  2. $config['base'] = array
  3. (
  4. # 支付组件支持的支付
  5. 'pay' => array
  6. (
  7. 'type' => array
  8. (
  9. 'wechat' => '微信支付',
  10. 'alipay' => '支付宝',
  11. 'yspay' => '银商支付',
  12. 'cmbc' => '招商支付',
  13. 'test' => '测试支付',
  14. ),
  15. 'status' => array
  16. (
  17. 1 => '待支付',
  18. 2 => '已支付',
  19. 3 => '支付失败',
  20. 4 => '申请退款中',
  21. 5 => '已退款',
  22. 6 => '部分退款',
  23. ),
  24. # 开放的支付方法 具体数值参考system_source_key Dever::config('base')->system_source_key
  25. /*
  26. 'h5' => 1,
  27. 'android' => 2,
  28. 'ios' => 3,
  29. 'pc' => 4,
  30. 'wx_applet' => 5,
  31. 'wx_service' => 6,
  32. */
  33. 'method' => array
  34. (
  35. 1 => 'page',
  36. 2 => 'app',
  37. 3 => array('app', 'apple'),
  38. 4 => 'qrcode',
  39. 5 => 'applet',
  40. 6 => 'page',
  41. ),
  42. ),
  43. 'pay_notify' => '',
  44. );
  45. return $config;