init
This commit is contained in:
@@ -29,7 +29,7 @@ import org.springframework.web.bind.annotation.*;
|
|||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
@RestController
|
@RestController
|
||||||
@RequestMapping("/app/borrow")
|
@RequestMapping("/api/app/borrow")
|
||||||
@Tag(name = "贷款相关的接口")
|
@Tag(name = "贷款相关的接口")
|
||||||
public class AppBorrowController {
|
public class AppBorrowController {
|
||||||
|
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ import org.springframework.beans.factory.annotation.Autowired;
|
|||||||
import org.springframework.web.bind.annotation.*;
|
import org.springframework.web.bind.annotation.*;
|
||||||
|
|
||||||
@RestController
|
@RestController
|
||||||
@RequestMapping("/app/customer")
|
@RequestMapping("/api/app/customer")
|
||||||
@Tag(name = "客户接口")
|
@Tag(name = "客户接口")
|
||||||
public class AppCustomerController {
|
public class AppCustomerController {
|
||||||
|
|
||||||
|
|||||||
@@ -20,7 +20,7 @@ import io.swagger.v3.oas.annotations.tags.Tag;
|
|||||||
import org.springframework.beans.factory.annotation.Autowired;
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
import org.springframework.web.bind.annotation.*;
|
import org.springframework.web.bind.annotation.*;
|
||||||
|
|
||||||
@RequestMapping("/app/customer/open")
|
@RequestMapping("/api/app/customer/open")
|
||||||
@RestController
|
@RestController
|
||||||
@Tag(name = "用户开放接口")
|
@Tag(name = "用户开放接口")
|
||||||
@SaIgnore
|
@SaIgnore
|
||||||
|
|||||||
@@ -27,7 +27,7 @@ import java.time.format.DateTimeFormatter;
|
|||||||
import java.util.Random;
|
import java.util.Random;
|
||||||
|
|
||||||
@RestController
|
@RestController
|
||||||
@RequestMapping("/app/home/loans")
|
@RequestMapping("/api/app/home/loans")
|
||||||
@Tag(name = "首页开放")
|
@Tag(name = "首页开放")
|
||||||
@SaIgnore
|
@SaIgnore
|
||||||
public class AppHomeController {
|
public class AppHomeController {
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
package com.ruoyi.dk.controller.app;
|
package com.ruoyi.dk.controller.app;
|
||||||
|
|
||||||
|
import cn.dev33.satoken.annotation.SaIgnore;
|
||||||
import cn.hutool.core.util.NumberUtil;
|
import cn.hutool.core.util.NumberUtil;
|
||||||
import com.ruoyi.dk.domain.AgreementSetting;
|
import com.ruoyi.dk.domain.AgreementSetting;
|
||||||
import com.ruoyi.dk.domain.HomeSetting;
|
import com.ruoyi.dk.domain.HomeSetting;
|
||||||
@@ -24,8 +25,9 @@ import java.util.List;
|
|||||||
import java.util.stream.Collectors;
|
import java.util.stream.Collectors;
|
||||||
|
|
||||||
@RestController
|
@RestController
|
||||||
@RequestMapping("/app/home/setting")
|
@RequestMapping("/api/app/home/setting")
|
||||||
@Tag(name = "设置信息")
|
@Tag(name = "设置信息")
|
||||||
|
@SaIgnore
|
||||||
public class AppSettingController {
|
public class AppSettingController {
|
||||||
|
|
||||||
@Autowired
|
@Autowired
|
||||||
|
|||||||
@@ -21,7 +21,7 @@ public class LoginV2Controller {
|
|||||||
@Autowired
|
@Autowired
|
||||||
private DkLoginKit dkLoginKit;
|
private DkLoginKit dkLoginKit;
|
||||||
|
|
||||||
@PostMapping("/app/customer/login")
|
@PostMapping("/api/app/customer/login")
|
||||||
@Log(title = "用户登陆", businessType = BusinessType.OTHER)
|
@Log(title = "用户登陆", businessType = BusinessType.OTHER)
|
||||||
@Operation(summary = "用户登陆")
|
@Operation(summary = "用户登陆")
|
||||||
@SaIgnore
|
@SaIgnore
|
||||||
|
|||||||
@@ -21,7 +21,7 @@ import org.springframework.web.multipart.MultipartFile;
|
|||||||
*/
|
*/
|
||||||
@RestController
|
@RestController
|
||||||
@Tag(name = "通用接口")
|
@Tag(name = "通用接口")
|
||||||
@RequestMapping("/app/v2/common")
|
@RequestMapping("/api/app/v2/common")
|
||||||
@Slf4j
|
@Slf4j
|
||||||
public class V2CommonController {
|
public class V2CommonController {
|
||||||
@Autowired
|
@Autowired
|
||||||
|
|||||||
Reference in New Issue
Block a user