1234567891011121314151617181920212223242526272829303132 |
- import http from '../utils/http'
- const DiyApi = {
- async GetDiy(input: { type: 'space' | 'flat' }) {
- return http.get('/api/services/wxapp/Product/GetDiy', input) as Promise<IRestResult<string>>
- },
- async Get2dDiy() {
- return http.get('/api/services/wxapp/Product/Get2dDiy') as Promise<IRestResult<string>>
- },
- async GetFavlist(dto: any) {
- return http.get('/api/services/wxapp/Product/GetFavlist', dto) as Promise<IRestResult<string>>
- },
- async GetInspirelist(dto: any) {
- return http.get('/api/services/wxapp/Product/GetInspirelist', dto) as Promise<
- IRestResult<string>
- >
- },
- async GetBglist(dto: any) {
- return http.get('/api/services/wxapp/Product/GetBglist', dto) as Promise<IRestResult<string>>
- },
- async GetDiyList(dto: any) {
- return http.get('/api/services/wxapp/Product/GetDiyList', dto) as Promise<IRestResult<any>>
- },
- async RemoveDiy(dto: any) {
- return http.post('/api/services/wxapp/Product/RemoveDiy', dto) as Promise<IRestResult<any>>
- },
- async Transbase(dto: any) {
- return http.post('/api/FileAuth/Transbase', dto) as Promise<IRestResult<any>>
- },
- }
- export default DiyApi
|