Authored by mlge

no message

... ... @@ -22,21 +22,22 @@
</properties>
<dependencies>
<dependency>
<groupId>com.yohobuy.platform</groupId>
<artifactId>platform-common</artifactId>
</dependency>
<dependency>
<groupId>com.yoho.service.platform.model</groupId>
<artifactId>platform-service-model</artifactId>
</dependency>
</dependencies>
<dependency>
<groupId>com.yoho.core</groupId>
<artifactId>yoho-core-rest-server</artifactId>
</dependency>
</dependencies>
</project>
... ...
package com.yohobuy.platform.grass.restapi;
import com.yohobuy.platform.model.common.ApiResponse;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
@RestController
@RequestMapping("/grassArticle")
public class GrassArticleController {
private static final Logger logger = LoggerFactory.getLogger(GrassArticleController.class);
@RequestMapping("/publishArticle")
public ApiResponse publishArticle(){
return new ApiResponse.ApiResponseBuilder().build();
}
}
... ...
... ... @@ -36,6 +36,10 @@
<artifactId>platform-cms-suggest</artifactId>
</dependency>
<dependency>
<groupId>com.yoho.dsf.yhplatform</groupId>
<artifactId>platform-cms-grass</artifactId>
</dependency>
<dependency>
<groupId>com.yoho.service.platform.model</groupId>
<artifactId>platform-service-model</artifactId>
<exclusions>
... ...