Browse Source

Merge branch 'openapi' of wangfan/adweb3-server into master

wangfan 3 months ago
parent
commit
531d0d16db

+ 4 - 1
jeecg-module-system/jeecg-system-biz/src/main/java/org/jeecg/modules/adweb/api/controller/OpenAPIController.java

@@ -11,6 +11,7 @@ import org.apache.commons.lang3.StringUtils;
 import org.jeecg.common.api.vo.Result;
 import org.jeecg.config.shiro.IgnoreAuth;
 import org.jeecg.modules.adweb.api.vo.APIRequestVO;
+import org.jeecg.modules.adweb.api.vo.EnquiryInfoVO;
 import org.jeecg.modules.adweb.api.vo.EnquiryPageVO;
 import org.jeecg.modules.adweb.api.vo.ProductInfoVO;
 import org.jeecg.modules.adweb.common.mapper.CommonMapper;
@@ -42,7 +43,7 @@ public class OpenAPIController {
         this.validateAuthToken(authToken);
 
         // TODO
-        return Result.ok(Arrays.asList(new ProductInfoVO()));
+        return Result.ok(Arrays.asList(new ProductInfoVO(), new ProductInfoVO()));
     }
 
     @IgnoreAuth
@@ -54,6 +55,8 @@ public class OpenAPIController {
         this.validateAuthToken(authToken);
 
         // TODO
+        EnquiryPageVO enquiryPage = new EnquiryPageVO();
+        enquiryPage.setRecords(Arrays.asList(new EnquiryInfoVO(), new EnquiryInfoVO()));
         return Result.ok(new EnquiryPageVO());
     }