|  | @@ -16,10 +16,7 @@ import org.apache.http.HttpResponse;
 | 
											
												
													
														|  |  import org.apache.http.util.EntityUtils;
 |  |  import org.apache.http.util.EntityUtils;
 | 
											
												
													
														|  |  import org.apache.log4j.Logger;
 |  |  import org.apache.log4j.Logger;
 | 
											
												
													
														|  |  import org.springframework.beans.factory.annotation.Autowired;
 |  |  import org.springframework.beans.factory.annotation.Autowired;
 | 
											
												
													
														|  | -import org.springframework.web.bind.annotation.GetMapping;
 |  | 
 | 
											
												
													
														|  | -import org.springframework.web.bind.annotation.PostMapping;
 |  | 
 | 
											
												
													
														|  | -import org.springframework.web.bind.annotation.RequestMapping;
 |  | 
 | 
											
												
													
														|  | -import org.springframework.web.bind.annotation.RestController;
 |  | 
 | 
											
												
													
														|  | 
 |  | +import org.springframework.web.bind.annotation.*;
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  |  import javax.servlet.http.HttpUtils;
 |  |  import javax.servlet.http.HttpUtils;
 | 
											
												
													
														|  |  import java.util.ArrayList;
 |  |  import java.util.ArrayList;
 | 
											
										
											
												
													
														|  | @@ -58,16 +55,17 @@ public class ApiIndexController extends ApiBaseAction {
 | 
											
												
													
														|  |       */
 |  |       */
 | 
											
												
													
														|  |      @IgnoreAuth
 |  |      @IgnoreAuth
 | 
											
												
													
														|  |      @GetMapping("index")
 |  |      @GetMapping("index")
 | 
											
												
													
														|  | -    public Object index() {
 |  | 
 | 
											
												
													
														|  | 
 |  | +    public Object index(@RequestParam Long storeId) {
 | 
											
												
													
														|  |          Map<String, Object> resultObj = Maps.newHashMap();
 |  |          Map<String, Object> resultObj = Maps.newHashMap();
 | 
											
												
													
														|  |          // init
 |  |          // init
 | 
											
												
													
														|  |          Long userId = getUserId();
 |  |          Long userId = getUserId();
 | 
											
												
													
														|  | -        Long storeId = getStoreId();
 |  | 
 | 
											
												
													
														|  | 
 |  | +        //Long storeId = getStoreId();
 | 
											
												
													
														|  | 
 |  | +        Long storeIdNew = storeId;
 | 
											
												
													
														|  |          //
 |  |          //
 | 
											
												
													
														|  |          Map param = Maps.newHashMap();
 |  |          Map param = Maps.newHashMap();
 | 
											
												
													
														|  |  //        param.put("ad_position_ids", new Integer[]{1, 2, 3});
 |  |  //        param.put("ad_position_ids", new Integer[]{1, 2, 3});
 | 
											
												
													
														|  |          param.put("ad_position_ids", new Integer[]{1});//用户注册
 |  |          param.put("ad_position_ids", new Integer[]{1});//用户注册
 | 
											
												
													
														|  | -        param.put("storeId",storeId);
 |  | 
 | 
											
												
													
														|  | 
 |  | +        param.put("storeId",storeIdNew);
 | 
											
												
													
														|  |          List<AdVo> adVos = apiAdService.queryList(param);
 |  |          List<AdVo> adVos = apiAdService.queryList(param);
 | 
											
												
													
														|  |          //
 |  |          //
 | 
											
												
													
														|  |          List<AdVo> banner = new ArrayList();
 |  |          List<AdVo> banner = new ArrayList();
 |