dims.dart 3.9 KB

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