dims.dart 3.2 KB

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