|
|
@@ -1,10 +1,30 @@
|
|
|
package com.goafanti.admin.controller;
|
|
|
|
|
|
+import org.apache.commons.lang3.StringUtils;
|
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
+import org.springframework.web.bind.annotation.RequestMethod;
|
|
|
import org.springframework.web.bind.annotation.RestController;
|
|
|
|
|
|
+import com.goafanti.common.bo.Result;
|
|
|
+
|
|
|
@RestController
|
|
|
@RequestMapping(value = "/api/admin/portal/order")
|
|
|
public class AdminOrderApiController {
|
|
|
-
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 科技需求列表
|
|
|
+ */
|
|
|
+ @RequestMapping(value = "/demandOrderList", method = RequestMethod.GET)
|
|
|
+ public Result demandOrderList(Integer status, String pageNo, String pageSize){
|
|
|
+ Result res = new Result();
|
|
|
+ Integer pNo = 1;
|
|
|
+ Integer pSize = 10;
|
|
|
+ if (StringUtils.isNumeric(pageSize)) {
|
|
|
+ pSize = Integer.parseInt(pageSize);
|
|
|
+ }
|
|
|
+ if (StringUtils.isNumeric(pageNo)) {
|
|
|
+ pNo = Integer.parseInt(pageNo);
|
|
|
+ }
|
|
|
+ return res ;
|
|
|
+ }
|
|
|
}
|