dims.dart 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222
  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. 'longitude',
  46. 'latitude',
  47. 'auto_address',
  48. 'province',
  49. 'city',
  50. 'county'
  51. ];
  52. var userDims = [
  53. "id",
  54. "uid",
  55. "mobile",
  56. "name",
  57. "picture",
  58. "register_time",
  59. "verify_time",
  60. "ban_time",
  61. "remove_time",
  62. "state",
  63. "last_login",
  64. "balance",
  65. "alipay_account"
  66. ];
  67. var orderDims = [
  68. 'id',
  69. 'uid',
  70. 'uuid',
  71. 'commodity_id',
  72. 'commodity_count',
  73. 'hash',
  74. 'shop_uid',
  75. 'shop_name',
  76. 'shop_pic',
  77. 'seller_uid',
  78. 'seller_pic',
  79. 'seller_name',
  80. 'buyer_uid',
  81. 'buyer_pic',
  82. 'buyer_name',
  83. 'create_time',
  84. 'amount',
  85. 'state',
  86. 'payer_uid',
  87. 'payer_name',
  88. 'payer_pic',
  89. 'pay_time',
  90. 'type',
  91. 'commodity_title',
  92. 'commodity_cover'
  93. ];
  94. var commodityDims = [
  95. 'id',
  96. 'shop_uid',
  97. 'shop_pic',
  98. 'shop_name',
  99. 'user_uid',
  100. 'user_name',
  101. 'user_pic',
  102. 'title',
  103. 'cover_path',
  104. 'description',
  105. 'original_price',
  106. 'price',
  107. 'on_sale',
  108. 'stock',
  109. 'create_time',
  110. 'pictures',
  111. 'category',
  112. 'public',
  113. 'longitude',
  114. 'latitude',
  115. 'auto_address',
  116. 'province',
  117. 'city',
  118. 'county'
  119. ];
  120. var flowDims = [
  121. 'id',
  122. 'type',
  123. 'user_uid',
  124. 'user_name',
  125. 'user_pic',
  126. 'trader_id',
  127. 'trader_uid',
  128. 'trader_name',
  129. 'trader_pic',
  130. 'pay_time',
  131. 'pay_way',
  132. 'paid_amount',
  133. 'user_balance',
  134. 'order_uid',
  135. 'peer_flow_id',
  136. 'usage'
  137. ];
  138. var couponDims = [
  139. 'id',
  140. 'user_uid',
  141. 'amount',
  142. 'threshold',
  143. 'shop_uid',
  144. 'start_time',
  145. 'expire_date',
  146. 'used',
  147. 'use_time',
  148. 'type',
  149. 'expired'
  150. ];
  151. var complainDims = [
  152. 'id',
  153. 'uid',
  154. 'shop_uid',
  155. 'shop_name',
  156. 'shop_pic',
  157. 'owner_uid',
  158. 'content',
  159. 'snapshots',
  160. 'complain_time',
  161. 'handled',
  162. 'handle_time',
  163. 'handle_result'
  164. ];
  165. var withdrawPricingDims = [
  166. 'percent_fee',
  167. 'id',
  168. 'extra_fee',
  169. 'threshold',
  170. 'max_per_hand',
  171. 'min_per_hand'
  172. ];
  173. var vpPricingDims = [
  174. 'id',
  175. 'key', //关键字
  176. 'title', //名称
  177. 'type', //收费类型:暂时保留
  178. 'pricing', //定价
  179. 'introduction' //道具介绍
  180. ];
  181. var userVpDims = ['id', 'user_uid', 'vp_key', 'type'];
  182. var adDims = [
  183. "id",
  184. "type",
  185. "create_time",
  186. "start_date",
  187. "days",
  188. "user_uid",
  189. "user_name",
  190. "user_pic",
  191. "title",
  192. "description",
  193. "cover_path",
  194. "pictures",
  195. "link_type",
  196. "on_show",
  197. "paid",
  198. "mobile",
  199. "renewed",
  200. "link_id"
  201. ];
  202. var couponDistributeDims = [
  203. 'id',
  204. 'max',
  205. 'type',
  206. 'distribute_from_date', //开始发放时间
  207. 'distribute_end_date', //停止发放时间
  208. 'coupon_expire_date', //优惠券过期时间
  209. 'valid' //活动是否有效
  210. ];