dims.dart 3.5 KB

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