dims.dart 3.8 KB

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