dims.dart 4.5 KB

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