Subversion Repositories SmartDukaan

Rev

Rev 26051 | Rev 26515 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 26051 Rev 26441
Line 500... Line 500...
500
			DBObject dbObject = new BasicDBObject();
500
			DBObject dbObject = new BasicDBObject();
501
			dbObject.put("name", x.getLabel());
501
			dbObject.put("name", x.getLabel());
502
			dbObject.put("subCategoryId", x.getId());
502
			dbObject.put("subCategoryId", x.getId());
503
			dbObject.put("rank", i.incrementAndGet());
503
			dbObject.put("rank", i.incrementAndGet());
504
			dbObject.put("categoryId", 6);
504
			dbObject.put("categoryId", 6);
505
			dbObject.put("url", "http://api.profittill.com/uploads/campaigns/" + x.getId() + ".png");
505
			dbObject.put("url", "https://images.smartdukaan.com/uploads/campaigns/" + x.getId() + ".png");
506
			subCategories.add(dbObject);
506
			subCategories.add(dbObject);
507
		});
507
		});
508
 
508
 
509
		return subCategories;
509
		return subCategories;
510
 
510