no message
Showing
1 changed file
with
2 additions
and
13 deletions
| ... | @@ -4,22 +4,16 @@ import com.lego.common.annotation.RepeatSubmit; | ... | @@ -4,22 +4,16 @@ import com.lego.common.annotation.RepeatSubmit; |
| 4 | import com.lego.common.core.controller.BaseController; | 4 | import com.lego.common.core.controller.BaseController; |
| 5 | import com.lego.common.core.domain.R; | 5 | import com.lego.common.core.domain.R; |
| 6 | import com.lego.common.core.page.TableDataInfo; | 6 | import com.lego.common.core.page.TableDataInfo; |
| 7 | import com.lego.core.domin.bo.QuestionBo; | ||
| 8 | import com.lego.core.domin.bo.QuestionQueryBo; | ||
| 9 | import com.lego.core.domin.bo.UpgradeBo; | 7 | import com.lego.core.domin.bo.UpgradeBo; |
| 10 | import com.lego.core.domin.bo.UpgradeQueryBo; | 8 | import com.lego.core.domin.bo.UpgradeQueryBo; |
| 11 | import com.lego.core.domin.vo.CourseVo; | ||
| 12 | import com.lego.core.domin.vo.QuestionVo; | ||
| 13 | import com.lego.core.domin.vo.ResourceVo; | 9 | import com.lego.core.domin.vo.ResourceVo; |
| 14 | import com.lego.core.domin.vo.UpgradeVo; | 10 | import com.lego.core.domin.vo.UpgradeVo; |
| 15 | import com.lego.core.service.IQuestionService; | ||
| 16 | import com.lego.core.service.IUpgradeService; | 11 | import com.lego.core.service.IUpgradeService; |
| 17 | import lombok.RequiredArgsConstructor; | 12 | import lombok.RequiredArgsConstructor; |
| 18 | import org.springframework.web.bind.annotation.*; | 13 | import org.springframework.web.bind.annotation.*; |
| 19 | 14 | ||
| 20 | import javax.servlet.http.HttpServletRequest; | 15 | import javax.servlet.http.HttpServletRequest; |
| 21 | import java.rmi.ServerException; | 16 | import java.rmi.ServerException; |
| 22 | import java.util.List; | ||
| 23 | 17 | ||
| 24 | /** | 18 | /** |
| 25 | * APP升级 信息操作处理 | 19 | * APP升级 信息操作处理 |
| ... | @@ -45,15 +39,10 @@ public class UpgradeController extends BaseController { | ... | @@ -45,15 +39,10 @@ public class UpgradeController extends BaseController { |
| 45 | return service.list(query,language); | 39 | return service.list(query,language); |
| 46 | } | 40 | } |
| 47 | 41 | ||
| 48 | @GetMapping("/list/{timestamp}") | 42 | @GetMapping("/list") |
| 49 | public R<ResourceVo> list(@PathVariable("timestamp") String timestamp) { | 43 | public R<ResourceVo> list() { |
| 50 | if(true) { | ||
| 51 | return R.ok(service.list()); | 44 | return R.ok(service.list()); |
| 52 | } | 45 | } |
| 53 | else{ | ||
| 54 | return R.fail(); | ||
| 55 | } | ||
| 56 | } | ||
| 57 | 46 | ||
| 58 | /** | 47 | /** |
| 59 | * 新增 | 48 | * 新增 | ... | ... |
-
Please register or sign in to post a comment