增加默认主页 修改线上地址

This commit is contained in:
2022-09-07 13:51:23 +08:00
parent 91741b3224
commit 0c83d79684
3 changed files with 11 additions and 7 deletions
@@ -12,10 +12,7 @@ import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import lombok.extern.slf4j.Slf4j;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.bind.annotation.*;
import javax.annotation.Resource;
import javax.validation.Valid;
@@ -34,6 +31,11 @@ public class AppShopOrderController {
@Resource
private PayOrderService payOrderService;
@GetMapping("/")
public String index(){
return "Welcome to Zsw";
}
@PostMapping("/create")
@ApiOperation("创建商城订单")
// @PreAuthenticated // TODO 暂时不加登陆验证,前端暂时没做好
@@ -248,7 +248,7 @@ dubbo:
bxg:
shop:
API_URL: https://farm.lotus-wallet.com/bxgApp
API_URL: https://farm.lotus-wallet.com
SITE_URL: http://project.lotus-wallet.com/
UNI_SITE_URL: https://farm.lotus-wallet.com/bxgApp
UNI_SITE_URL: https://farm.lotus-wallet.com
ADMIN_API_URL: https://farm.lotus-wallet.com/bxg