src/main/java/com/lf/server/service/data/PublishService.java
@@ -8,6 +8,7 @@ import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import javax.servlet.http.HttpServletRequest; import java.util.List; /** @@ -92,9 +93,9 @@ } /** * 插入发布数据 * 发送发布请求 */ public int insertForPub(PubEntity entity) throws Exception { public int postForPub(PubEntity entity, String method, HttpServletRequest req) throws Exception { Thread.sleep(30000); return 0;