api.type.d.ts 7.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427
  1. namespace Api {
  2. interface userInfo {
  3. /**
  4. * 渠道(企业ID)
  5. */
  6. channelId: number
  7. /**
  8. * 会员头像地址
  9. */
  10. avatarUrl?: string
  11. /**
  12. * 会员余额(单位:分)
  13. */
  14. balance?: number
  15. /**
  16. * 会员ID
  17. */
  18. id: number
  19. /**
  20. * 会员手机号
  21. */
  22. mobile?: string
  23. /**
  24. * 会员昵称
  25. */
  26. nickName?: string
  27. [property: string]: any
  28. }
  29. interface xsbCategoriesChildren {
  30. id: number
  31. name: string
  32. shopId: number
  33. code: string
  34. parentCode: string
  35. level: number
  36. icon: string
  37. children: xsbCategoriesChildren[]
  38. }
  39. interface xsbCategories {
  40. id: number
  41. name: string
  42. shopId: number
  43. code: string
  44. parentCode: string
  45. level: number
  46. icon: string
  47. children: xsbCategoriesChildren[]
  48. }
  49. interface xsbCategoryProductList {
  50. /**
  51. * 商品库存
  52. */
  53. spuStock: number
  54. /**
  55. * 分类id
  56. */
  57. categoryId?: number
  58. /**
  59. * 渠道对应商品售价
  60. */
  61. channelProdPrice?: number
  62. id: string
  63. /**
  64. * 商品主图
  65. */
  66. pic?: string
  67. /**
  68. * 商品名称
  69. */
  70. prodName?: string
  71. /**
  72. * 门店id
  73. */
  74. shopId?: number
  75. /**
  76. * 销量
  77. */
  78. soldNum?: number
  79. /**
  80. * 规格
  81. */
  82. spec?: string
  83. [property: string]: any
  84. }
  85. interface xsbProductDetail {
  86. /**
  87. * 品牌名称
  88. */
  89. brandName?: string
  90. /**
  91. * 分类id
  92. */
  93. categoryId?: number
  94. /**
  95. * 渠道对应商品售价
  96. */
  97. channelProdPrice?: number
  98. /**
  99. * 详细描述
  100. */
  101. content?: string
  102. id?: string
  103. /**
  104. * 商品图片
  105. */
  106. imgs?: string
  107. /**
  108. * 商品主图
  109. */
  110. pic?: string
  111. /**
  112. * 商品名称
  113. */
  114. prodName?: string
  115. /**
  116. * 门店id
  117. */
  118. shopId?: number
  119. /**
  120. * 销量
  121. */
  122. soldNum?: number
  123. /**
  124. * 规格
  125. */
  126. spec?: string
  127. /**
  128. * 重量
  129. */
  130. weight?: number
  131. /**
  132. * 单位
  133. */
  134. weightUnit?: string
  135. [property: string]: any
  136. }
  137. interface xsbFindUserPointsPage {
  138. /**
  139. * 渠道(企业ID)
  140. */
  141. channelId?: number
  142. /**
  143. * 编码
  144. */
  145. code?: string
  146. /**
  147. * 创建日期
  148. */
  149. creationDate?: string
  150. /**
  151. * 当前可用积分
  152. */
  153. currentlyAvailablePoints?: number
  154. /**
  155. * 过期日期
  156. */
  157. expiryDate?: string
  158. /**
  159. * 过期积分
  160. */
  161. expiryPoints?: number
  162. /**
  163. * 订单编号
  164. */
  165. orderNumber?: string
  166. /**
  167. * 充值积分ID
  168. */
  169. pointsId?: number
  170. /**
  171. * 积分记录类型(1-充值,2-下单,3-退款, 4-过期积分(只包含每天可用的过期),5-退款时过期积分)
  172. */
  173. pointsType?: number
  174. /**
  175. * 用户ID
  176. */
  177. userId?: number
  178. /**
  179. * 变动积分
  180. */
  181. variablePoints?: number
  182. [property: string]: any
  183. }
  184. interface xsbFindUserPoints {
  185. /**
  186. * 总可用积分
  187. */
  188. availablePointsTotal?: number
  189. /**
  190. * 总消耗积分
  191. */
  192. consumePointsTotal?: number
  193. /**
  194. * 总可用过期积分
  195. */
  196. expiryPointsTotal?: number
  197. /**
  198. * 总充值积分
  199. */
  200. pointsTotal?: number
  201. [property: string]: any
  202. }
  203. interface xsbAdvertInfo {
  204. /**
  205. * 背景图
  206. */
  207. advertBack?: string
  208. /**
  209. * 广告图片
  210. */
  211. advertImg?: string
  212. /**
  213. * 广告名称
  214. */
  215. advertName?: string
  216. /**
  217. * 排序
  218. */
  219. advertSort?: number
  220. /**
  221. * 创建时间
  222. */
  223. createTime?: string
  224. id?: number
  225. /**
  226. * 跳转路径
  227. */
  228. jumpUrl?: string
  229. /**
  230. * 状态 1正常 2删除
  231. */
  232. status?: number
  233. [property: string]: any
  234. }
  235. interface xsbSearchTerm {
  236. /**
  237. * 创建时间
  238. */
  239. createTime?: string
  240. /**
  241. * 有效时间
  242. */
  243. effectiveTime?: string
  244. /**
  245. * 截至时间
  246. */
  247. endTime?: string
  248. id?: number
  249. /**
  250. * 跳转参数
  251. */
  252. jumpUrl?: string
  253. /**
  254. * 落地页名称
  255. */
  256. reachName?: string
  257. /**
  258. * 搜索名称
  259. */
  260. searchName: string
  261. /**
  262. * 状态 1正常 0关闭
  263. */
  264. status?: number
  265. /**
  266. * 类型 1-关键词 2-热门搜索词 3-推荐搜索词
  267. */
  268. type?: number
  269. /**
  270. * 创建时间
  271. * 修改时间
  272. */
  273. updateTime?: string
  274. [property: string]: any
  275. }
  276. interface xsbShopList {
  277. /**
  278. * 店铺所在区域(描述)
  279. * 店铺所在区域
  280. */
  281. area?: string
  282. /**
  283. * 店铺所在区域Id
  284. */
  285. areaId?: number
  286. /**
  287. * 营业执照
  288. */
  289. businessLicense?: string
  290. /**
  291. * 营业时间
  292. */
  293. businessTime?: string
  294. /**
  295. * 物品类型
  296. */
  297. category?: string
  298. /**
  299. * 店铺所在城市(描述)
  300. */
  301. city?: string
  302. /**
  303. * 店铺所在城市Id
  304. */
  305. cityId?: number
  306. createTime?: string
  307. /**
  308. * 海博门店ID
  309. */
  310. hbStationId?: string
  311. /**
  312. * 海博门店编码
  313. */
  314. hbStationNo?: string
  315. /**
  316. * 身份证正面
  317. */
  318. identityCardFront?: string
  319. /**
  320. * 身份证反面
  321. */
  322. identityCardLater?: string
  323. /**
  324. * 店铺简介(可修改)
  325. */
  326. intro?: string
  327. /**
  328. * 分销设置(0关闭 1开启)
  329. */
  330. isDistribution?: number
  331. /**
  332. * 坐标类型 1 高德|腾讯 2 百度
  333. */
  334. mapType?: string
  335. /**
  336. * 店铺绑定的手机(登录账号:唯一)
  337. * 店铺绑定的手机
  338. */
  339. mobile?: string
  340. /**
  341. * 店铺公告
  342. */
  343. notice?: string
  344. /**
  345. * ERP门店编码
  346. */
  347. outStationNo?: string
  348. /**
  349. * 登录密码
  350. */
  351. password?: string
  352. /**
  353. * 店铺所在省份(描述)
  354. */
  355. province?: string
  356. /**
  357. * 店铺所在省份Id
  358. */
  359. provinceId?: number
  360. /**
  361. * 经营状态(0:停业,1正常)
  362. */
  363. runStatus?: number
  364. /**
  365. * 店铺详细地址
  366. */
  367. shopAddress?: string
  368. /**
  369. * 配送平台店铺编码
  370. */
  371. shopCode?: string
  372. /**
  373. * 店铺id
  374. */
  375. shopId?: number
  376. /**
  377. * 店铺所在纬度(可修改)
  378. * 店铺所在纬度
  379. */
  380. shopLat?: string
  381. /**
  382. * 店铺所在经度(可修改)
  383. * 店铺所在经度
  384. */
  385. shopLng?: string
  386. /**
  387. * 店铺logo(可修改)
  388. * 店铺logo
  389. */
  390. shopLogo?: string
  391. /**
  392. * 店铺名称(数字、中文,英文(可混合,不可有特殊字符),可修改)、不唯一
  393. * 门店名称
  394. */
  395. shopName?: string
  396. /**
  397. * 店长
  398. */
  399. shopOwner?: string
  400. /**
  401. * 店铺状态(-1:未开通 0: 停业中 1:营业中),可修改
  402. * 店铺状态(-1:未开通 0: 停业中 1:营业中)
  403. */
  404. shopStatus?: number
  405. /**
  406. * 是否同步到配送平台
  407. */
  408. sync?: boolean
  409. /**
  410. * 店铺联系电话
  411. */
  412. tel?: string
  413. /**
  414. * 第三方id
  415. */
  416. thirdPartyCode?: string
  417. updateTime?: string
  418. /**
  419. * 店长用户id
  420. * 店铺简介
  421. */
  422. userId?: string
  423. [property: string]: any
  424. }
  425. }