dims.dart 5.0 KB

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