|
@@ -8,6 +8,7 @@ import com.lqkj.link.module.base.service.BaseService;
|
8
|
8
|
import com.lqkj.link.module.bulletin.domain.BulletinInfo;
|
9
|
9
|
import com.lqkj.link.module.jwt.service.JwtService;
|
10
|
10
|
import com.lqkj.link.module.zone.domain.ZoneInfo;
|
|
11
|
+import com.lqkj.link.module.zone.service.ShareInfoService;
|
11
|
12
|
import com.lqkj.link.module.zone.service.ZoneInfoService;
|
12
|
13
|
import com.lqkj.link.util.FileUtils;
|
13
|
14
|
import io.swagger.v3.oas.annotations.Operation;
|
|
@@ -17,6 +18,7 @@ import io.swagger.v3.oas.annotations.media.Schema;
|
17
|
18
|
import io.swagger.v3.oas.annotations.tags.Tag;
|
18
|
19
|
import jakarta.servlet.http.HttpServletRequest;
|
19
|
20
|
import org.apache.commons.lang3.StringUtils;
|
|
21
|
+import org.springframework.beans.factory.annotation.Autowired;
|
20
|
22
|
import org.springframework.data.domain.Page;
|
21
|
23
|
import org.springframework.web.bind.annotation.*;
|
22
|
24
|
import org.springframework.web.multipart.MultipartFile;
|
|
@@ -36,6 +38,9 @@ public class ZoneInfoController {
|
36
|
38
|
private final JwtService jwtService;
|
37
|
39
|
private final BaseService baseService;
|
38
|
40
|
|
|
41
|
+ @Autowired
|
|
42
|
+ private ShareInfoService shareInfoService;
|
|
43
|
+
|
39
|
44
|
public ZoneInfoController(ZoneInfoService zoneInfoService, JwtService jwtService, BaseService baseService) {
|
40
|
45
|
this.zoneInfoService = zoneInfoService;
|
41
|
46
|
this.jwtService = jwtService;
|
|
@@ -479,6 +484,16 @@ public class ZoneInfoController {
|
479
|
484
|
}
|
480
|
485
|
|
481
|
486
|
|
|
487
|
+ /**
|
|
488
|
+ * 查询共建类型
|
|
489
|
+ */
|
|
490
|
+ @PostMapping("/getShareType")
|
|
491
|
+ public MessageBean<Integer> getShareType(@RequestParam Integer zoneId,
|
|
492
|
+ @RequestParam Integer userId) {
|
|
493
|
+ return MessageBean.ok(shareInfoService.getShareType(zoneId, userId), "查询共建类型");
|
|
494
|
+ }
|
|
495
|
+
|
|
496
|
+
|
482
|
497
|
|
483
|
498
|
|
484
|
499
|
|