|
|
@@ -24,6 +24,7 @@ import io.swagger.annotations.Api;
|
|
|
import io.swagger.annotations.ApiOperation;
|
|
|
import io.swagger.annotations.ApiParam;
|
|
|
import lombok.RequiredArgsConstructor;
|
|
|
+import org.springframework.beans.factory.annotation.Value;
|
|
|
import org.springframework.validation.annotation.Validated;
|
|
|
import org.springframework.web.bind.annotation.*;
|
|
|
|
|
|
@@ -48,6 +49,8 @@ public class ApiBusinessController extends AbstractApiController {
|
|
|
private final IBusinessCategoryService iBusinessCategoryService;
|
|
|
private final ISysCnAreaService iSysCnAreaService;
|
|
|
private final IShopSaleConfigService shopSaleConfigService;
|
|
|
+ @Value("${authorizationLetterUrl}")
|
|
|
+ protected String authorizationLetterUrl;
|
|
|
|
|
|
/**
|
|
|
* 查询商家分类列表
|
|
|
@@ -193,4 +196,11 @@ public class ApiBusinessController extends AbstractApiController {
|
|
|
return R.ok(businessService.queryBusinessLimit(getBusinessByUserId(getUserId(true), true)));
|
|
|
}
|
|
|
|
|
|
+ @FilePathSplicing(type = FilePathSplicingType.RESPONSE)
|
|
|
+ @ApiOperation("查询委托授权书模板URL")
|
|
|
+ @GetMapping("/queryAuthorizationTemplateUrl")
|
|
|
+ public R<String> queryAuthorizationTemplateUrl() {
|
|
|
+ return R.ok("成功", authorizationLetterUrl);
|
|
|
+ }
|
|
|
+
|
|
|
}
|