dims.dart 3.9 KB

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