This commit is contained in:
王子琦
2026-01-14 09:42:10 +08:00
parent fab12860a7
commit e4f8f39804
3 changed files with 6 additions and 2 deletions

View File

@@ -36,7 +36,8 @@ const routes = [
] ]
const router = new VueRouter({ const router = new VueRouter({
routes routes,
mode:'history'
}) })
export default router export default router

View File

@@ -1,5 +1,8 @@
module.exports = { module.exports = {
devServer: { devServer: {
port: 8888,
disableHostCheck: true,
proxy: { proxy: {
'/api': { '/api': {
target: 'http://127.0.0.1:7946', target: 'http://127.0.0.1:7946',

View File

@@ -89,7 +89,7 @@ public class RegistrationController {
// 发送短信通知 // 发送短信通知
String smsUrl = "http://172.27.77.221:8060/send"; String smsUrl = "http://172.27.77.221:8060/send";
String text = "【国家电网】尊敬的" + registration.getCustomerName() + ",感谢您的支持!您咨询的业务办理详情可点击:" + "http://192.168.32.24:8080/#/getfile/"+urlPath+"查阅。"; String text = "【国家电网】尊敬的" + registration.getCustomerName() + ",感谢您的支持!您咨询的业务办理详情可点击以下链接进行查阅" + "https://api.u1552261.nyat.app:13523/getfile/"+urlPath;
String fullUrl = smsUrl + "?password=1&recipient=" + registration.getContact() + "&text=" + URLEncodeUtil.encode(text) + "&encoding=U"; String fullUrl = smsUrl + "?password=1&recipient=" + registration.getContact() + "&text=" + URLEncodeUtil.encode(text) + "&encoding=U";
String response = HttpUtil.get(fullUrl); String response = HttpUtil.get(fullUrl);
// 解析 XML 响应 // 解析 XML 响应