You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					
					
						
							38 lines
						
					
					
						
							683 B
						
					
					
				
			
		
		
		
			
			
			
				
					
				
				
					
				
			
		
		
	
	
							38 lines
						
					
					
						
							683 B
						
					
					
				
								import request from '@/sheep/request';
							 | 
						|
								
							 | 
						|
								const DiyApi = {
							 | 
						|
								  getUsedDiyTemplate: () => {
							 | 
						|
								    return request({
							 | 
						|
								      url: '/promotion/diy-template/used',
							 | 
						|
								      method: 'GET',
							 | 
						|
								      custom: {
							 | 
						|
								        showError: false,
							 | 
						|
								        showLoading: false,
							 | 
						|
								      },
							 | 
						|
								    });
							 | 
						|
								  },
							 | 
						|
								  getDiyTemplate: (id) => {
							 | 
						|
								    return request({
							 | 
						|
								      url: '/promotion/diy-template/get',
							 | 
						|
								      method: 'GET',
							 | 
						|
								      params: {
							 | 
						|
								        id
							 | 
						|
								      },
							 | 
						|
								      custom: {
							 | 
						|
								        showError: false,
							 | 
						|
								        showLoading: false,
							 | 
						|
								      },
							 | 
						|
								    });
							 | 
						|
								  },
							 | 
						|
								  getDiyPage: (id) => {
							 | 
						|
								    return request({
							 | 
						|
								      url: '/promotion/diy-page/get',
							 | 
						|
								      method: 'GET',
							 | 
						|
								      params: {
							 | 
						|
								        id
							 | 
						|
								      }
							 | 
						|
								    });
							 | 
						|
								  },
							 | 
						|
								};
							 | 
						|
								
							 | 
						|
								export default DiyApi;
							 |