dims.dart 4.6 KB

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