params.php 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194
  1. <?php
  2. $nationParams = require_once __DIR__ . '/params-nation.php';
  3. return [
  4. 'adminEmail' => 'admin@example.com',
  5. 'supportEmail' => 'support@example.com',
  6. 'nation' => $nationParams,
  7. 'backAccessTokenExpiresIn' => 3000 * 60,
  8. 'backRefreshTokenExpiresIn' => 3000 * 60 * 60,
  9. 'frontAccessTokenExpiresIn' => 3000 * 60,
  10. 'frontRefreshTokenExpiresIn' => 3000 * 60 * 60,
  11. 'user.passwordResetTokenExpire' => 3600,
  12. 'pageSize' => 20,
  13. 'http' => [
  14. ],
  15. 'shopWalletType' => [
  16. 'cash' =>[
  17. 'value'=>'cash',
  18. 'title'=>'现金钱包',
  19. ],
  20. ],
  21. 'enableLog' => true,
  22. 'isRemoteUpload' => false,
  23. 'excelLocalDir' => 'excel_export',
  24. 'superAdminRoleId' => '666A7F102B8D6C66E055736AECE8644D',
  25. 'mainAdminId' => '65F27BCE7FD278FFE055736AECE8644D',
  26. 'mainUserId' => '670B84FD7C216D4EE055736AECE8644D',
  27. 'hbCouponsProId' => '1000000000',
  28. 'storeDecRoleId' => '8976C62F40064D8AB357BE07C8A3CA8F',
  29. 'countyStoreDecRoleId' => '810916A06B304162902408A6B9E5D177',
  30. 'daysDiff' => 0,
  31. 'userStatus' => [
  32. 0 => [
  33. 'value' => '0',
  34. 'label' => '未激活',
  35. ],
  36. 1 => [
  37. 'value' => '1',
  38. 'label' => '正常',
  39. ],
  40. 2 => [
  41. 'value' => '2',
  42. 'label' => '注销',
  43. ],
  44. 3 => [
  45. 'value' => '3',
  46. 'label' => '黑名单',
  47. ],
  48. 4 => [
  49. 'value' => '4',
  50. 'label' => '停发',
  51. ],
  52. 9 => [
  53. 'value' => '9',
  54. 'label' => '永久关停',
  55. ],
  56. ],
  57. 'bonusWalletType' => [
  58. 'bonus' => [
  59. 'name' => 'bonus',
  60. 'label' => '会员账户奖金',
  61. ],
  62. 'reconsume_points' => [
  63. 'name' => 'bonus',
  64. 'label' => '复消积分余额',
  65. ],
  66. 'cash' => [
  67. 'name' => 'cash',
  68. 'label' => '会员账户余额',
  69. ],
  70. // 'cf' => [
  71. // 'name' => 'cf',
  72. // 'label' => '车房养老奖余额',
  73. // ],
  74. // 'lx' => [
  75. // 'name' => 'lx',
  76. // 'label' => '领袖分红奖余额',
  77. // ],
  78. ],
  79. 'auditStatus' => [
  80. 'un' => [
  81. 'value' => 0,
  82. 'label' => '未审核'
  83. ],
  84. 'true' => [
  85. 'value' => 1,
  86. 'label' => '已审核'
  87. ],
  88. 'false' => [
  89. 'value' => 2,
  90. 'label' => '审核失败'
  91. ],
  92. 'reject' => [
  93. 'value' => 3,
  94. 'label' => '已拒绝'
  95. ],
  96. ],
  97. // 发货状态
  98. 'deliveryStatus' => [
  99. '0' => [
  100. 'value' => 0,
  101. 'label' => '未发货'
  102. ],
  103. 'notDelivery' => [
  104. 'value' => 0,
  105. 'label' => '未发货'
  106. ],
  107. '1' => [
  108. 'value' => 1,
  109. 'label' => '已发货'
  110. ],
  111. 'delivered' => [
  112. 'value' => 1,
  113. 'label' => '已发货'
  114. ],
  115. '2' => [
  116. 'value' => 2,
  117. 'label' => '确认收货'
  118. ],
  119. 'confirm' => [
  120. 'value' => 2,
  121. 'label' => '确认收货'
  122. ],
  123. ],
  124. 'orderStatus' => [
  125. '0' => [
  126. 'value' => 0,
  127. 'label' => '待支付'
  128. ],
  129. 'notPaid' => [
  130. 'value' => 0,
  131. 'label' => '待支付'
  132. ],
  133. '1' => [
  134. 'value' => 1,
  135. 'label' => '已支付'
  136. ],
  137. 'paid' => [
  138. 'value' => 1,
  139. 'label' => '已支付'
  140. ],
  141. // 此时进入发货流程参考发货状态
  142. '3' => [
  143. 'value' => 3,
  144. 'label' => '物流状态'
  145. ],
  146. 'delivery' => [
  147. 'value' => 3,
  148. 'label' => '物流状态'
  149. ],
  150. '4' => [
  151. 'value' => 4,
  152. 'label' => '订单完成'
  153. ],
  154. 'complete' => [
  155. 'value' => 4,
  156. 'label' => '订单完成'
  157. ],
  158. '5' => [
  159. 'value' => 5,
  160. 'label' => '订单取消'
  161. ],
  162. 'cancel' => [
  163. 'value' => 5,
  164. 'label' => '订单取消'
  165. ],
  166. '6' => [
  167. 'value' => 6,
  168. 'label' => '订单删除'
  169. ],
  170. 'del' => [
  171. 'value' => 6,
  172. 'label' => '订单删除'
  173. ],
  174. ],
  175. 'exportModule' => [
  176. 'shop' => ['label' => '商城管理', 'value'=>'shop'],
  177. 'user' => ['label' => '会员管理', 'value'=>'user'],
  178. 'atlas' => ['label' => '网络图谱', 'value'=>'atlas'],
  179. 'reconsume' => ['label' => '复销管理', 'value'=>'reconsume'],
  180. 'bonus' => ['label' => '奖金管理', 'value'=>'bonus'],
  181. //'report' => ['label' => '报表管理', 'value'=>'report'],
  182. 'finance' => ['label' => '财务管理', 'value'=>'finance'],
  183. //'log' => ['label' => '日志管理', 'value'=>'log'],
  184. ],
  185. 'snowFake' => [
  186. 'dataCenterId' => 1,//
  187. 'workerId' => 1,
  188. ],
  189. 'pageSnowFake' => [
  190. 'dataCenterId' => 2,//
  191. 'workerId' => 2,
  192. ],
  193. ];