Subversion Repositories SmartDukaan

Rev

Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
28323 amit.gupta 1
package com.spice.profitmandi.web.services;
2
 
3
import java.util.HashMap;
4
 
5
import org.springframework.beans.factory.annotation.Autowired;
6
import org.springframework.beans.factory.annotation.Value;
7
import org.springframework.stereotype.Component;
8
 
9
import com.spice.profitmandi.common.web.client.RestClient;
10
 
11
@Component
12
public class PartnerIndexService {
13
	@Autowired 
14
	RestClient restClient;
15
 
16
	@Value("${store.app.url}")
17
	String storeAppUrl;
18
 
19
	public String getPartnerIndexHtml() throws Exception {
20
		return restClient.get(storeAppUrl, new HashMap<String, String> (), new HashMap<String, String> ());
21
	}
22
}