dims.dart 4.5 KB

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