dims.dart 4.0 KB

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