dims.dart 4.6 KB

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