dims.dart 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233
  1. var shopUserDims = [
  2. "id",
  3. "shop_uid",
  4. "role",
  5. "user_uid",
  6. "shop_pic",
  7. "shop_name",
  8. "user_name",
  9. "user_pic",
  10. "apply_time",
  11. "review_state",
  12. "review_time",
  13. "owner_uid",
  14. "owner_name",
  15. "owner_pic",
  16. "private_shop",
  17. "shop_state",
  18. "inner_trade",
  19. "collected"
  20. ];
  21. var shopDims = [
  22. 'id',
  23. 'uid', //店铺唯一标识
  24. 'name', //店铺名
  25. 'picture', //头像
  26. 'create_time', //下单时间
  27. 'private', //是否私有店铺
  28. 'owner_uid', //店主uid
  29. 'owner_name', //店主名称
  30. 'owner_pic', //店主名称
  31. 'fee_type', //平台费用付费方式:年费-1,订单提成-2,佣金提成-3
  32. 'state', //店铺状态
  33. 'banned', //被禁时间
  34. 'ban_start_date', //被禁时间
  35. 'ban_expire_date', //被禁时长:天
  36. 'inner_trade', //是否支持顾客之间交易
  37. 'shop_commission_percent', //是否按照比例付费
  38. 'shop_commission_threshold', //店主收取佣金的订单金额门槛
  39. 'shop_commission_pricing', //店主收取客户间交易佣金设置
  40. 'owner_pay_platform_fee', //店主支付平台佣金。如果为false,则表示由顾客间交易的卖家支付
  41. 'address', //店铺地址
  42. 'mobile', //联系电话
  43. 'introduction', //店铺介绍
  44. 'hide_members',
  45. 'notice',
  46. 'longitude',
  47. 'latitude',
  48. 'auto_address',
  49. 'province',
  50. 'city',
  51. 'county'
  52. ];
  53. var userDims = [
  54. "id",
  55. "uid",
  56. "mobile",
  57. "name",
  58. "picture",
  59. "register_time",
  60. "verify_time",
  61. "ban_time",
  62. "remove_time",
  63. "state",
  64. "last_login",
  65. "balance",
  66. "alipay_account",
  67. "wx_openid",
  68. "wx_name",
  69. "wx_picture"
  70. ];
  71. var orderDims = [
  72. 'id',
  73. 'uid',
  74. 'uuid',
  75. 'commodity_id',
  76. 'commodity_count',
  77. 'hash',
  78. 'shop_uid',
  79. 'shop_name',
  80. 'shop_pic',
  81. 'seller_uid',
  82. 'seller_pic',
  83. 'seller_name',
  84. 'buyer_uid',
  85. 'buyer_pic',
  86. 'buyer_name',
  87. 'create_time',
  88. 'amount',
  89. 'state',
  90. 'payer_uid',
  91. 'payer_name',
  92. 'payer_pic',
  93. 'pay_time',
  94. 'type',
  95. 'commodity_title',
  96. 'commodity_cover'
  97. ];
  98. var commodityDims = [
  99. 'id',
  100. 'shop_uid',
  101. 'shop_pic',
  102. 'shop_name',
  103. 'user_uid',
  104. 'user_name',
  105. 'user_pic',
  106. 'title',
  107. 'cover_path',
  108. 'description',
  109. 'original_price',
  110. 'price',
  111. 'on_sale',
  112. 'stock',
  113. 'create_time',
  114. 'pictures',
  115. 'category',
  116. 'public',
  117. 'longitude',
  118. 'latitude',
  119. 'auto_address',
  120. 'province',
  121. 'city',
  122. 'county'
  123. ];
  124. var flowDims = [
  125. 'id',
  126. 'type',
  127. 'user_uid',
  128. 'user_name',
  129. 'user_pic',
  130. 'trader_id',
  131. 'trader_uid',
  132. 'trader_name',
  133. 'trader_pic',
  134. 'pay_time',
  135. 'pay_way',
  136. 'paid_amount',
  137. 'user_balance',
  138. 'order_uid',
  139. 'peer_flow_id',
  140. 'usage'
  141. ];
  142. var couponDims = [
  143. 'id',
  144. 'user_uid',
  145. 'amount',
  146. 'threshold',
  147. 'shop_uid',
  148. 'start_time',
  149. 'expire_date',
  150. 'used',
  151. 'use_time',
  152. 'type',
  153. 'expired'
  154. ];
  155. var complainDims = [
  156. 'id',
  157. 'uid',
  158. 'shop_uid',
  159. 'shop_name',
  160. 'shop_pic',
  161. 'owner_uid',
  162. 'content',
  163. 'snapshots',
  164. 'complain_time',
  165. 'handled',
  166. 'handle_time',
  167. 'handle_result'
  168. ];
  169. var withdrawPricingDims = [
  170. 'percent_fee',
  171. 'id',
  172. 'extra_fee',
  173. 'threshold',
  174. 'max_per_hand',
  175. 'min_per_hand'
  176. ];
  177. var vpPricingDims = [
  178. 'id',
  179. 'key', //关键字
  180. 'title', //名称
  181. 'type', //收费类型:暂时保留
  182. 'pricing', //定价
  183. 'introduction' //道具介绍
  184. ];
  185. var userVpDims = ['id', 'user_uid', 'vp_key', 'type'];
  186. var adDims = [
  187. "id",
  188. "type",
  189. "create_time",
  190. "start_date",
  191. "days",
  192. "user_uid",
  193. "user_name",
  194. "user_pic",
  195. "title",
  196. "description",
  197. "cover_path",
  198. "pictures",
  199. "link_type",
  200. "on_show",
  201. "paid",
  202. "mobile",
  203. "renewed",
  204. "link_id"
  205. ];
  206. var couponDistributeDims = [
  207. 'id',
  208. 'max',
  209. 'type',
  210. 'distribute_from_date', //开始发放时间
  211. 'distribute_end_date', //停止发放时间
  212. 'coupon_expire_date', //优惠券过期时间
  213. 'valid' //活动是否有效
  214. ];
  215. var payWayDims = [
  216. "way",
  217. "name",
  218. "pay",
  219. "withdraw"
  220. ];