Files
MTKJPAY/logs/mt-pay.2025-12-23.log
qiube 48eece45e5 feat(order): 添加订单货币转换功能
- 在CustomerOrder实体中添加原始货币、支付货币、汇率等相关字段
- 实现货币转换计算接口,支持自动转换不支持的货币到USD
- 添加货币转换信息更新服务方法
- 在订单创建时初始化货币转换相关字段
- 扩展订单响应DTO包含完整的货币转换信息
- 实现汇率锁定和转换记录功能
2025-12-23 18:03:15 +08:00

5160 lines
704 KiB
Plaintext
Raw Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
2025-12-23 10:39:18.305 [background-preinit] INFO org.hibernate.validator.internal.util.Version - HV000001: Hibernate Validator 8.0.1.Final
2025-12-23 10:39:18.360 [restartedMain] INFO com.mtkj.mtkjpay.MtkjpayApplication - Starting MtkjpayApplication using Java 17.0.12 with PID 23952 (E:\MTKJPAY\mt-startup\target\classes started by 18969 in E:\MTKJPAY)
2025-12-23 10:39:18.361 [restartedMain] INFO com.mtkj.mtkjpay.MtkjpayApplication - The following 1 profile is active: "dev"
2025-12-23 10:39:19.813 [restartedMain] INFO org.apache.coyote.http11.Http11NioProtocol - Initializing ProtocolHandler ["http-nio-8082"]
2025-12-23 10:39:19.815 [restartedMain] INFO org.apache.catalina.core.StandardService - Starting service [Tomcat]
2025-12-23 10:39:19.815 [restartedMain] INFO org.apache.catalina.core.StandardEngine - Starting Servlet engine: [Apache Tomcat/10.1.16]
2025-12-23 10:39:19.875 [restartedMain] INFO o.a.c.core.ContainerBase.[Tomcat].[localhost].[/] - Initializing Spring embedded WebApplicationContext
2025-12-23 10:39:19.954 [restartedMain] INFO com.mtkj.mtpay.config.MyBatisPlusConfig - 初始化MyBatis-Plus分页插件数据库类型: MYSQL
2025-12-23 10:39:19.958 [restartedMain] INFO com.mtkj.mtpay.config.MyBatisPlusConfig - MyBatis-Plus分页插件配置完成
2025-12-23 10:39:19.961 [restartedMain] INFO com.mtkj.mtpay.config.DruidDataSourceConfig - 初始化Druid主数据源
2025-12-23 10:39:19.961 [restartedMain] INFO com.mtkj.mtpay.config.DruidDataSourceConfig - 配置属性 - URL: jdbc:mysql://rm-j6c3u06k2afwn8hxw6o.mysql.rds.aliyuncs.com:3306/mtpay?useUnicode=true&characterEncoding=utf-8&useSSL=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai, Username: mtkj2025
2025-12-23 10:39:19.989 [restartedMain] INFO com.mtkj.mtpay.config.DruidDataSourceConfig - Druid主数据源配置完成URL: jdbc:mysql://rm-j6c3u06k2afwn8hxw6o.mysql.rds.aliyuncs.com:3306/mtpay?useUnicode=true&characterEncoding=utf-8&useSSL=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai
2025-12-23 10:39:20.564 [restartedMain] INFO com.mtkj.mtpay.config.RestClientConfig - 初始化RestClient配置JSON消息转换器
2025-12-23 10:39:20.881 [restartedMain] INFO com.mtkj.mtpay.config.RestClientConfig - RestClient配置完成
2025-12-23 10:39:21.006 [restartedMain] INFO com.mtkj.mtpay.config.WebConfig - 配置跨域访问,路径: /api/**, 允许所有来源
2025-12-23 10:39:21.009 [restartedMain] INFO com.mtkj.mtpay.config.WebConfig - 跨域配置完成
2025-12-23 10:39:21.345 [restartedMain] INFO org.apache.coyote.http11.Http11NioProtocol - Starting ProtocolHandler ["http-nio-8082"]
2025-12-23 10:39:21.366 [restartedMain] INFO com.mtkj.mtkjpay.MtkjpayApplication - Started MtkjpayApplication in 3.617 seconds (process running for 5.164)
2025-12-23 10:39:21.369 [restartedMain] INFO com.mtkj.mtkjpay.MtkjpayApplication -
╔══════════════════════════════════════════════════════════╗
║ ║
║ ✅ MTKJ PAY 支付系统启动成功! ✅ ║
║ ║
╠══════════════════════════════════════════════════════════╣
║ 应用信息 ║
╠══════════════════════════════════════════════════════════╣
║ 应用名称: {:<45} ║
║ 运行环境: {:<45} ║
║ 服务端口: {:<45} ║
╠══════════════════════════════════════════════════════════╣
║ 访问地址 ║
╠══════════════════════════════════════════════════════════╣
║ 后端服务: {:<45} ║
║ API接口: {:<45} ║
║ Druid监控: {:<45} ║
╠══════════════════════════════════════════════════════════╣
║ 状态: 🟢 服务运行中,可以接收请求 ║
╚══════════════════════════════════════════════════════════╝
2025-12-23 10:39:21.369 [restartedMain] INFO com.mtkj.mtkjpay.MtkjpayApplication -
📌 提示:
- 前端代理地址: http://localhost:3000
- 后端API地址: http://localhost:8082//api
- 图片上传接口: http://localhost:8082//api/product/upload/image
- 商品管理接口: http://localhost:8082//api/product
2025-12-23 10:39:21.374 [main] ERROR com.mtkj.mtkjpay.MtkjpayApplication -
╔══════════════════════════════════════════════════════════╗
║ ║
║ ❌ MTKJ PAY 支付系统启动失败! ❌ ║
║ ║
╚══════════════════════════════════════════════════════════╝
org.springframework.boot.devtools.restart.SilentExitExceptionHandler$SilentExitException: null
at org.springframework.boot.devtools.restart.SilentExitExceptionHandler.exitCurrentThread(SilentExitExceptionHandler.java:92)
at org.springframework.boot.devtools.restart.Restarter.immediateRestart(Restarter.java:179)
at org.springframework.boot.devtools.restart.Restarter.initialize(Restarter.java:163)
at org.springframework.boot.devtools.restart.Restarter.initialize(Restarter.java:532)
at org.springframework.boot.devtools.restart.RestartApplicationListener.onApplicationStartingEvent(RestartApplicationListener.java:98)
at org.springframework.boot.devtools.restart.RestartApplicationListener.onApplicationEvent(RestartApplicationListener.java:51)
at org.springframework.context.event.SimpleApplicationEventMulticaster.doInvokeListener(SimpleApplicationEventMulticaster.java:178)
at org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:171)
at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:149)
at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:137)
at org.springframework.boot.context.event.EventPublishingRunListener.multicastInitialEvent(EventPublishingRunListener.java:136)
at org.springframework.boot.context.event.EventPublishingRunListener.starting(EventPublishingRunListener.java:75)
at org.springframework.boot.SpringApplicationRunListeners.lambda$starting$0(SpringApplicationRunListeners.java:54)
at java.base/java.lang.Iterable.forEach(Iterable.java:75)
at org.springframework.boot.SpringApplicationRunListeners.doWithListeners(SpringApplicationRunListeners.java:118)
at org.springframework.boot.SpringApplicationRunListeners.starting(SpringApplicationRunListeners.java:54)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:315)
at com.mtkj.mtkjpay.MtkjpayApplication.main(MtkjpayApplication.java:33)
2025-12-23 10:40:27.733 [http-nio-8082-exec-1] INFO o.a.c.core.ContainerBase.[Tomcat].[localhost].[/] - Initializing Spring DispatcherServlet 'dispatcherServlet'
2025-12-23 10:40:27.795 [http-nio-8082-exec-1] INFO com.mtkj.mtpay.controller.ProductController - 获取商品列表
2025-12-23 10:40:27.798 [http-nio-8082-exec-1] DEBUG com.mtkj.mtpay.service.impl.ProductServiceImpl - 查询商品列表
2025-12-23 10:40:30.273 [http-nio-8082-exec-1] DEBUG com.mtkj.mtpay.mapper.MtProductMapper.selectList - ==> Preparing: SELECT id,name,price,main_image,status,shop_id,create_time,update_time FROM mt_product WHERE (status <> ?) ORDER BY create_time DESC
2025-12-23 10:40:30.309 [http-nio-8082-exec-1] DEBUG com.mtkj.mtpay.mapper.MtProductMapper.selectList - ==> Parameters: DELETED(String)
2025-12-23 10:40:30.379 [http-nio-8082-exec-1] DEBUG com.mtkj.mtpay.mapper.MtProductMapper.selectList - <== Total: 1
2025-12-23 10:40:30.383 [http-nio-8082-exec-1] DEBUG com.mtkj.mtpay.service.impl.ProductServiceImpl - 查询到商品数量: 1
2025-12-23 10:40:30.425 [http-nio-8082-exec-1] DEBUG c.mtkj.mtpay.mapper.MtProductSkuMapper.selectList - ==> Preparing: SELECT id,product_id,sku,price,currency,stock,sales_attrs,sku_image,weight,size,specification,status,create_time,update_time FROM mt_product_sku WHERE (product_id = ?)
2025-12-23 10:40:30.426 [http-nio-8082-exec-1] DEBUG c.mtkj.mtpay.mapper.MtProductSkuMapper.selectList - ==> Parameters: 1(Long)
2025-12-23 10:40:30.474 [http-nio-8082-exec-1] DEBUG c.mtkj.mtpay.mapper.MtProductSkuMapper.selectList - <== Total: 15
2025-12-23 10:40:30.477 [http-nio-8082-exec-1] INFO com.mtkj.mtpay.service.impl.ProductServiceImpl - 获取商品列表成功,商品数量: 1
2025-12-23 10:40:30.639 [http-nio-8082-exec-2] INFO com.mtkj.mtpay.controller.ProductController - 获取商品URL商品ID1
2025-12-23 10:40:30.639 [http-nio-8082-exec-2] DEBUG com.mtkj.mtpay.service.impl.ProductServiceImpl - 获取商品URL商品ID: 1
2025-12-23 10:40:30.641 [http-nio-8082-exec-2] DEBUG com.mtkj.mtpay.mapper.MtProductMapper.selectById - ==> Preparing: SELECT id,name,price,main_image,status,shop_id,create_time,update_time FROM mt_product WHERE id=?
2025-12-23 10:40:30.641 [http-nio-8082-exec-2] DEBUG com.mtkj.mtpay.mapper.MtProductMapper.selectById - ==> Parameters: 1(Long)
2025-12-23 10:40:30.681 [http-nio-8082-exec-2] DEBUG com.mtkj.mtpay.mapper.MtProductMapper.selectById - <== Total: 1
2025-12-23 10:40:30.732 [http-nio-8082-exec-2] DEBUG c.mtkj.mtpay.service.impl.ProductLinkServiceImpl - 创建或获取商品链接商品ID: 1, 有效期: 90天
2025-12-23 10:40:30.746 [http-nio-8082-exec-2] DEBUG c.mtkj.mtpay.mapper.MtProductLinkMapper.selectList - ==> Preparing: SELECT id,product_id,link_code,full_url,expire_days,expire_time,status,create_time,update_time FROM mt_product_link WHERE (product_id = ? AND status = ? AND expire_time > ?) ORDER BY create_time DESC LIMIT 1
2025-12-23 10:40:30.746 [http-nio-8082-exec-2] DEBUG c.mtkj.mtpay.mapper.MtProductLinkMapper.selectList - ==> Parameters: 1(Long), ACTIVE(String), 2025-12-23T10:40:30.734491100(LocalDateTime)
2025-12-23 10:40:30.795 [http-nio-8082-exec-2] DEBUG c.mtkj.mtpay.mapper.MtProductLinkMapper.selectList - <== Total: 1
2025-12-23 10:40:30.795 [http-nio-8082-exec-2] DEBUG c.mtkj.mtpay.service.impl.ProductLinkServiceImpl - 找到现有有效链接,链接码: 3582a1dfbb174d84aac9f465b7180b50, 商品ID: 1
2025-12-23 10:40:30.877 [http-nio-8082-exec-2] INFO com.mtkj.mtpay.service.impl.ProductServiceImpl - 获取商品URL成功商品ID: 1, 链接码: 3582a1dfbb174d84aac9f465b7180b50, URL: http://localhost:3000/product/3582a1dfbb174d84aac9f465b7180b50
2025-12-23 10:40:39.692 [http-nio-8082-exec-3] INFO com.mtkj.mtpay.controller.ProductController - 根据链接码获取商品详情链接码3582a1dfbb174d84aac9f465b7180b50
2025-12-23 10:40:39.692 [http-nio-8082-exec-3] DEBUG com.mtkj.mtpay.service.impl.ProductServiceImpl - 根据链接码获取商品ID链接码: 3582a1dfbb174d84aac9f465b7180b50
2025-12-23 10:40:39.692 [http-nio-8082-exec-3] DEBUG c.mtkj.mtpay.service.impl.ProductLinkServiceImpl - 根据链接码获取商品链接,链接码: 3582a1dfbb174d84aac9f465b7180b50
2025-12-23 10:40:39.694 [http-nio-8082-exec-3] DEBUG c.mtkj.mtpay.mapper.MtProductLinkMapper.selectList - ==> Preparing: SELECT id,product_id,link_code,full_url,expire_days,expire_time,status,create_time,update_time FROM mt_product_link WHERE (link_code = ?) LIMIT 1
2025-12-23 10:40:39.695 [http-nio-8082-exec-3] DEBUG c.mtkj.mtpay.mapper.MtProductLinkMapper.selectList - ==> Parameters: 3582a1dfbb174d84aac9f465b7180b50(String)
2025-12-23 10:40:39.758 [http-nio-8082-exec-3] DEBUG c.mtkj.mtpay.mapper.MtProductLinkMapper.selectList - <== Total: 1
2025-12-23 10:40:39.759 [http-nio-8082-exec-3] DEBUG com.mtkj.mtpay.service.impl.ProductServiceImpl - 根据链接码获取商品ID成功链接码: 3582a1dfbb174d84aac9f465b7180b50, 商品ID: 1
2025-12-23 10:40:39.759 [http-nio-8082-exec-3] DEBUG com.mtkj.mtpay.service.impl.ProductServiceImpl - 查询商品详情商品ID: 1
2025-12-23 10:40:39.759 [http-nio-8082-exec-3] DEBUG com.mtkj.mtpay.mapper.MtProductMapper.selectById - ==> Preparing: SELECT id,name,price,main_image,status,shop_id,create_time,update_time FROM mt_product WHERE id=?
2025-12-23 10:40:39.759 [http-nio-8082-exec-3] DEBUG com.mtkj.mtpay.mapper.MtProductMapper.selectById - ==> Parameters: 1(Long)
2025-12-23 10:40:39.807 [http-nio-8082-exec-3] DEBUG com.mtkj.mtpay.mapper.MtProductMapper.selectById - <== Total: 1
2025-12-23 10:40:39.810 [http-nio-8082-exec-3] DEBUG c.mtkj.mtpay.mapper.MtProductSkuMapper.selectList - ==> Preparing: SELECT id,product_id,sku,price,currency,stock,sales_attrs,sku_image,weight,size,specification,status,create_time,update_time FROM mt_product_sku WHERE (product_id = ? AND status = ?)
2025-12-23 10:40:39.810 [http-nio-8082-exec-3] DEBUG c.mtkj.mtpay.mapper.MtProductSkuMapper.selectList - ==> Parameters: 1(Long), ACTIVE(String)
2025-12-23 10:40:39.857 [http-nio-8082-exec-3] DEBUG c.mtkj.mtpay.mapper.MtProductSkuMapper.selectList - <== Total: 15
2025-12-23 10:40:39.857 [http-nio-8082-exec-3] DEBUG com.mtkj.mtpay.service.impl.ProductServiceImpl - 查询到商品SKU数量: 15, 商品ID: 1
2025-12-23 10:40:39.858 [http-nio-8082-exec-3] DEBUG com.mtkj.mtpay.service.impl.ProductServiceImpl - 解析商品主图(多图),数量: 5
2025-12-23 10:40:39.866 [http-nio-8082-exec-3] INFO com.mtkj.mtpay.service.impl.ProductServiceImpl - 获取商品详情成功商品ID: 1, 商品名称: 名创优品毛巾女2025新款洗澡男士浴巾比全棉100纯棉吸水干发成人, SKU数量: 15, 主图数量: 5
2025-12-23 10:41:06.051 [http-nio-8082-exec-4] INFO com.mtkj.mtpay.controller.CustomerOrderController - 创建客户订单请求CreateCustomerOrderRequestDTO(productId=1, skuId=1, quantity=1, customerName=邱斌, customerPhone=18969599531, customerEmail=18969599531@163.com, shippingName=邱斌, shippingPhone=18969599531, shippingCountry=CN, shippingState=浙江省, shippingCity=丽水市, shippingStreet=丽水市莲都区万象街道晶都步行街阿姨奶茶隔壁潮童馆, shippingPostcode=323000, remark=null)
2025-12-23 10:41:06.192 [http-nio-8082-exec-4] INFO c.mtkj.mtpay.service.impl.CustomerOrderServiceImpl - 创建客户订单商品ID: 1, SKU ID: 1, 数量: 1
2025-12-23 10:41:06.192 [http-nio-8082-exec-4] DEBUG com.mtkj.mtpay.mapper.MtProductMapper.selectById - ==> Preparing: SELECT id,name,price,main_image,status,shop_id,create_time,update_time FROM mt_product WHERE id=?
2025-12-23 10:41:06.192 [http-nio-8082-exec-4] DEBUG com.mtkj.mtpay.mapper.MtProductMapper.selectById - ==> Parameters: 1(Long)
2025-12-23 10:41:06.258 [http-nio-8082-exec-4] DEBUG com.mtkj.mtpay.mapper.MtProductMapper.selectById - <== Total: 1
2025-12-23 10:41:06.258 [http-nio-8082-exec-4] DEBUG c.mtkj.mtpay.mapper.MtProductSkuMapper.selectById - ==> Preparing: SELECT id,product_id,sku,price,currency,stock,sales_attrs,sku_image,weight,size,specification,status,create_time,update_time FROM mt_product_sku WHERE id=?
2025-12-23 10:41:06.259 [http-nio-8082-exec-4] DEBUG c.mtkj.mtpay.mapper.MtProductSkuMapper.selectById - ==> Parameters: 1(Long)
2025-12-23 10:41:06.333 [http-nio-8082-exec-4] DEBUG c.mtkj.mtpay.mapper.MtProductSkuMapper.selectById - <== Total: 1
2025-12-23 10:41:06.333 [http-nio-8082-exec-4] DEBUG com.mtkj.mtpay.util.OrderIdGenerator - 生成商户订单号: MTN17664576663337034
2025-12-23 10:41:06.338 [http-nio-8082-exec-4] DEBUG com.mtkj.mtpay.config.MyMetaObjectHandler - 开始插入填充...
2025-12-23 10:41:06.341 [http-nio-8082-exec-4] DEBUG com.mtkj.mtpay.mapper.CustomerOrderMapper.insert - ==> Preparing: INSERT INTO customer_order ( order_no, product_id, product_name, sku_id, sku_name, quantity, unit_price, total_amount, currency, status, customer_name, customer_phone, customer_email, shipping_name, shipping_phone, shipping_country, shipping_state, shipping_city, shipping_street, shipping_postcode, payment_status, create_time, update_time ) VALUES ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ? )
2025-12-23 10:41:06.342 [http-nio-8082-exec-4] DEBUG com.mtkj.mtpay.mapper.CustomerOrderMapper.insert - ==> Parameters: MTN17664576663337034(String), 1(Long), 名创优品毛巾女2025新款洗澡男士浴巾比全棉100纯棉吸水干发成人(String), 1(Long), 【✅性价比首选】米白色+浅水蓝+天空灰【⭐毛巾实惠3条装】(String), 1(Integer), 13.31(BigDecimal), 13.31(BigDecimal), MYR(String), PENDING(String), 邱斌(String), 18969599531(String), 18969599531@163.com(String), 邱斌(String), 18969599531(String), CN(String), 浙江省(String), 丽水市(String), 丽水市莲都区万象街道晶都步行街阿姨奶茶隔壁潮童馆(String), 323000(String), UNPAID(String), 2025-12-23T10:41:06.338756(LocalDateTime), 2025-12-23T10:41:06.341138400(LocalDateTime)
2025-12-23 10:41:06.695 [http-nio-8082-exec-4] ERROR com.mtkj.mtpay.exception.GlobalExceptionHandler - 运行时异常
org.springframework.jdbc.BadSqlGrammarException:
### Error updating database. Cause: java.sql.SQLSyntaxErrorException: Table 'mtpay.customer_order' doesn't exist
### The error may exist in com/mtkj/mtpay/mapper/CustomerOrderMapper.java (best guess)
### The error may involve com.mtkj.mtpay.mapper.CustomerOrderMapper.insert-Inline
### The error occurred while setting parameters
### SQL: INSERT INTO customer_order ( order_no, product_id, product_name, sku_id, sku_name, quantity, unit_price, total_amount, currency, status, customer_name, customer_phone, customer_email, shipping_name, shipping_phone, shipping_country, shipping_state, shipping_city, shipping_street, shipping_postcode, payment_status, create_time, update_time ) VALUES ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ? )
### Cause: java.sql.SQLSyntaxErrorException: Table 'mtpay.customer_order' doesn't exist
; bad SQL grammar []
at org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator.doTranslate(SQLErrorCodeSQLExceptionTranslator.java:246)
at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:107)
at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:92)
at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:439)
at jdk.proxy2/jdk.proxy2.$Proxy76.insert(Unknown Source)
at org.mybatis.spring.SqlSessionTemplate.insert(SqlSessionTemplate.java:272)
at com.baomidou.mybatisplus.core.override.MybatisMapperMethod.execute(MybatisMapperMethod.java:59)
at com.baomidou.mybatisplus.core.override.MybatisMapperProxy$PlainMethodInvoker.invoke(MybatisMapperProxy.java:152)
at com.baomidou.mybatisplus.core.override.MybatisMapperProxy.invoke(MybatisMapperProxy.java:89)
at jdk.proxy3/jdk.proxy3.$Proxy83.insert(Unknown Source)
at com.mtkj.mtpay.service.impl.CustomerOrderServiceImpl.createOrder(CustomerOrderServiceImpl.java:94)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:352)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:196)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:765)
at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:123)
at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:385)
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:119)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:184)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:765)
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:717)
at com.mtkj.mtpay.service.impl.CustomerOrderServiceImpl$$SpringCGLIB$$0.createOrder(<generated>)
at com.mtkj.mtpay.controller.CustomerOrderController.createOrder(CustomerOrderController.java:29)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:254)
at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:182)
at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:118)
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:917)
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:829)
at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87)
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1089)
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:979)
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1014)
at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:914)
at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:590)
at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:885)
at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:658)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:205)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:149)
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:51)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:174)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:149)
at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:174)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:149)
at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:174)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:149)
at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:174)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:149)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:167)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:90)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:482)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:115)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:93)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:340)
at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:391)
at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63)
at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:896)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1744)
at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52)
at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191)
at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.base/java.lang.Thread.run(Thread.java:842)
Caused by: java.sql.SQLSyntaxErrorException: Table 'mtpay.customer_order' doesn't exist
at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:121)
at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122)
at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:916)
at com.mysql.cj.jdbc.ClientPreparedStatement.execute(ClientPreparedStatement.java:354)
at com.alibaba.druid.pool.DruidPooledPreparedStatement.execute(DruidPooledPreparedStatement.java:483)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at org.apache.ibatis.logging.jdbc.PreparedStatementLogger.invoke(PreparedStatementLogger.java:58)
at jdk.proxy4/jdk.proxy4.$Proxy98.execute(Unknown Source)
at org.apache.ibatis.executor.statement.PreparedStatementHandler.update(PreparedStatementHandler.java:48)
at org.apache.ibatis.executor.statement.RoutingStatementHandler.update(RoutingStatementHandler.java:75)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:61)
at jdk.proxy2/jdk.proxy2.$Proxy96.update(Unknown Source)
at org.apache.ibatis.executor.SimpleExecutor.doUpdate(SimpleExecutor.java:50)
at org.apache.ibatis.executor.BaseExecutor.update(BaseExecutor.java:117)
at org.apache.ibatis.executor.CachingExecutor.update(CachingExecutor.java:76)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at org.apache.ibatis.plugin.Invocation.proceed(Invocation.java:61)
at com.baomidou.mybatisplus.extension.plugins.MybatisPlusInterceptor.intercept(MybatisPlusInterceptor.java:106)
at org.apache.ibatis.plugin.Plugin.invoke(Plugin.java:59)
at jdk.proxy2/jdk.proxy2.$Proxy95.update(Unknown Source)
at org.apache.ibatis.session.defaults.DefaultSqlSession.update(DefaultSqlSession.java:197)
at org.apache.ibatis.session.defaults.DefaultSqlSession.insert(DefaultSqlSession.java:184)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:425)
... 73 common frames omitted
2025-12-23 10:41:06.699 [http-nio-8082-exec-4] WARN o.s.w.s.m.m.a.ExceptionHandlerExceptionResolver - Resolved [org.springframework.jdbc.BadSqlGrammarException: <EOL><EOL>### Error updating database. Cause: java.sql.SQLSyntaxErrorException: Table 'mtpay.customer_order' doesn't exist<EOL><EOL>### The error may exist in com/mtkj/mtpay/mapper/CustomerOrderMapper.java (best guess)<EOL><EOL>### The error may involve com.mtkj.mtpay.mapper.CustomerOrderMapper.insert-Inline<EOL><EOL>### The error occurred while setting parameters<EOL><EOL>### SQL: INSERT INTO customer_order ( order_no, product_id, product_name, sku_id, sku_name, quantity, unit_price, total_amount, currency, status, customer_name, customer_phone, customer_email, shipping_name, shipping_phone, shipping_country, shipping_state, shipping_city, shipping_street, shipping_postcode, payment_status, create_time, update_time ) VALUES ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ? )<EOL><EOL>### Cause: java.sql.SQLSyntaxErrorException: Table 'mtpay.customer_order' doesn't exist<EOL>; bad SQL grammar []]
2025-12-23 10:45:39.592 [background-preinit] INFO org.hibernate.validator.internal.util.Version - HV000001: Hibernate Validator 8.0.1.Final
2025-12-23 10:45:39.635 [restartedMain] INFO com.mtkj.mtkjpay.MtkjpayApplication - Starting MtkjpayApplication using Java 17.0.12 with PID 8504 (E:\MTKJPAY\mt-startup\target\classes started by 18969 in E:\MTKJPAY)
2025-12-23 10:45:39.635 [restartedMain] INFO com.mtkj.mtkjpay.MtkjpayApplication - The following 1 profile is active: "dev"
2025-12-23 10:45:41.265 [restartedMain] INFO org.apache.coyote.http11.Http11NioProtocol - Initializing ProtocolHandler ["http-nio-8082"]
2025-12-23 10:45:41.267 [restartedMain] INFO org.apache.catalina.core.StandardService - Starting service [Tomcat]
2025-12-23 10:45:41.268 [restartedMain] INFO org.apache.catalina.core.StandardEngine - Starting Servlet engine: [Apache Tomcat/10.1.16]
2025-12-23 10:45:41.318 [restartedMain] INFO o.a.c.core.ContainerBase.[Tomcat].[localhost].[/] - Initializing Spring embedded WebApplicationContext
2025-12-23 10:45:41.401 [restartedMain] INFO com.mtkj.mtpay.config.MyBatisPlusConfig - 初始化MyBatis-Plus分页插件数据库类型: MYSQL
2025-12-23 10:45:41.406 [restartedMain] INFO com.mtkj.mtpay.config.MyBatisPlusConfig - MyBatis-Plus分页插件配置完成
2025-12-23 10:45:41.410 [restartedMain] INFO com.mtkj.mtpay.config.DruidDataSourceConfig - 初始化Druid主数据源
2025-12-23 10:45:41.410 [restartedMain] INFO com.mtkj.mtpay.config.DruidDataSourceConfig - 配置属性 - URL: jdbc:mysql://rm-j6c3u06k2afwn8hxw6o.mysql.rds.aliyuncs.com:3306/mtpay?useUnicode=true&characterEncoding=utf-8&useSSL=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai, Username: mtkj2025
2025-12-23 10:45:41.437 [restartedMain] INFO com.mtkj.mtpay.config.DruidDataSourceConfig - Druid主数据源配置完成URL: jdbc:mysql://rm-j6c3u06k2afwn8hxw6o.mysql.rds.aliyuncs.com:3306/mtpay?useUnicode=true&characterEncoding=utf-8&useSSL=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai
2025-12-23 10:45:41.984 [restartedMain] INFO com.mtkj.mtpay.config.RestClientConfig - 初始化RestClient配置JSON消息转换器
2025-12-23 10:45:42.142 [restartedMain] INFO com.mtkj.mtpay.config.RestClientConfig - RestClient配置完成
2025-12-23 10:45:42.238 [restartedMain] INFO com.mtkj.mtpay.config.WebConfig - 配置跨域访问,路径: /api/**, 允许所有来源
2025-12-23 10:45:42.241 [restartedMain] INFO com.mtkj.mtpay.config.WebConfig - 跨域配置完成
2025-12-23 10:45:42.519 [restartedMain] INFO org.apache.coyote.http11.Http11NioProtocol - Starting ProtocolHandler ["http-nio-8082"]
2025-12-23 10:45:42.535 [restartedMain] INFO com.mtkj.mtkjpay.MtkjpayApplication - Started MtkjpayApplication in 3.507 seconds (process running for 4.56)
2025-12-23 10:45:42.538 [restartedMain] INFO com.mtkj.mtkjpay.MtkjpayApplication -
╔══════════════════════════════════════════════════════════╗
║ ║
║ ✅ MTKJ PAY 支付系统启动成功! ✅ ║
║ ║
╠══════════════════════════════════════════════════════════╣
║ 应用信息 ║
╠══════════════════════════════════════════════════════════╣
║ 应用名称: {:<45} ║
║ 运行环境: {:<45} ║
║ 服务端口: {:<45} ║
╠══════════════════════════════════════════════════════════╣
║ 访问地址 ║
╠══════════════════════════════════════════════════════════╣
║ 后端服务: {:<45} ║
║ API接口: {:<45} ║
║ Druid监控: {:<45} ║
╠══════════════════════════════════════════════════════════╣
║ 状态: 🟢 服务运行中,可以接收请求 ║
╚══════════════════════════════════════════════════════════╝
2025-12-23 10:45:42.538 [restartedMain] INFO com.mtkj.mtkjpay.MtkjpayApplication -
📌 提示:
- 前端代理地址: http://localhost:3000
- 后端API地址: http://localhost:8082//api
- 图片上传接口: http://localhost:8082//api/product/upload/image
- 商品管理接口: http://localhost:8082//api/product
2025-12-23 10:45:42.541 [main] ERROR com.mtkj.mtkjpay.MtkjpayApplication -
╔══════════════════════════════════════════════════════════╗
║ ║
║ ❌ MTKJ PAY 支付系统启动失败! ❌ ║
║ ║
╚══════════════════════════════════════════════════════════╝
org.springframework.boot.devtools.restart.SilentExitExceptionHandler$SilentExitException: null
at org.springframework.boot.devtools.restart.SilentExitExceptionHandler.exitCurrentThread(SilentExitExceptionHandler.java:92)
at org.springframework.boot.devtools.restart.Restarter.immediateRestart(Restarter.java:179)
at org.springframework.boot.devtools.restart.Restarter.initialize(Restarter.java:163)
at org.springframework.boot.devtools.restart.Restarter.initialize(Restarter.java:532)
at org.springframework.boot.devtools.restart.RestartApplicationListener.onApplicationStartingEvent(RestartApplicationListener.java:98)
at org.springframework.boot.devtools.restart.RestartApplicationListener.onApplicationEvent(RestartApplicationListener.java:51)
at org.springframework.context.event.SimpleApplicationEventMulticaster.doInvokeListener(SimpleApplicationEventMulticaster.java:178)
at org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:171)
at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:149)
at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:137)
at org.springframework.boot.context.event.EventPublishingRunListener.multicastInitialEvent(EventPublishingRunListener.java:136)
at org.springframework.boot.context.event.EventPublishingRunListener.starting(EventPublishingRunListener.java:75)
at org.springframework.boot.SpringApplicationRunListeners.lambda$starting$0(SpringApplicationRunListeners.java:54)
at java.base/java.lang.Iterable.forEach(Iterable.java:75)
at org.springframework.boot.SpringApplicationRunListeners.doWithListeners(SpringApplicationRunListeners.java:118)
at org.springframework.boot.SpringApplicationRunListeners.starting(SpringApplicationRunListeners.java:54)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:315)
at com.mtkj.mtkjpay.MtkjpayApplication.main(MtkjpayApplication.java:33)
2025-12-23 10:46:01.643 [http-nio-8082-exec-1] INFO o.a.c.core.ContainerBase.[Tomcat].[localhost].[/] - Initializing Spring DispatcherServlet 'dispatcherServlet'
2025-12-23 10:46:01.912 [http-nio-8082-exec-1] INFO com.mtkj.mtpay.controller.CustomerOrderController - 创建客户订单请求CreateCustomerOrderRequestDTO(productId=1, skuId=1, quantity=1, customerName=邱斌, customerPhone=18969599531, customerEmail=18969599531@163.com, shippingName=邱斌, shippingPhone=18969599531, shippingCountry=CN, shippingState=浙江省, shippingCity=丽水市, shippingStreet=丽水市莲都区万象街道晶都步行街阿姨奶茶隔壁潮童馆, shippingPostcode=323000, remark=null)
2025-12-23 10:46:04.135 [http-nio-8082-exec-1] INFO c.mtkj.mtpay.service.impl.CustomerOrderServiceImpl - 创建客户订单商品ID: 1, SKU ID: 1, 数量: 1
2025-12-23 10:46:04.155 [http-nio-8082-exec-1] DEBUG com.mtkj.mtpay.mapper.MtProductMapper.selectById - ==> Preparing: SELECT id,name,price,main_image,status,shop_id,create_time,update_time FROM mt_product WHERE id=?
2025-12-23 10:46:04.171 [http-nio-8082-exec-1] DEBUG com.mtkj.mtpay.mapper.MtProductMapper.selectById - ==> Parameters: 1(Long)
2025-12-23 10:46:04.225 [http-nio-8082-exec-1] DEBUG com.mtkj.mtpay.mapper.MtProductMapper.selectById - <== Total: 1
2025-12-23 10:46:04.227 [http-nio-8082-exec-1] DEBUG c.mtkj.mtpay.mapper.MtProductSkuMapper.selectById - ==> Preparing: SELECT id,product_id,sku,price,currency,stock,sales_attrs,sku_image,weight,size,specification,status,create_time,update_time FROM mt_product_sku WHERE id=?
2025-12-23 10:46:04.228 [http-nio-8082-exec-1] DEBUG c.mtkj.mtpay.mapper.MtProductSkuMapper.selectById - ==> Parameters: 1(Long)
2025-12-23 10:46:04.267 [http-nio-8082-exec-1] DEBUG c.mtkj.mtpay.mapper.MtProductSkuMapper.selectById - <== Total: 1
2025-12-23 10:46:04.269 [http-nio-8082-exec-1] DEBUG com.mtkj.mtpay.util.OrderIdGenerator - 生成商户订单号: MTN17664579642691703
2025-12-23 10:46:04.307 [http-nio-8082-exec-1] DEBUG com.mtkj.mtpay.config.MyMetaObjectHandler - 开始插入填充...
2025-12-23 10:46:04.309 [http-nio-8082-exec-1] DEBUG com.mtkj.mtpay.mapper.CustomerOrderMapper.insert - ==> Preparing: INSERT INTO customer_order ( order_no, product_id, product_name, sku_id, sku_name, quantity, unit_price, total_amount, currency, status, customer_name, customer_phone, customer_email, shipping_name, shipping_phone, shipping_country, shipping_state, shipping_city, shipping_street, shipping_postcode, payment_status, create_time, update_time ) VALUES ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ? )
2025-12-23 10:46:04.310 [http-nio-8082-exec-1] DEBUG com.mtkj.mtpay.mapper.CustomerOrderMapper.insert - ==> Parameters: MTN17664579642691703(String), 1(Long), 名创优品毛巾女2025新款洗澡男士浴巾比全棉100纯棉吸水干发成人(String), 1(Long), 【✅性价比首选】米白色+浅水蓝+天空灰【⭐毛巾实惠3条装】(String), 1(Integer), 13.31(BigDecimal), 13.31(BigDecimal), MYR(String), PENDING(String), 邱斌(String), 18969599531(String), 18969599531@163.com(String), 邱斌(String), 18969599531(String), CN(String), 浙江省(String), 丽水市(String), 丽水市莲都区万象街道晶都步行街阿姨奶茶隔壁潮童馆(String), 323000(String), UNPAID(String), 2025-12-23T10:46:04.307177800(LocalDateTime), 2025-12-23T10:46:04.308257600(LocalDateTime)
2025-12-23 10:46:04.396 [http-nio-8082-exec-1] DEBUG com.mtkj.mtpay.mapper.CustomerOrderMapper.insert - <== Updates: 1
2025-12-23 10:46:04.398 [http-nio-8082-exec-1] INFO c.mtkj.mtpay.service.impl.CustomerOrderServiceImpl - 客户订单创建成功订单ID: 1, 订单号: MTN17664579642691703
2025-12-23 10:46:04.751 [http-nio-8082-exec-2] INFO com.mtkj.mtpay.controller.CustomerOrderController - 获取订单详情订单号MTN17664579642691703
2025-12-23 10:46:04.751 [http-nio-8082-exec-2] DEBUG c.mtkj.mtpay.service.impl.CustomerOrderServiceImpl - 查询订单,订单号: MTN17664579642691703
2025-12-23 10:46:04.793 [http-nio-8082-exec-2] DEBUG c.mtkj.mtpay.mapper.CustomerOrderMapper.selectList - ==> Preparing: SELECT id,order_no,product_id,product_name,sku_id,sku_name,quantity,unit_price,total_amount,currency,status,customer_name,customer_phone,customer_email,shipping_name,shipping_phone,shipping_country,shipping_state,shipping_city,shipping_street,shipping_postcode,payment_order_id,payment_status,remark,create_time,update_time FROM customer_order WHERE (order_no = ?)
2025-12-23 10:46:04.794 [http-nio-8082-exec-2] DEBUG c.mtkj.mtpay.mapper.CustomerOrderMapper.selectList - ==> Parameters: MTN17664579642691703(String)
2025-12-23 10:46:04.843 [http-nio-8082-exec-2] DEBUG c.mtkj.mtpay.mapper.CustomerOrderMapper.selectList - <== Total: 1
2025-12-23 10:46:24.277 [http-nio-8082-exec-3] INFO com.mtkj.mtpay.controller.PayPalController - 创建PayPal订单请求CreatePayPalOrderRequestDTO(intent=CAPTURE, referenceId=MTN17664579642691703, amount=13.31, currencyCode=MYR, itemName=名创优品毛巾女2025新款洗澡男士浴巾比全棉100纯棉吸水干发成人, itemDescription=【✅性价比首选】米白色+浅水蓝+天空灰【⭐毛巾实惠3条装】, itemSku=【✅性价比首选】米白色+浅水蓝+天空灰【⭐毛巾实惠3条装】, itemQuantity=1, itemUnitAmount=13.31, returnUrl=http://localhost:3000/paypal/success?orderNo=MTN17664579642691703, cancelUrl=http://localhost:3000/paypal/cancel?orderNo=MTN17664579642691703, shippingName=邱斌, shippingAddressLine1=丽水市莲都区万象街道晶都步行街阿姨奶茶隔壁潮童馆, shippingAddressLine2=null, shippingCity=丽水市, shippingState=浙江省, shippingPostalCode=323000, shippingCountryCode=CN, emailAddress=18969599531@163.com)
2025-12-23 10:46:24.284 [http-nio-8082-exec-3] INFO com.mtkj.mtpay.service.impl.PayPalServiceImpl - 创建PayPal订单ERP订单号: MTN17664579642691703
2025-12-23 10:46:24.284 [http-nio-8082-exec-3] INFO com.mtkj.mtpay.service.impl.PayPalServiceImpl - 获取PayPal访问令牌
2025-12-23 10:46:24.286 [http-nio-8082-exec-3] ERROR com.mtkj.mtpay.exception.GlobalExceptionHandler - 运行时异常
java.lang.IllegalArgumentException: Username must not be null
at org.springframework.util.Assert.notNull(Assert.java:172)
at org.springframework.http.HttpHeaders.encodeBasicAuth(HttpHeaders.java:1927)
at org.springframework.http.HttpHeaders.setBasicAuth(HttpHeaders.java:802)
at com.mtkj.mtpay.service.impl.PayPalServiceImpl.getAccessToken(PayPalServiceImpl.java:58)
at com.mtkj.mtpay.service.impl.PayPalServiceImpl.createOrder(PayPalServiceImpl.java:99)
at com.mtkj.mtpay.controller.PayPalController.createOrder(PayPalController.java:43)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:254)
at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:182)
at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:118)
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:917)
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:829)
at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87)
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1089)
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:979)
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1014)
at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:914)
at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:590)
at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:885)
at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:658)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:205)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:149)
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:51)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:174)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:149)
at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:174)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:149)
at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:174)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:149)
at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:174)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:149)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:167)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:90)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:482)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:115)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:93)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:340)
at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:391)
at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63)
at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:896)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1744)
at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52)
at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191)
at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.base/java.lang.Thread.run(Thread.java:842)
2025-12-23 10:46:24.291 [http-nio-8082-exec-3] WARN o.s.w.s.m.m.a.ExceptionHandlerExceptionResolver - Resolved [java.lang.IllegalArgumentException: Username must not be null]
2025-12-23 10:48:40.429 [background-preinit] INFO org.hibernate.validator.internal.util.Version - HV000001: Hibernate Validator 8.0.1.Final
2025-12-23 10:48:40.465 [restartedMain] INFO com.mtkj.mtkjpay.MtkjpayApplication - Starting MtkjpayApplication using Java 17.0.12 with PID 14420 (E:\MTKJPAY\mt-startup\target\classes started by 18969 in E:\MTKJPAY)
2025-12-23 10:48:40.466 [restartedMain] INFO com.mtkj.mtkjpay.MtkjpayApplication - The following 1 profile is active: "dev"
2025-12-23 10:48:41.545 [restartedMain] INFO org.apache.coyote.http11.Http11NioProtocol - Initializing ProtocolHandler ["http-nio-8082"]
2025-12-23 10:48:41.546 [restartedMain] INFO org.apache.catalina.core.StandardService - Starting service [Tomcat]
2025-12-23 10:48:41.547 [restartedMain] INFO org.apache.catalina.core.StandardEngine - Starting Servlet engine: [Apache Tomcat/10.1.16]
2025-12-23 10:48:41.671 [restartedMain] INFO o.a.c.core.ContainerBase.[Tomcat].[localhost].[/] - Initializing Spring embedded WebApplicationContext
2025-12-23 10:48:41.745 [restartedMain] INFO com.mtkj.mtpay.config.MyBatisPlusConfig - 初始化MyBatis-Plus分页插件数据库类型: MYSQL
2025-12-23 10:48:41.749 [restartedMain] INFO com.mtkj.mtpay.config.MyBatisPlusConfig - MyBatis-Plus分页插件配置完成
2025-12-23 10:48:41.753 [restartedMain] INFO com.mtkj.mtpay.config.DruidDataSourceConfig - 初始化Druid主数据源
2025-12-23 10:48:41.753 [restartedMain] INFO com.mtkj.mtpay.config.DruidDataSourceConfig - 配置属性 - URL: jdbc:mysql://rm-j6c3u06k2afwn8hxw6o.mysql.rds.aliyuncs.com:3306/mtpay?useUnicode=true&characterEncoding=utf-8&useSSL=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai, Username: mtkj2025
2025-12-23 10:48:41.776 [restartedMain] INFO com.mtkj.mtpay.config.DruidDataSourceConfig - Druid主数据源配置完成URL: jdbc:mysql://rm-j6c3u06k2afwn8hxw6o.mysql.rds.aliyuncs.com:3306/mtpay?useUnicode=true&characterEncoding=utf-8&useSSL=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai
2025-12-23 10:48:42.254 [restartedMain] INFO com.mtkj.mtpay.config.RestClientConfig - 初始化RestClient配置JSON消息转换器
2025-12-23 10:48:42.371 [restartedMain] INFO com.mtkj.mtpay.config.RestClientConfig - RestClient配置完成
2025-12-23 10:48:42.461 [restartedMain] INFO com.mtkj.mtpay.config.WebConfig - 配置跨域访问,路径: /api/**, 允许所有来源
2025-12-23 10:48:42.463 [restartedMain] INFO com.mtkj.mtpay.config.WebConfig - 跨域配置完成
2025-12-23 10:48:42.729 [restartedMain] INFO org.apache.coyote.http11.Http11NioProtocol - Starting ProtocolHandler ["http-nio-8082"]
2025-12-23 10:48:42.750 [restartedMain] INFO com.mtkj.mtkjpay.MtkjpayApplication - Started MtkjpayApplication in 2.851 seconds (process running for 3.714)
2025-12-23 10:48:42.752 [restartedMain] INFO com.mtkj.mtkjpay.MtkjpayApplication -
╔══════════════════════════════════════════════════════════╗
║ ║
║ ✅ MTKJ PAY 支付系统启动成功! ✅ ║
║ ║
╠══════════════════════════════════════════════════════════╣
║ 应用信息 ║
╠══════════════════════════════════════════════════════════╣
║ 应用名称: {:<45} ║
║ 运行环境: {:<45} ║
║ 服务端口: {:<45} ║
╠══════════════════════════════════════════════════════════╣
║ 访问地址 ║
╠══════════════════════════════════════════════════════════╣
║ 后端服务: {:<45} ║
║ API接口: {:<45} ║
║ Druid监控: {:<45} ║
╠══════════════════════════════════════════════════════════╣
║ 状态: 🟢 服务运行中,可以接收请求 ║
╚══════════════════════════════════════════════════════════╝
2025-12-23 10:48:42.752 [restartedMain] INFO com.mtkj.mtkjpay.MtkjpayApplication -
📌 提示:
- 前端代理地址: http://localhost:3000
- 后端API地址: http://localhost:8082//api
- 图片上传接口: http://localhost:8082//api/product/upload/image
- 商品管理接口: http://localhost:8082//api/product
2025-12-23 10:48:42.753 [main] ERROR com.mtkj.mtkjpay.MtkjpayApplication -
╔══════════════════════════════════════════════════════════╗
║ ║
║ ❌ MTKJ PAY 支付系统启动失败! ❌ ║
║ ║
╚══════════════════════════════════════════════════════════╝
org.springframework.boot.devtools.restart.SilentExitExceptionHandler$SilentExitException: null
at org.springframework.boot.devtools.restart.SilentExitExceptionHandler.exitCurrentThread(SilentExitExceptionHandler.java:92)
at org.springframework.boot.devtools.restart.Restarter.immediateRestart(Restarter.java:179)
at org.springframework.boot.devtools.restart.Restarter.initialize(Restarter.java:163)
at org.springframework.boot.devtools.restart.Restarter.initialize(Restarter.java:532)
at org.springframework.boot.devtools.restart.RestartApplicationListener.onApplicationStartingEvent(RestartApplicationListener.java:98)
at org.springframework.boot.devtools.restart.RestartApplicationListener.onApplicationEvent(RestartApplicationListener.java:51)
at org.springframework.context.event.SimpleApplicationEventMulticaster.doInvokeListener(SimpleApplicationEventMulticaster.java:178)
at org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:171)
at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:149)
at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:137)
at org.springframework.boot.context.event.EventPublishingRunListener.multicastInitialEvent(EventPublishingRunListener.java:136)
at org.springframework.boot.context.event.EventPublishingRunListener.starting(EventPublishingRunListener.java:75)
at org.springframework.boot.SpringApplicationRunListeners.lambda$starting$0(SpringApplicationRunListeners.java:54)
at java.base/java.lang.Iterable.forEach(Iterable.java:75)
at org.springframework.boot.SpringApplicationRunListeners.doWithListeners(SpringApplicationRunListeners.java:118)
at org.springframework.boot.SpringApplicationRunListeners.starting(SpringApplicationRunListeners.java:54)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:315)
at com.mtkj.mtkjpay.MtkjpayApplication.main(MtkjpayApplication.java:33)
2025-12-23 10:48:50.872 [http-nio-8082-exec-1] INFO o.a.c.core.ContainerBase.[Tomcat].[localhost].[/] - Initializing Spring DispatcherServlet 'dispatcherServlet'
2025-12-23 10:48:51.123 [http-nio-8082-exec-1] INFO com.mtkj.mtpay.controller.PayPalController - 创建PayPal订单请求CreatePayPalOrderRequestDTO(intent=CAPTURE, referenceId=MTN17664579642691703, amount=13.31, currencyCode=MYR, itemName=名创优品毛巾女2025新款洗澡男士浴巾比全棉100纯棉吸水干发成人, itemDescription=【✅性价比首选】米白色+浅水蓝+天空灰【⭐毛巾实惠3条装】, itemSku=【✅性价比首选】米白色+浅水蓝+天空灰【⭐毛巾实惠3条装】, itemQuantity=1, itemUnitAmount=13.31, returnUrl=http://localhost:3000/paypal/success?orderNo=MTN17664579642691703, cancelUrl=http://localhost:3000/paypal/cancel?orderNo=MTN17664579642691703, shippingName=邱斌, shippingAddressLine1=丽水市莲都区万象街道晶都步行街阿姨奶茶隔壁潮童馆, shippingAddressLine2=null, shippingCity=丽水市, shippingState=浙江省, shippingPostalCode=323000, shippingCountryCode=CN, emailAddress=18969599531@163.com)
2025-12-23 10:48:51.137 [http-nio-8082-exec-1] INFO com.mtkj.mtpay.service.impl.PayPalServiceImpl - 创建PayPal订单ERP订单号: MTN17664579642691703
2025-12-23 10:48:51.137 [http-nio-8082-exec-1] INFO com.mtkj.mtpay.service.impl.PayPalServiceImpl - 获取PayPal访问令牌
2025-12-23 10:48:51.137 [http-nio-8082-exec-1] ERROR com.mtkj.mtpay.service.impl.PayPalServiceImpl - PayPal Client ID未配置请检查application.yml中的paypal.client-id配置
2025-12-23 10:48:51.141 [http-nio-8082-exec-1] WARN com.mtkj.mtpay.exception.GlobalExceptionHandler - 业务异常: PayPal Client ID未配置
2025-12-23 10:48:51.186 [http-nio-8082-exec-1] WARN o.s.w.s.m.m.a.ExceptionHandlerExceptionResolver - Resolved [com.mtkj.mtpay.exception.BusinessException: PayPal Client ID未配置]
2025-12-23 10:49:01.642 [http-nio-8082-exec-4] INFO com.mtkj.mtpay.controller.PayPalController - 创建PayPal订单请求CreatePayPalOrderRequestDTO(intent=CAPTURE, referenceId=MTN17664579642691703, amount=13.31, currencyCode=MYR, itemName=名创优品毛巾女2025新款洗澡男士浴巾比全棉100纯棉吸水干发成人, itemDescription=【✅性价比首选】米白色+浅水蓝+天空灰【⭐毛巾实惠3条装】, itemSku=【✅性价比首选】米白色+浅水蓝+天空灰【⭐毛巾实惠3条装】, itemQuantity=1, itemUnitAmount=13.31, returnUrl=http://localhost:3000/paypal/success?orderNo=MTN17664579642691703, cancelUrl=http://localhost:3000/paypal/cancel?orderNo=MTN17664579642691703, shippingName=邱斌, shippingAddressLine1=丽水市莲都区万象街道晶都步行街阿姨奶茶隔壁潮童馆, shippingAddressLine2=null, shippingCity=丽水市, shippingState=浙江省, shippingPostalCode=323000, shippingCountryCode=CN, emailAddress=18969599531@163.com)
2025-12-23 10:49:01.643 [http-nio-8082-exec-4] INFO com.mtkj.mtpay.service.impl.PayPalServiceImpl - 创建PayPal订单ERP订单号: MTN17664579642691703
2025-12-23 10:49:01.643 [http-nio-8082-exec-4] INFO com.mtkj.mtpay.service.impl.PayPalServiceImpl - 获取PayPal访问令牌
2025-12-23 10:49:01.643 [http-nio-8082-exec-4] ERROR com.mtkj.mtpay.service.impl.PayPalServiceImpl - PayPal Client ID未配置请检查application.yml中的paypal.client-id配置
2025-12-23 10:49:01.643 [http-nio-8082-exec-4] WARN com.mtkj.mtpay.exception.GlobalExceptionHandler - 业务异常: PayPal Client ID未配置
2025-12-23 10:49:01.644 [http-nio-8082-exec-4] WARN o.s.w.s.m.m.a.ExceptionHandlerExceptionResolver - Resolved [com.mtkj.mtpay.exception.BusinessException: PayPal Client ID未配置]
2025-12-23 10:50:50.716 [Thread-8] INFO org.apache.coyote.http11.Http11NioProtocol - Stopping ProtocolHandler ["http-nio-8082"]
2025-12-23 10:50:50.813 [restartedMain] INFO com.mtkj.mtkjpay.MtkjpayApplication -
╔══════════════════════════════════════════════════════════╗
║ ║
║ MTKJ PAY 支付系统正在启动... ║
║ ║
╚══════════════════════════════════════════════════════════╝
2025-12-23 10:50:50.879 [restartedMain] INFO com.mtkj.mtkjpay.MtkjpayApplication - Starting MtkjpayApplication using Java 17.0.12 with PID 14420 (E:\MTKJPAY\mt-startup\target\classes started by 18969 in E:\MTKJPAY)
2025-12-23 10:50:50.879 [restartedMain] INFO com.mtkj.mtkjpay.MtkjpayApplication - The following 1 profile is active: "dev"
2025-12-23 10:50:51.254 [restartedMain] INFO org.apache.coyote.http11.Http11NioProtocol - Initializing ProtocolHandler ["http-nio-8082"]
2025-12-23 10:50:51.255 [restartedMain] INFO org.apache.catalina.core.StandardService - Starting service [Tomcat]
2025-12-23 10:50:51.255 [restartedMain] INFO org.apache.catalina.core.StandardEngine - Starting Servlet engine: [Apache Tomcat/10.1.16]
2025-12-23 10:50:51.297 [restartedMain] INFO o.a.c.core.ContainerBase.[Tomcat].[localhost].[/] - Initializing Spring embedded WebApplicationContext
2025-12-23 10:50:51.310 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - PayPal配置加载验证:
2025-12-23 10:50:51.310 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Client ID: 未配置
2025-12-23 10:50:51.311 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Client Secret: 未配置
2025-12-23 10:50:51.311 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Mode: sandbox
2025-12-23 10:50:51.311 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Enabled: true
2025-12-23 10:50:51.311 [restartedMain] WARN com.mtkj.mtpay.config.PayPalProperties - ⚠️ PayPal Client ID未配置请检查application.yml中的paypal.client-id配置
2025-12-23 10:50:51.311 [restartedMain] WARN com.mtkj.mtpay.config.PayPalProperties - ⚠️ PayPal Client Secret未配置请检查application.yml中的paypal.client-secret配置
2025-12-23 10:50:51.318 [restartedMain] INFO com.mtkj.mtpay.config.MyBatisPlusConfig - 初始化MyBatis-Plus分页插件数据库类型: MYSQL
2025-12-23 10:50:51.318 [restartedMain] INFO com.mtkj.mtpay.config.MyBatisPlusConfig - MyBatis-Plus分页插件配置完成
2025-12-23 10:50:51.320 [restartedMain] INFO com.mtkj.mtpay.config.DruidDataSourceConfig - 初始化Druid主数据源
2025-12-23 10:50:51.321 [restartedMain] INFO com.mtkj.mtpay.config.DruidDataSourceConfig - 配置属性 - URL: jdbc:mysql://rm-j6c3u06k2afwn8hxw6o.mysql.rds.aliyuncs.com:3306/mtpay?useUnicode=true&characterEncoding=utf-8&useSSL=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai, Username: mtkj2025
2025-12-23 10:50:51.321 [restartedMain] INFO com.mtkj.mtpay.config.DruidDataSourceConfig - Druid主数据源配置完成URL: jdbc:mysql://rm-j6c3u06k2afwn8hxw6o.mysql.rds.aliyuncs.com:3306/mtpay?useUnicode=true&characterEncoding=utf-8&useSSL=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai
2025-12-23 10:50:51.611 [restartedMain] INFO com.mtkj.mtpay.config.RestClientConfig - 初始化RestClient配置JSON消息转换器
2025-12-23 10:50:51.615 [restartedMain] INFO com.mtkj.mtpay.config.RestClientConfig - RestClient配置完成
2025-12-23 10:50:51.687 [restartedMain] INFO com.mtkj.mtpay.config.WebConfig - 配置跨域访问,路径: /api/**, 允许所有来源
2025-12-23 10:50:51.687 [restartedMain] INFO com.mtkj.mtpay.config.WebConfig - 跨域配置完成
2025-12-23 10:50:51.785 [restartedMain] INFO org.apache.coyote.http11.Http11NioProtocol - Starting ProtocolHandler ["http-nio-8082"]
2025-12-23 10:50:51.794 [restartedMain] INFO com.mtkj.mtkjpay.MtkjpayApplication - Started MtkjpayApplication in 0.973 seconds (process running for 132.758)
2025-12-23 10:50:51.797 [restartedMain] INFO com.mtkj.mtkjpay.MtkjpayApplication -
╔══════════════════════════════════════════════════════════╗
║ ║
║ ✅ MTKJ PAY 支付系统启动成功! ✅ ║
║ ║
╠══════════════════════════════════════════════════════════╣
║ 应用信息 ║
╠══════════════════════════════════════════════════════════╣
║ 应用名称: {:<45} ║
║ 运行环境: {:<45} ║
║ 服务端口: {:<45} ║
╠══════════════════════════════════════════════════════════╣
║ 访问地址 ║
╠══════════════════════════════════════════════════════════╣
║ 后端服务: {:<45} ║
║ API接口: {:<45} ║
║ Druid监控: {:<45} ║
╠══════════════════════════════════════════════════════════╣
║ 状态: 🟢 服务运行中,可以接收请求 ║
╚══════════════════════════════════════════════════════════╝
2025-12-23 10:50:51.797 [restartedMain] INFO com.mtkj.mtkjpay.MtkjpayApplication -
📌 提示:
- 前端代理地址: http://localhost:3000
- 后端API地址: http://localhost:8082//api
- 图片上传接口: http://localhost:8082//api/product/upload/image
- 商品管理接口: http://localhost:8082//api/product
2025-12-23 10:50:53.217 [Thread-10] INFO org.apache.coyote.http11.Http11NioProtocol - Stopping ProtocolHandler ["http-nio-8082"]
2025-12-23 10:50:53.276 [restartedMain] INFO com.mtkj.mtkjpay.MtkjpayApplication -
╔══════════════════════════════════════════════════════════╗
║ ║
║ MTKJ PAY 支付系统正在启动... ║
║ ║
╚══════════════════════════════════════════════════════════╝
2025-12-23 10:50:53.308 [restartedMain] INFO com.mtkj.mtkjpay.MtkjpayApplication - Starting MtkjpayApplication using Java 17.0.12 with PID 14420 (E:\MTKJPAY\mt-startup\target\classes started by 18969 in E:\MTKJPAY)
2025-12-23 10:50:53.308 [restartedMain] INFO com.mtkj.mtkjpay.MtkjpayApplication - The following 1 profile is active: "dev"
2025-12-23 10:50:53.683 [restartedMain] INFO org.apache.coyote.http11.Http11NioProtocol - Initializing ProtocolHandler ["http-nio-8082"]
2025-12-23 10:50:53.684 [restartedMain] INFO org.apache.catalina.core.StandardService - Starting service [Tomcat]
2025-12-23 10:50:53.684 [restartedMain] INFO org.apache.catalina.core.StandardEngine - Starting Servlet engine: [Apache Tomcat/10.1.16]
2025-12-23 10:50:53.721 [restartedMain] INFO o.a.c.core.ContainerBase.[Tomcat].[localhost].[/] - Initializing Spring embedded WebApplicationContext
2025-12-23 10:50:53.733 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - PayPal配置加载验证:
2025-12-23 10:50:53.734 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Client ID: 未配置
2025-12-23 10:50:53.734 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Client Secret: 未配置
2025-12-23 10:50:53.734 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Mode: sandbox
2025-12-23 10:50:53.734 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Enabled: true
2025-12-23 10:50:53.734 [restartedMain] WARN com.mtkj.mtpay.config.PayPalProperties - ⚠️ PayPal Client ID未配置请检查application.yml中的paypal.client-id配置
2025-12-23 10:50:53.734 [restartedMain] WARN com.mtkj.mtpay.config.PayPalProperties - ⚠️ PayPal Client Secret未配置请检查application.yml中的paypal.client-secret配置
2025-12-23 10:50:53.739 [restartedMain] INFO com.mtkj.mtpay.config.MyBatisPlusConfig - 初始化MyBatis-Plus分页插件数据库类型: MYSQL
2025-12-23 10:50:53.739 [restartedMain] INFO com.mtkj.mtpay.config.MyBatisPlusConfig - MyBatis-Plus分页插件配置完成
2025-12-23 10:50:53.742 [restartedMain] INFO com.mtkj.mtpay.config.DruidDataSourceConfig - 初始化Druid主数据源
2025-12-23 10:50:53.742 [restartedMain] INFO com.mtkj.mtpay.config.DruidDataSourceConfig - 配置属性 - URL: jdbc:mysql://rm-j6c3u06k2afwn8hxw6o.mysql.rds.aliyuncs.com:3306/mtpay?useUnicode=true&characterEncoding=utf-8&useSSL=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai, Username: mtkj2025
2025-12-23 10:50:53.742 [restartedMain] INFO com.mtkj.mtpay.config.DruidDataSourceConfig - Druid主数据源配置完成URL: jdbc:mysql://rm-j6c3u06k2afwn8hxw6o.mysql.rds.aliyuncs.com:3306/mtpay?useUnicode=true&characterEncoding=utf-8&useSSL=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai
2025-12-23 10:50:54.034 [restartedMain] INFO com.mtkj.mtpay.config.RestClientConfig - 初始化RestClient配置JSON消息转换器
2025-12-23 10:50:54.038 [restartedMain] INFO com.mtkj.mtpay.config.RestClientConfig - RestClient配置完成
2025-12-23 10:50:54.093 [restartedMain] INFO com.mtkj.mtpay.config.WebConfig - 配置跨域访问,路径: /api/**, 允许所有来源
2025-12-23 10:50:54.093 [restartedMain] INFO com.mtkj.mtpay.config.WebConfig - 跨域配置完成
2025-12-23 10:50:54.161 [restartedMain] INFO org.apache.coyote.http11.Http11NioProtocol - Starting ProtocolHandler ["http-nio-8082"]
2025-12-23 10:50:54.167 [restartedMain] INFO com.mtkj.mtkjpay.MtkjpayApplication - Started MtkjpayApplication in 0.887 seconds (process running for 135.132)
2025-12-23 10:50:54.169 [restartedMain] INFO com.mtkj.mtkjpay.MtkjpayApplication -
╔══════════════════════════════════════════════════════════╗
║ ║
║ ✅ MTKJ PAY 支付系统启动成功! ✅ ║
║ ║
╠══════════════════════════════════════════════════════════╣
║ 应用信息 ║
╠══════════════════════════════════════════════════════════╣
║ 应用名称: {:<45} ║
║ 运行环境: {:<45} ║
║ 服务端口: {:<45} ║
╠══════════════════════════════════════════════════════════╣
║ 访问地址 ║
╠══════════════════════════════════════════════════════════╣
║ 后端服务: {:<45} ║
║ API接口: {:<45} ║
║ Druid监控: {:<45} ║
╠══════════════════════════════════════════════════════════╣
║ 状态: 🟢 服务运行中,可以接收请求 ║
╚══════════════════════════════════════════════════════════╝
2025-12-23 10:50:54.169 [restartedMain] INFO com.mtkj.mtkjpay.MtkjpayApplication -
📌 提示:
- 前端代理地址: http://localhost:3000
- 后端API地址: http://localhost:8082//api
- 图片上传接口: http://localhost:8082//api/product/upload/image
- 商品管理接口: http://localhost:8082//api/product
2025-12-23 10:52:30.185 [Thread-17] INFO org.apache.coyote.http11.Http11NioProtocol - Stopping ProtocolHandler ["http-nio-8082"]
2025-12-23 10:52:30.238 [restartedMain] INFO com.mtkj.mtkjpay.MtkjpayApplication -
╔══════════════════════════════════════════════════════════╗
║ ║
║ MTKJ PAY 支付系统正在启动... ║
║ ║
╚══════════════════════════════════════════════════════════╝
2025-12-23 10:52:30.268 [restartedMain] INFO com.mtkj.mtkjpay.MtkjpayApplication - Starting MtkjpayApplication using Java 17.0.12 with PID 14420 (E:\MTKJPAY\mt-startup\target\classes started by 18969 in E:\MTKJPAY)
2025-12-23 10:52:30.268 [restartedMain] INFO com.mtkj.mtkjpay.MtkjpayApplication - The following 1 profile is active: "dev"
2025-12-23 10:52:30.548 [restartedMain] INFO org.apache.coyote.http11.Http11NioProtocol - Initializing ProtocolHandler ["http-nio-8082"]
2025-12-23 10:52:30.548 [restartedMain] INFO org.apache.catalina.core.StandardService - Starting service [Tomcat]
2025-12-23 10:52:30.548 [restartedMain] INFO org.apache.catalina.core.StandardEngine - Starting Servlet engine: [Apache Tomcat/10.1.16]
2025-12-23 10:52:30.563 [restartedMain] INFO o.a.c.core.ContainerBase.[Tomcat].[localhost].[/] - Initializing Spring embedded WebApplicationContext
2025-12-23 10:52:30.572 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - PayPal配置加载验证:
2025-12-23 10:52:30.572 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Client ID: 未配置
2025-12-23 10:52:30.572 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Client Secret: 未配置
2025-12-23 10:52:30.572 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Mode: sandbox
2025-12-23 10:52:30.572 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Enabled: true
2025-12-23 10:52:30.572 [restartedMain] WARN com.mtkj.mtpay.config.PayPalProperties - ⚠️ PayPal Client ID未配置请检查application.yml中的paypal.client-id配置
2025-12-23 10:52:30.572 [restartedMain] WARN com.mtkj.mtpay.config.PayPalProperties - ⚠️ PayPal Client Secret未配置请检查application.yml中的paypal.client-secret配置
2025-12-23 10:52:30.578 [restartedMain] INFO com.mtkj.mtpay.config.MyBatisPlusConfig - 初始化MyBatis-Plus分页插件数据库类型: MYSQL
2025-12-23 10:52:30.578 [restartedMain] INFO com.mtkj.mtpay.config.MyBatisPlusConfig - MyBatis-Plus分页插件配置完成
2025-12-23 10:52:30.580 [restartedMain] INFO com.mtkj.mtpay.config.DruidDataSourceConfig - 初始化Druid主数据源
2025-12-23 10:52:30.580 [restartedMain] INFO com.mtkj.mtpay.config.DruidDataSourceConfig - 配置属性 - URL: jdbc:mysql://rm-j6c3u06k2afwn8hxw6o.mysql.rds.aliyuncs.com:3306/mtpay?useUnicode=true&characterEncoding=utf-8&useSSL=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai, Username: mtkj2025
2025-12-23 10:52:30.580 [restartedMain] INFO com.mtkj.mtpay.config.DruidDataSourceConfig - Druid主数据源配置完成URL: jdbc:mysql://rm-j6c3u06k2afwn8hxw6o.mysql.rds.aliyuncs.com:3306/mtpay?useUnicode=true&characterEncoding=utf-8&useSSL=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai
2025-12-23 10:52:30.814 [restartedMain] INFO com.mtkj.mtpay.config.RestClientConfig - 初始化RestClient配置JSON消息转换器
2025-12-23 10:52:30.816 [restartedMain] INFO com.mtkj.mtpay.config.RestClientConfig - RestClient配置完成
2025-12-23 10:52:30.859 [restartedMain] INFO com.mtkj.mtpay.config.WebConfig - 配置跨域访问,路径: /api/**, 允许所有来源
2025-12-23 10:52:30.859 [restartedMain] INFO com.mtkj.mtpay.config.WebConfig - 跨域配置完成
2025-12-23 10:52:30.911 [restartedMain] INFO org.apache.coyote.http11.Http11NioProtocol - Starting ProtocolHandler ["http-nio-8082"]
2025-12-23 10:52:30.917 [restartedMain] INFO com.mtkj.mtkjpay.MtkjpayApplication - Started MtkjpayApplication in 0.676 seconds (process running for 231.882)
2025-12-23 10:52:30.919 [restartedMain] INFO com.mtkj.mtkjpay.MtkjpayApplication -
╔══════════════════════════════════════════════════════════╗
║ ║
║ ✅ MTKJ PAY 支付系统启动成功! ✅ ║
║ ║
╠══════════════════════════════════════════════════════════╣
║ 应用信息 ║
╠══════════════════════════════════════════════════════════╣
║ 应用名称: {:<45} ║
║ 运行环境: {:<45} ║
║ 服务端口: {:<45} ║
╠══════════════════════════════════════════════════════════╣
║ 访问地址 ║
╠══════════════════════════════════════════════════════════╣
║ 后端服务: {:<45} ║
║ API接口: {:<45} ║
║ Druid监控: {:<45} ║
╠══════════════════════════════════════════════════════════╣
║ 状态: 🟢 服务运行中,可以接收请求 ║
╚══════════════════════════════════════════════════════════╝
2025-12-23 10:52:30.919 [restartedMain] INFO com.mtkj.mtkjpay.MtkjpayApplication -
📌 提示:
- 前端代理地址: http://localhost:3000
- 后端API地址: http://localhost:8082//api
- 图片上传接口: http://localhost:8082//api/product/upload/image
- 商品管理接口: http://localhost:8082//api/product
2025-12-23 10:52:35.435 [Thread-24] INFO org.apache.coyote.http11.Http11NioProtocol - Stopping ProtocolHandler ["http-nio-8082"]
2025-12-23 10:52:35.490 [restartedMain] INFO com.mtkj.mtkjpay.MtkjpayApplication -
╔══════════════════════════════════════════════════════════╗
║ ║
║ MTKJ PAY 支付系统正在启动... ║
║ ║
╚══════════════════════════════════════════════════════════╝
2025-12-23 10:52:35.520 [restartedMain] INFO com.mtkj.mtkjpay.MtkjpayApplication - Starting MtkjpayApplication using Java 17.0.12 with PID 14420 (E:\MTKJPAY\mt-startup\target\classes started by 18969 in E:\MTKJPAY)
2025-12-23 10:52:35.520 [restartedMain] INFO com.mtkj.mtkjpay.MtkjpayApplication - The following 1 profile is active: "dev"
2025-12-23 10:52:35.820 [restartedMain] INFO org.apache.coyote.http11.Http11NioProtocol - Initializing ProtocolHandler ["http-nio-8082"]
2025-12-23 10:52:35.820 [restartedMain] INFO org.apache.catalina.core.StandardService - Starting service [Tomcat]
2025-12-23 10:52:35.820 [restartedMain] INFO org.apache.catalina.core.StandardEngine - Starting Servlet engine: [Apache Tomcat/10.1.16]
2025-12-23 10:52:35.835 [restartedMain] INFO o.a.c.core.ContainerBase.[Tomcat].[localhost].[/] - Initializing Spring embedded WebApplicationContext
2025-12-23 10:52:35.846 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - PayPal配置加载验证:
2025-12-23 10:52:35.846 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Client ID: 未配置
2025-12-23 10:52:35.846 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Client Secret: 未配置
2025-12-23 10:52:35.846 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Mode: sandbox
2025-12-23 10:52:35.846 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Enabled: true
2025-12-23 10:52:35.846 [restartedMain] WARN com.mtkj.mtpay.config.PayPalProperties - ⚠️ PayPal Client ID未配置请检查application.yml中的paypal.client-id配置
2025-12-23 10:52:35.846 [restartedMain] WARN com.mtkj.mtpay.config.PayPalProperties - ⚠️ PayPal Client Secret未配置请检查application.yml中的paypal.client-secret配置
2025-12-23 10:52:35.853 [restartedMain] INFO com.mtkj.mtpay.config.MyBatisPlusConfig - 初始化MyBatis-Plus分页插件数据库类型: MYSQL
2025-12-23 10:52:35.853 [restartedMain] INFO com.mtkj.mtpay.config.MyBatisPlusConfig - MyBatis-Plus分页插件配置完成
2025-12-23 10:52:35.855 [restartedMain] INFO com.mtkj.mtpay.config.DruidDataSourceConfig - 初始化Druid主数据源
2025-12-23 10:52:35.855 [restartedMain] INFO com.mtkj.mtpay.config.DruidDataSourceConfig - 配置属性 - URL: jdbc:mysql://rm-j6c3u06k2afwn8hxw6o.mysql.rds.aliyuncs.com:3306/mtpay?useUnicode=true&characterEncoding=utf-8&useSSL=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai, Username: mtkj2025
2025-12-23 10:52:35.855 [restartedMain] INFO com.mtkj.mtpay.config.DruidDataSourceConfig - Druid主数据源配置完成URL: jdbc:mysql://rm-j6c3u06k2afwn8hxw6o.mysql.rds.aliyuncs.com:3306/mtpay?useUnicode=true&characterEncoding=utf-8&useSSL=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai
2025-12-23 10:52:36.100 [restartedMain] INFO com.mtkj.mtpay.config.RestClientConfig - 初始化RestClient配置JSON消息转换器
2025-12-23 10:52:36.102 [restartedMain] INFO com.mtkj.mtpay.config.RestClientConfig - RestClient配置完成
2025-12-23 10:52:36.149 [restartedMain] INFO com.mtkj.mtpay.config.WebConfig - 配置跨域访问,路径: /api/**, 允许所有来源
2025-12-23 10:52:36.149 [restartedMain] INFO com.mtkj.mtpay.config.WebConfig - 跨域配置完成
2025-12-23 10:52:36.213 [restartedMain] INFO org.apache.coyote.http11.Http11NioProtocol - Starting ProtocolHandler ["http-nio-8082"]
2025-12-23 10:52:36.219 [restartedMain] INFO com.mtkj.mtkjpay.MtkjpayApplication - Started MtkjpayApplication in 0.725 seconds (process running for 237.184)
2025-12-23 10:52:36.220 [restartedMain] INFO com.mtkj.mtkjpay.MtkjpayApplication -
╔══════════════════════════════════════════════════════════╗
║ ║
║ ✅ MTKJ PAY 支付系统启动成功! ✅ ║
║ ║
╠══════════════════════════════════════════════════════════╣
║ 应用信息 ║
╠══════════════════════════════════════════════════════════╣
║ 应用名称: {:<45} ║
║ 运行环境: {:<45} ║
║ 服务端口: {:<45} ║
╠══════════════════════════════════════════════════════════╣
║ 访问地址 ║
╠══════════════════════════════════════════════════════════╣
║ 后端服务: {:<45} ║
║ API接口: {:<45} ║
║ Druid监控: {:<45} ║
╠══════════════════════════════════════════════════════════╣
║ 状态: 🟢 服务运行中,可以接收请求 ║
╚══════════════════════════════════════════════════════════╝
2025-12-23 10:52:36.220 [restartedMain] INFO com.mtkj.mtkjpay.MtkjpayApplication -
📌 提示:
- 前端代理地址: http://localhost:3000
- 后端API地址: http://localhost:8082//api
- 图片上传接口: http://localhost:8082//api/product/upload/image
- 商品管理接口: http://localhost:8082//api/product
2025-12-23 10:53:00.558 [background-preinit] INFO org.hibernate.validator.internal.util.Version - HV000001: Hibernate Validator 8.0.1.Final
2025-12-23 10:53:00.608 [restartedMain] INFO com.mtkj.mtkjpay.MtkjpayApplication - Starting MtkjpayApplication using Java 17.0.12 with PID 13320 (E:\MTKJPAY\mt-startup\target\classes started by 18969 in E:\MTKJPAY)
2025-12-23 10:53:00.609 [restartedMain] INFO com.mtkj.mtkjpay.MtkjpayApplication - The following 1 profile is active: "dev"
2025-12-23 10:53:02.184 [restartedMain] INFO org.apache.coyote.http11.Http11NioProtocol - Initializing ProtocolHandler ["http-nio-8082"]
2025-12-23 10:53:02.185 [restartedMain] INFO org.apache.catalina.core.StandardService - Starting service [Tomcat]
2025-12-23 10:53:02.186 [restartedMain] INFO org.apache.catalina.core.StandardEngine - Starting Servlet engine: [Apache Tomcat/10.1.16]
2025-12-23 10:53:02.241 [restartedMain] INFO o.a.c.core.ContainerBase.[Tomcat].[localhost].[/] - Initializing Spring embedded WebApplicationContext
2025-12-23 10:53:02.300 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - PayPal配置加载验证:
2025-12-23 10:53:02.300 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Client ID: 未配置
2025-12-23 10:53:02.300 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Client Secret: 未配置
2025-12-23 10:53:02.300 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Mode: sandbox
2025-12-23 10:53:02.300 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Enabled: true
2025-12-23 10:53:02.300 [restartedMain] WARN com.mtkj.mtpay.config.PayPalProperties - ⚠️ PayPal Client ID未配置请检查application.yml中的paypal.client-id配置
2025-12-23 10:53:02.300 [restartedMain] WARN com.mtkj.mtpay.config.PayPalProperties - ⚠️ PayPal Client Secret未配置请检查application.yml中的paypal.client-secret配置
2025-12-23 10:53:02.316 [restartedMain] INFO com.mtkj.mtpay.config.MyBatisPlusConfig - 初始化MyBatis-Plus分页插件数据库类型: MYSQL
2025-12-23 10:53:02.320 [restartedMain] INFO com.mtkj.mtpay.config.MyBatisPlusConfig - MyBatis-Plus分页插件配置完成
2025-12-23 10:53:02.324 [restartedMain] INFO com.mtkj.mtpay.config.DruidDataSourceConfig - 初始化Druid主数据源
2025-12-23 10:53:02.324 [restartedMain] INFO com.mtkj.mtpay.config.DruidDataSourceConfig - 配置属性 - URL: jdbc:mysql://rm-j6c3u06k2afwn8hxw6o.mysql.rds.aliyuncs.com:3306/mtpay?useUnicode=true&characterEncoding=utf-8&useSSL=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai, Username: mtkj2025
2025-12-23 10:53:02.345 [restartedMain] INFO com.mtkj.mtpay.config.DruidDataSourceConfig - Druid主数据源配置完成URL: jdbc:mysql://rm-j6c3u06k2afwn8hxw6o.mysql.rds.aliyuncs.com:3306/mtpay?useUnicode=true&characterEncoding=utf-8&useSSL=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai
2025-12-23 10:53:02.810 [restartedMain] INFO com.mtkj.mtpay.config.RestClientConfig - 初始化RestClient配置JSON消息转换器
2025-12-23 10:53:02.940 [restartedMain] INFO com.mtkj.mtpay.config.RestClientConfig - RestClient配置完成
2025-12-23 10:53:03.031 [restartedMain] INFO com.mtkj.mtpay.config.WebConfig - 配置跨域访问,路径: /api/**, 允许所有来源
2025-12-23 10:53:03.033 [restartedMain] INFO com.mtkj.mtpay.config.WebConfig - 跨域配置完成
2025-12-23 10:53:03.303 [restartedMain] INFO org.apache.coyote.http11.Http11NioProtocol - Starting ProtocolHandler ["http-nio-8082"]
2025-12-23 10:53:03.320 [restartedMain] INFO com.mtkj.mtkjpay.MtkjpayApplication - Started MtkjpayApplication in 3.315 seconds (process running for 4.164)
2025-12-23 10:53:03.322 [restartedMain] INFO com.mtkj.mtkjpay.MtkjpayApplication -
╔══════════════════════════════════════════════════════════╗
║ ║
║ ✅ MTKJ PAY 支付系统启动成功! ✅ ║
║ ║
╠══════════════════════════════════════════════════════════╣
║ 应用信息 ║
╠══════════════════════════════════════════════════════════╣
║ 应用名称: {:<45} ║
║ 运行环境: {:<45} ║
║ 服务端口: {:<45} ║
╠══════════════════════════════════════════════════════════╣
║ 访问地址 ║
╠══════════════════════════════════════════════════════════╣
║ 后端服务: {:<45} ║
║ API接口: {:<45} ║
║ Druid监控: {:<45} ║
╠══════════════════════════════════════════════════════════╣
║ 状态: 🟢 服务运行中,可以接收请求 ║
╚══════════════════════════════════════════════════════════╝
2025-12-23 10:53:03.322 [restartedMain] INFO com.mtkj.mtkjpay.MtkjpayApplication -
📌 提示:
- 前端代理地址: http://localhost:3000
- 后端API地址: http://localhost:8082//api
- 图片上传接口: http://localhost:8082//api/product/upload/image
- 商品管理接口: http://localhost:8082//api/product
2025-12-23 10:53:03.324 [main] ERROR com.mtkj.mtkjpay.MtkjpayApplication -
╔══════════════════════════════════════════════════════════╗
║ ║
║ ❌ MTKJ PAY 支付系统启动失败! ❌ ║
║ ║
╚══════════════════════════════════════════════════════════╝
org.springframework.boot.devtools.restart.SilentExitExceptionHandler$SilentExitException: null
at org.springframework.boot.devtools.restart.SilentExitExceptionHandler.exitCurrentThread(SilentExitExceptionHandler.java:92)
at org.springframework.boot.devtools.restart.Restarter.immediateRestart(Restarter.java:179)
at org.springframework.boot.devtools.restart.Restarter.initialize(Restarter.java:163)
at org.springframework.boot.devtools.restart.Restarter.initialize(Restarter.java:532)
at org.springframework.boot.devtools.restart.RestartApplicationListener.onApplicationStartingEvent(RestartApplicationListener.java:98)
at org.springframework.boot.devtools.restart.RestartApplicationListener.onApplicationEvent(RestartApplicationListener.java:51)
at org.springframework.context.event.SimpleApplicationEventMulticaster.doInvokeListener(SimpleApplicationEventMulticaster.java:178)
at org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:171)
at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:149)
at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:137)
at org.springframework.boot.context.event.EventPublishingRunListener.multicastInitialEvent(EventPublishingRunListener.java:136)
at org.springframework.boot.context.event.EventPublishingRunListener.starting(EventPublishingRunListener.java:75)
at org.springframework.boot.SpringApplicationRunListeners.lambda$starting$0(SpringApplicationRunListeners.java:54)
at java.base/java.lang.Iterable.forEach(Iterable.java:75)
at org.springframework.boot.SpringApplicationRunListeners.doWithListeners(SpringApplicationRunListeners.java:118)
at org.springframework.boot.SpringApplicationRunListeners.starting(SpringApplicationRunListeners.java:54)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:315)
at com.mtkj.mtkjpay.MtkjpayApplication.main(MtkjpayApplication.java:33)
2025-12-23 10:53:53.723 [http-nio-8082-exec-1] INFO o.a.c.core.ContainerBase.[Tomcat].[localhost].[/] - Initializing Spring DispatcherServlet 'dispatcherServlet'
2025-12-23 10:53:53.910 [http-nio-8082-exec-1] INFO com.mtkj.mtpay.controller.PayPalController - 创建PayPal订单请求CreatePayPalOrderRequestDTO(intent=CAPTURE, referenceId=MTN17664579642691703, amount=13.31, currencyCode=MYR, itemName=名创优品毛巾女2025新款洗澡男士浴巾比全棉100纯棉吸水干发成人, itemDescription=【✅性价比首选】米白色+浅水蓝+天空灰【⭐毛巾实惠3条装】, itemSku=【✅性价比首选】米白色+浅水蓝+天空灰【⭐毛巾实惠3条装】, itemQuantity=1, itemUnitAmount=13.31, returnUrl=http://localhost:3000/paypal/success?orderNo=MTN17664579642691703, cancelUrl=http://localhost:3000/paypal/cancel?orderNo=MTN17664579642691703, shippingName=邱斌, shippingAddressLine1=丽水市莲都区万象街道晶都步行街阿姨奶茶隔壁潮童馆, shippingAddressLine2=null, shippingCity=丽水市, shippingState=浙江省, shippingPostalCode=323000, shippingCountryCode=CN, emailAddress=18969599531@163.com)
2025-12-23 10:53:53.918 [http-nio-8082-exec-1] INFO com.mtkj.mtpay.service.impl.PayPalServiceImpl - 创建PayPal订单ERP订单号: MTN17664579642691703
2025-12-23 10:53:53.918 [http-nio-8082-exec-1] INFO com.mtkj.mtpay.service.impl.PayPalServiceImpl - 获取PayPal访问令牌
2025-12-23 10:53:53.918 [http-nio-8082-exec-1] ERROR com.mtkj.mtpay.service.impl.PayPalServiceImpl - PayPal Client ID未配置请检查application.yml中的paypal.client-id配置
2025-12-23 10:53:53.920 [http-nio-8082-exec-1] WARN com.mtkj.mtpay.exception.GlobalExceptionHandler - 业务异常: PayPal Client ID未配置
2025-12-23 10:53:53.956 [http-nio-8082-exec-1] WARN o.s.w.s.m.m.a.ExceptionHandlerExceptionResolver - Resolved [com.mtkj.mtpay.exception.BusinessException: PayPal Client ID未配置]
2025-12-23 11:01:24.054 [background-preinit] INFO org.hibernate.validator.internal.util.Version - HV000001: Hibernate Validator 8.0.1.Final
2025-12-23 11:01:24.098 [restartedMain] INFO com.mtkj.mtkjpay.MtkjpayApplication - Starting MtkjpayApplication using Java 17.0.12 with PID 2216 (E:\MTKJPAY\mt-startup\target\classes started by 18969 in E:\MTKJPAY)
2025-12-23 11:01:24.099 [restartedMain] INFO com.mtkj.mtkjpay.MtkjpayApplication - The following 1 profile is active: "dev"
2025-12-23 11:01:25.283 [restartedMain] INFO org.apache.coyote.http11.Http11NioProtocol - Initializing ProtocolHandler ["http-nio-8082"]
2025-12-23 11:01:25.285 [restartedMain] INFO org.apache.catalina.core.StandardService - Starting service [Tomcat]
2025-12-23 11:01:25.285 [restartedMain] INFO org.apache.catalina.core.StandardEngine - Starting Servlet engine: [Apache Tomcat/10.1.16]
2025-12-23 11:01:25.342 [restartedMain] INFO o.a.c.core.ContainerBase.[Tomcat].[localhost].[/] - Initializing Spring embedded WebApplicationContext
2025-12-23 11:01:25.394 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - PayPal配置加载验证:
2025-12-23 11:01:25.395 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Client ID: 未配置
2025-12-23 11:01:25.395 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Client Secret: 未配置
2025-12-23 11:01:25.395 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Mode: sandbox
2025-12-23 11:01:25.395 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Enabled: true
2025-12-23 11:01:25.395 [restartedMain] WARN com.mtkj.mtpay.config.PayPalProperties - ⚠️ PayPal Client ID未配置请检查application.yml中的paypal.client-id配置
2025-12-23 11:01:25.395 [restartedMain] WARN com.mtkj.mtpay.config.PayPalProperties - ⚠️ PayPal Client Secret未配置请检查application.yml中的paypal.client-secret配置
2025-12-23 11:01:25.409 [restartedMain] INFO com.mtkj.mtpay.config.MyBatisPlusConfig - 初始化MyBatis-Plus分页插件数据库类型: MYSQL
2025-12-23 11:01:25.412 [restartedMain] INFO com.mtkj.mtpay.config.MyBatisPlusConfig - MyBatis-Plus分页插件配置完成
2025-12-23 11:01:25.416 [restartedMain] INFO com.mtkj.mtpay.config.DruidDataSourceConfig - 初始化Druid主数据源
2025-12-23 11:01:25.416 [restartedMain] INFO com.mtkj.mtpay.config.DruidDataSourceConfig - 配置属性 - URL: jdbc:mysql://rm-j6c3u06k2afwn8hxw6o.mysql.rds.aliyuncs.com:3306/mtpay?useUnicode=true&characterEncoding=utf-8&useSSL=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai, Username: mtkj2025
2025-12-23 11:01:25.434 [restartedMain] INFO com.mtkj.mtpay.config.DruidDataSourceConfig - Druid主数据源配置完成URL: jdbc:mysql://rm-j6c3u06k2afwn8hxw6o.mysql.rds.aliyuncs.com:3306/mtpay?useUnicode=true&characterEncoding=utf-8&useSSL=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai
2025-12-23 11:01:25.884 [restartedMain] INFO com.mtkj.mtpay.config.RestClientConfig - 初始化RestClient配置JSON消息转换器
2025-12-23 11:01:26.031 [restartedMain] INFO com.mtkj.mtpay.config.RestClientConfig - RestClient配置完成
2025-12-23 11:01:26.141 [restartedMain] INFO com.mtkj.mtpay.config.WebConfig - 配置跨域访问,路径: /api/**, 允许所有来源
2025-12-23 11:01:26.143 [restartedMain] INFO com.mtkj.mtpay.config.WebConfig - 跨域配置完成
2025-12-23 11:01:26.402 [restartedMain] INFO org.apache.coyote.http11.Http11NioProtocol - Starting ProtocolHandler ["http-nio-8082"]
2025-12-23 11:01:26.420 [restartedMain] INFO com.mtkj.mtkjpay.MtkjpayApplication - Started MtkjpayApplication in 2.95 seconds (process running for 3.689)
2025-12-23 11:01:26.422 [restartedMain] INFO com.mtkj.mtkjpay.MtkjpayApplication -
╔══════════════════════════════════════════════════════════╗
║ ║
║ ✅ MTKJ PAY 支付系统启动成功! ✅ ║
║ ║
╠══════════════════════════════════════════════════════════╣
║ 应用信息 ║
╠══════════════════════════════════════════════════════════╣
║ 应用名称: {:<45} ║
║ 运行环境: {:<45} ║
║ 服务端口: {:<45} ║
╠══════════════════════════════════════════════════════════╣
║ 访问地址 ║
╠══════════════════════════════════════════════════════════╣
║ 后端服务: {:<45} ║
║ API接口: {:<45} ║
║ Druid监控: {:<45} ║
╠══════════════════════════════════════════════════════════╣
║ 状态: 🟢 服务运行中,可以接收请求 ║
╚══════════════════════════════════════════════════════════╝
2025-12-23 11:01:26.422 [restartedMain] INFO com.mtkj.mtkjpay.MtkjpayApplication -
📌 提示:
- 前端代理地址: http://localhost:3000
- 后端API地址: http://localhost:8082//api
- 图片上传接口: http://localhost:8082//api/product/upload/image
- 商品管理接口: http://localhost:8082//api/product
2025-12-23 11:01:26.424 [main] ERROR com.mtkj.mtkjpay.MtkjpayApplication -
╔══════════════════════════════════════════════════════════╗
║ ║
║ ❌ MTKJ PAY 支付系统启动失败! ❌ ║
║ ║
╚══════════════════════════════════════════════════════════╝
org.springframework.boot.devtools.restart.SilentExitExceptionHandler$SilentExitException: null
at org.springframework.boot.devtools.restart.SilentExitExceptionHandler.exitCurrentThread(SilentExitExceptionHandler.java:92)
at org.springframework.boot.devtools.restart.Restarter.immediateRestart(Restarter.java:179)
at org.springframework.boot.devtools.restart.Restarter.initialize(Restarter.java:163)
at org.springframework.boot.devtools.restart.Restarter.initialize(Restarter.java:532)
at org.springframework.boot.devtools.restart.RestartApplicationListener.onApplicationStartingEvent(RestartApplicationListener.java:98)
at org.springframework.boot.devtools.restart.RestartApplicationListener.onApplicationEvent(RestartApplicationListener.java:51)
at org.springframework.context.event.SimpleApplicationEventMulticaster.doInvokeListener(SimpleApplicationEventMulticaster.java:178)
at org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:171)
at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:149)
at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:137)
at org.springframework.boot.context.event.EventPublishingRunListener.multicastInitialEvent(EventPublishingRunListener.java:136)
at org.springframework.boot.context.event.EventPublishingRunListener.starting(EventPublishingRunListener.java:75)
at org.springframework.boot.SpringApplicationRunListeners.lambda$starting$0(SpringApplicationRunListeners.java:54)
at java.base/java.lang.Iterable.forEach(Iterable.java:75)
at org.springframework.boot.SpringApplicationRunListeners.doWithListeners(SpringApplicationRunListeners.java:118)
at org.springframework.boot.SpringApplicationRunListeners.starting(SpringApplicationRunListeners.java:54)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:315)
at com.mtkj.mtkjpay.MtkjpayApplication.main(MtkjpayApplication.java:33)
2025-12-23 11:01:28.653 [http-nio-8082-exec-1] INFO o.a.c.core.ContainerBase.[Tomcat].[localhost].[/] - Initializing Spring DispatcherServlet 'dispatcherServlet'
2025-12-23 11:01:28.914 [http-nio-8082-exec-1] INFO com.mtkj.mtpay.controller.PayPalController - 创建PayPal订单请求CreatePayPalOrderRequestDTO(intent=CAPTURE, referenceId=MTN17664579642691703, amount=13.31, currencyCode=MYR, itemName=名创优品毛巾女2025新款洗澡男士浴巾比全棉100纯棉吸水干发成人, itemDescription=【✅性价比首选】米白色+浅水蓝+天空灰【⭐毛巾实惠3条装】, itemSku=【✅性价比首选】米白色+浅水蓝+天空灰【⭐毛巾实惠3条装】, itemQuantity=1, itemUnitAmount=13.31, returnUrl=http://localhost:3000/paypal/success?orderNo=MTN17664579642691703, cancelUrl=http://localhost:3000/paypal/cancel?orderNo=MTN17664579642691703, shippingName=邱斌, shippingAddressLine1=丽水市莲都区万象街道晶都步行街阿姨奶茶隔壁潮童馆, shippingAddressLine2=null, shippingCity=丽水市, shippingState=浙江省, shippingPostalCode=323000, shippingCountryCode=CN, emailAddress=18969599531@163.com)
2025-12-23 11:01:28.928 [http-nio-8082-exec-1] INFO com.mtkj.mtpay.service.impl.PayPalServiceImpl - 创建PayPal订单ERP订单号: MTN17664579642691703
2025-12-23 11:01:28.929 [http-nio-8082-exec-1] INFO com.mtkj.mtpay.service.impl.PayPalServiceImpl - 获取PayPal访问令牌
2025-12-23 11:01:28.929 [http-nio-8082-exec-1] ERROR com.mtkj.mtpay.service.impl.PayPalServiceImpl - PayPal Client ID未配置请检查application.yml中的paypal.client-id配置
2025-12-23 11:01:28.934 [http-nio-8082-exec-1] WARN com.mtkj.mtpay.exception.GlobalExceptionHandler - 业务异常: PayPal Client ID未配置
2025-12-23 11:01:28.988 [http-nio-8082-exec-1] WARN o.s.w.s.m.m.a.ExceptionHandlerExceptionResolver - Resolved [com.mtkj.mtpay.exception.BusinessException: PayPal Client ID未配置]
2025-12-23 11:04:25.756 [Thread-8] INFO org.apache.coyote.http11.Http11NioProtocol - Stopping ProtocolHandler ["http-nio-8082"]
2025-12-23 11:04:25.822 [restartedMain] INFO com.mtkj.mtkjpay.MtkjpayApplication -
╔══════════════════════════════════════════════════════════╗
║ ║
║ MTKJ PAY 支付系统正在启动... ║
║ ║
╚══════════════════════════════════════════════════════════╝
2025-12-23 11:04:25.863 [restartedMain] INFO com.mtkj.mtkjpay.MtkjpayApplication - Starting MtkjpayApplication using Java 17.0.12 with PID 2216 (E:\MTKJPAY\mt-startup\target\classes started by 18969 in E:\MTKJPAY)
2025-12-23 11:04:25.863 [restartedMain] INFO com.mtkj.mtkjpay.MtkjpayApplication - The following 1 profile is active: "dev"
2025-12-23 11:04:26.224 [restartedMain] INFO org.apache.coyote.http11.Http11NioProtocol - Initializing ProtocolHandler ["http-nio-8082"]
2025-12-23 11:04:26.224 [restartedMain] INFO org.apache.catalina.core.StandardService - Starting service [Tomcat]
2025-12-23 11:04:26.224 [restartedMain] INFO org.apache.catalina.core.StandardEngine - Starting Servlet engine: [Apache Tomcat/10.1.16]
2025-12-23 11:04:26.241 [restartedMain] INFO o.a.c.core.ContainerBase.[Tomcat].[localhost].[/] - Initializing Spring embedded WebApplicationContext
2025-12-23 11:04:26.261 [restartedMain] INFO com.mtkj.mtpay.config.MyBatisPlusConfig - 初始化MyBatis-Plus分页插件数据库类型: MYSQL
2025-12-23 11:04:26.261 [restartedMain] INFO com.mtkj.mtpay.config.MyBatisPlusConfig - MyBatis-Plus分页插件配置完成
2025-12-23 11:04:26.267 [restartedMain] INFO com.mtkj.mtpay.config.DruidDataSourceConfig - 初始化Druid主数据源
2025-12-23 11:04:26.267 [restartedMain] INFO com.mtkj.mtpay.config.DruidDataSourceConfig - 配置属性 - URL: jdbc:mysql://rm-j6c3u06k2afwn8hxw6o.mysql.rds.aliyuncs.com:3306/mtpay?useUnicode=true&characterEncoding=utf-8&useSSL=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai, Username: mtkj2025
2025-12-23 11:04:26.267 [restartedMain] INFO com.mtkj.mtpay.config.DruidDataSourceConfig - Druid主数据源配置完成URL: jdbc:mysql://rm-j6c3u06k2afwn8hxw6o.mysql.rds.aliyuncs.com:3306/mtpay?useUnicode=true&characterEncoding=utf-8&useSSL=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai
2025-12-23 11:04:26.625 [restartedMain] INFO com.mtkj.mtpay.config.RestClientConfig - 初始化RestClient配置JSON消息转换器
2025-12-23 11:04:26.630 [restartedMain] INFO com.mtkj.mtpay.config.RestClientConfig - RestClient配置完成
2025-12-23 11:04:26.641 [restartedMain] WARN o.s.b.w.s.c.AnnotationConfigServletWebServerApplicationContext - Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'payPalController' defined in file [E:\MTKJPAY\mt-pay\target\classes\com\mtkj\mtpay\controller\PayPalController.class]: Unsatisfied dependency expressed through constructor parameter 0: No qualifying bean of type 'com.mtkj.mtpay.service.PayPalService' available: expected at least 1 bean which qualifies as autowire candidate. Dependency annotations: {}
2025-12-23 11:04:26.641 [restartedMain] INFO org.apache.catalina.core.StandardService - Stopping service [Tomcat]
2025-12-23 11:04:26.683 [restartedMain] ERROR o.s.b.diagnostics.LoggingFailureAnalysisReporter -
***************************
APPLICATION FAILED TO START
***************************
Description:
Parameter 0 of constructor in com.mtkj.mtpay.controller.PayPalController required a bean of type 'com.mtkj.mtpay.service.PayPalService' that could not be found.
Action:
Consider defining a bean of type 'com.mtkj.mtpay.service.PayPalService' in your configuration.
2025-12-23 11:04:26.684 [restartedMain] ERROR com.mtkj.mtkjpay.MtkjpayApplication -
╔══════════════════════════════════════════════════════════╗
║ ║
║ ❌ MTKJ PAY 支付系统启动失败! ❌ ║
║ ║
╚══════════════════════════════════════════════════════════╝
org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'payPalController' defined in file [E:\MTKJPAY\mt-pay\target\classes\com\mtkj\mtpay\controller\PayPalController.class]: Unsatisfied dependency expressed through constructor parameter 0: No qualifying bean of type 'com.mtkj.mtpay.service.PayPalService' available: expected at least 1 bean which qualifies as autowire candidate. Dependency annotations: {}
at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:802)
at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:241)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1356)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1193)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:563)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:523)
at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:325)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:323)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:973)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:946)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:616)
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:146)
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:753)
at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:455)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:323)
at com.mtkj.mtkjpay.MtkjpayApplication.main(MtkjpayApplication.java:33)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at org.springframework.boot.devtools.restart.RestartLauncher.run(RestartLauncher.java:50)
Caused by: org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type 'com.mtkj.mtpay.service.PayPalService' available: expected at least 1 bean which qualifies as autowire candidate. Dependency annotations: {}
at org.springframework.beans.factory.support.DefaultListableBeanFactory.raiseNoMatchingBeanFound(DefaultListableBeanFactory.java:1878)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1404)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1348)
at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:911)
at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:789)
... 22 common frames omitted
2025-12-23 11:04:28.138 [restartedMain] INFO com.mtkj.mtkjpay.MtkjpayApplication -
╔══════════════════════════════════════════════════════════╗
║ ║
║ MTKJ PAY 支付系统正在启动... ║
║ ║
╚══════════════════════════════════════════════════════════╝
2025-12-23 11:04:28.172 [restartedMain] INFO com.mtkj.mtkjpay.MtkjpayApplication - Starting MtkjpayApplication using Java 17.0.12 with PID 2216 (E:\MTKJPAY\mt-startup\target\classes started by 18969 in E:\MTKJPAY)
2025-12-23 11:04:28.173 [restartedMain] INFO com.mtkj.mtkjpay.MtkjpayApplication - The following 1 profile is active: "dev"
2025-12-23 11:04:28.449 [restartedMain] INFO org.apache.coyote.http11.Http11NioProtocol - Initializing ProtocolHandler ["http-nio-8082"]
2025-12-23 11:04:28.450 [restartedMain] INFO org.apache.catalina.core.StandardService - Starting service [Tomcat]
2025-12-23 11:04:28.450 [restartedMain] INFO org.apache.catalina.core.StandardEngine - Starting Servlet engine: [Apache Tomcat/10.1.16]
2025-12-23 11:04:28.465 [restartedMain] INFO o.a.c.c.ContainerBase.[Tomcat-1].[localhost].[/] - Initializing Spring embedded WebApplicationContext
2025-12-23 11:04:28.473 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - ═══════════════════════════════════════════════════════════
2025-12-23 11:04:28.473 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - PayPal配置加载验证:
2025-12-23 11:04:28.473 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Client ID: ❌ 未配置
2025-12-23 11:04:28.473 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Client Secret: ❌ 未配置
2025-12-23 11:04:28.473 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Mode: sandbox
2025-12-23 11:04:28.473 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Enabled: true
2025-12-23 11:04:28.473 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Base URL: https://api-m.sandbox.paypal.com
2025-12-23 11:04:28.473 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - ═══════════════════════════════════════════════════════════
2025-12-23 11:04:28.473 [restartedMain] ERROR com.mtkj.mtpay.config.PayPalProperties - ❌ PayPal Client ID未配置请检查application-dev.yml中的paypal.client-id配置
2025-12-23 11:04:28.473 [restartedMain] ERROR com.mtkj.mtpay.config.PayPalProperties - 当前配置值: clientId = null
2025-12-23 11:04:28.474 [restartedMain] ERROR com.mtkj.mtpay.config.PayPalProperties - ❌ PayPal Client Secret未配置请检查application-dev.yml中的paypal.client-secret配置
2025-12-23 11:04:28.474 [restartedMain] ERROR com.mtkj.mtpay.config.PayPalProperties - 当前配置值: clientSecret = null
2025-12-23 11:04:28.480 [restartedMain] INFO com.mtkj.mtpay.config.MyBatisPlusConfig - 初始化MyBatis-Plus分页插件数据库类型: MYSQL
2025-12-23 11:04:28.480 [restartedMain] INFO com.mtkj.mtpay.config.MyBatisPlusConfig - MyBatis-Plus分页插件配置完成
2025-12-23 11:04:28.482 [restartedMain] INFO com.mtkj.mtpay.config.DruidDataSourceConfig - 初始化Druid主数据源
2025-12-23 11:04:28.482 [restartedMain] INFO com.mtkj.mtpay.config.DruidDataSourceConfig - 配置属性 - URL: jdbc:mysql://rm-j6c3u06k2afwn8hxw6o.mysql.rds.aliyuncs.com:3306/mtpay?useUnicode=true&characterEncoding=utf-8&useSSL=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai, Username: mtkj2025
2025-12-23 11:04:28.482 [restartedMain] INFO com.mtkj.mtpay.config.DruidDataSourceConfig - Druid主数据源配置完成URL: jdbc:mysql://rm-j6c3u06k2afwn8hxw6o.mysql.rds.aliyuncs.com:3306/mtpay?useUnicode=true&characterEncoding=utf-8&useSSL=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai
2025-12-23 11:04:28.714 [restartedMain] INFO com.mtkj.mtpay.config.RestClientConfig - 初始化RestClient配置JSON消息转换器
2025-12-23 11:04:28.716 [restartedMain] INFO com.mtkj.mtpay.config.RestClientConfig - RestClient配置完成
2025-12-23 11:04:28.747 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - ═══════════════════════════════════════════════════════════
2025-12-23 11:04:28.747 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - PayPal配置加载验证:
2025-12-23 11:04:28.747 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Client ID: ❌ 未配置
2025-12-23 11:04:28.747 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Client Secret: ❌ 未配置
2025-12-23 11:04:28.747 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Mode: sandbox
2025-12-23 11:04:28.747 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Enabled: true
2025-12-23 11:04:28.747 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Base URL: https://api-m.sandbox.paypal.com
2025-12-23 11:04:28.747 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - ═══════════════════════════════════════════════════════════
2025-12-23 11:04:28.747 [restartedMain] ERROR com.mtkj.mtpay.config.PayPalProperties - ❌ PayPal Client ID未配置请检查application-dev.yml中的paypal.client-id配置
2025-12-23 11:04:28.747 [restartedMain] ERROR com.mtkj.mtpay.config.PayPalProperties - 当前配置值: clientId = null
2025-12-23 11:04:28.747 [restartedMain] ERROR com.mtkj.mtpay.config.PayPalProperties - ❌ PayPal Client Secret未配置请检查application-dev.yml中的paypal.client-secret配置
2025-12-23 11:04:28.747 [restartedMain] ERROR com.mtkj.mtpay.config.PayPalProperties - 当前配置值: clientSecret = null
2025-12-23 11:04:28.765 [restartedMain] INFO com.mtkj.mtpay.config.WebConfig - 配置跨域访问,路径: /api/**, 允许所有来源
2025-12-23 11:04:28.765 [restartedMain] INFO com.mtkj.mtpay.config.WebConfig - 跨域配置完成
2025-12-23 11:04:28.822 [restartedMain] INFO org.apache.coyote.http11.Http11NioProtocol - Starting ProtocolHandler ["http-nio-8082"]
2025-12-23 11:04:28.829 [restartedMain] INFO com.mtkj.mtkjpay.MtkjpayApplication - Started MtkjpayApplication in 0.688 seconds (process running for 186.098)
2025-12-23 11:04:28.830 [restartedMain] INFO com.mtkj.mtkjpay.MtkjpayApplication -
╔══════════════════════════════════════════════════════════╗
║ ║
║ ✅ MTKJ PAY 支付系统启动成功! ✅ ║
║ ║
╠══════════════════════════════════════════════════════════╣
║ 应用信息 ║
╠══════════════════════════════════════════════════════════╣
║ 应用名称: {:<45} ║
║ 运行环境: {:<45} ║
║ 服务端口: {:<45} ║
╠══════════════════════════════════════════════════════════╣
║ 访问地址 ║
╠══════════════════════════════════════════════════════════╣
║ 后端服务: {:<45} ║
║ API接口: {:<45} ║
║ Druid监控: {:<45} ║
╠══════════════════════════════════════════════════════════╣
║ 状态: 🟢 服务运行中,可以接收请求 ║
╚══════════════════════════════════════════════════════════╝
2025-12-23 11:04:28.830 [restartedMain] INFO com.mtkj.mtkjpay.MtkjpayApplication -
📌 提示:
- 前端代理地址: http://localhost:3000
- 后端API地址: http://localhost:8082//api
- 图片上传接口: http://localhost:8082//api/product/upload/image
- 商品管理接口: http://localhost:8082//api/product
2025-12-23 11:04:36.401 [Thread-10] INFO org.apache.coyote.http11.Http11NioProtocol - Stopping ProtocolHandler ["http-nio-8082"]
2025-12-23 11:04:36.483 [restartedMain] INFO com.mtkj.mtkjpay.MtkjpayApplication -
╔══════════════════════════════════════════════════════════╗
║ ║
║ MTKJ PAY 支付系统正在启动... ║
║ ║
╚══════════════════════════════════════════════════════════╝
2025-12-23 11:04:41.463 [restartedMain] INFO com.mtkj.mtkjpay.MtkjpayApplication - Starting MtkjpayApplication using Java 17.0.12 with PID 2216 (started by 18969 in E:\MTKJPAY)
2025-12-23 11:04:41.463 [restartedMain] INFO com.mtkj.mtkjpay.MtkjpayApplication - The following 1 profile is active: "dev"
2025-12-23 11:04:41.672 [restartedMain] WARN org.mybatis.spring.mapper.ClassPathMapperScanner - No MyBatis mapper was found in '[com.mtkj.mtkjpay]' package. Please check your configuration.
2025-12-23 11:04:41.717 [restartedMain] INFO org.apache.catalina.core.StandardService - Starting service [Tomcat]
2025-12-23 11:04:41.717 [restartedMain] INFO org.apache.catalina.core.StandardEngine - Starting Servlet engine: [Apache Tomcat/10.1.16]
2025-12-23 11:04:41.735 [restartedMain] INFO o.a.c.c.ContainerBase.[Tomcat-2].[localhost].[/] - Initializing Spring embedded WebApplicationContext
2025-12-23 11:04:41.805 [restartedMain] WARN o.s.b.w.s.c.AnnotationConfigServletWebServerApplicationContext - Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSource' defined in class path resource [org/springframework/boot/autoconfigure/jdbc/DataSourceConfiguration$Generic.class]: Failed to instantiate [javax.sql.DataSource]: Factory method 'dataSource' threw exception with message: Failed to determine suitable jdbc url
2025-12-23 11:04:41.807 [restartedMain] INFO org.apache.catalina.core.StandardService - Stopping service [Tomcat]
2025-12-23 11:04:41.817 [restartedMain] ERROR o.s.b.diagnostics.LoggingFailureAnalysisReporter -
***************************
APPLICATION FAILED TO START
***************************
Description:
Failed to configure a DataSource: 'url' attribute is not specified and no embedded datasource could be configured.
Reason: Failed to determine suitable jdbc url
Action:
Consider the following:
If you want an embedded database (H2, HSQL or Derby), please put it on the classpath.
If you have database settings to be loaded from a particular profile you may need to activate it (the profiles dev are currently active).
2025-12-23 11:04:41.817 [restartedMain] ERROR com.mtkj.mtkjpay.MtkjpayApplication -
╔══════════════════════════════════════════════════════════╗
║ ║
║ ❌ MTKJ PAY 支付系统启动失败! ❌ ║
║ ║
╚══════════════════════════════════════════════════════════╝
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSource' defined in class path resource [org/springframework/boot/autoconfigure/jdbc/DataSourceConfiguration$Generic.class]: Failed to instantiate [javax.sql.DataSource]: Factory method 'dataSource' threw exception with message: Failed to determine suitable jdbc url
at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:655)
at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:643)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1336)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1166)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:563)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:523)
at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:325)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:323)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:973)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:946)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:616)
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:146)
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:753)
at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:455)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:323)
at com.mtkj.mtkjpay.MtkjpayApplication.main(MtkjpayApplication.java:33)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at org.springframework.boot.devtools.restart.RestartLauncher.run(RestartLauncher.java:50)
Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [javax.sql.DataSource]: Factory method 'dataSource' threw exception with message: Failed to determine suitable jdbc url
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:178)
at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:651)
... 22 common frames omitted
Caused by: org.springframework.boot.autoconfigure.jdbc.DataSourceProperties$DataSourceBeanCreationException: Failed to determine suitable jdbc url
at org.springframework.boot.autoconfigure.jdbc.DataSourceProperties.determineUrl(DataSourceProperties.java:232)
at org.springframework.boot.autoconfigure.jdbc.PropertiesJdbcConnectionDetails.getJdbcUrl(PropertiesJdbcConnectionDetails.java:44)
at org.springframework.boot.autoconfigure.jdbc.DataSourceConfiguration.createDataSource(DataSourceConfiguration.java:56)
at org.springframework.boot.autoconfigure.jdbc.DataSourceConfiguration$Generic.dataSource(DataSourceConfiguration.java:193)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:140)
... 23 common frames omitted
2025-12-23 11:04:44.742 [restartedMain] INFO com.mtkj.mtkjpay.MtkjpayApplication -
╔══════════════════════════════════════════════════════════╗
║ ║
║ MTKJ PAY 支付系统正在启动... ║
║ ║
╚══════════════════════════════════════════════════════════╝
2025-12-23 11:04:44.799 [restartedMain] INFO com.mtkj.mtkjpay.MtkjpayApplication - Starting MtkjpayApplication using Java 17.0.12 with PID 2216 (started by 18969 in E:\MTKJPAY)
2025-12-23 11:04:44.799 [restartedMain] INFO com.mtkj.mtkjpay.MtkjpayApplication - The following 1 profile is active: "dev"
2025-12-23 11:04:45.150 [restartedMain] INFO org.apache.catalina.core.StandardService - Starting service [Tomcat]
2025-12-23 11:04:45.150 [restartedMain] INFO org.apache.catalina.core.StandardEngine - Starting Servlet engine: [Apache Tomcat/10.1.16]
2025-12-23 11:04:45.164 [restartedMain] INFO o.a.c.c.ContainerBase.[Tomcat-3].[localhost].[/] - Initializing Spring embedded WebApplicationContext
2025-12-23 11:04:45.174 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - ═══════════════════════════════════════════════════════════
2025-12-23 11:04:45.174 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - PayPal配置加载验证:
2025-12-23 11:04:45.175 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Client ID: 已配置 (AdGYUZpvLuHR30dybOAp...)
2025-12-23 11:04:45.175 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Client Secret: 已配置 (ENblspyRmwsOU_PWFurl...)
2025-12-23 11:04:45.175 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Mode: sandbox
2025-12-23 11:04:45.175 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Enabled: true
2025-12-23 11:04:45.175 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Base URL: https://api-m.sandbox.paypal.com
2025-12-23 11:04:45.175 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - ═══════════════════════════════════════════════════════════
2025-12-23 11:04:45.182 [restartedMain] INFO com.mtkj.mtpay.config.MyBatisPlusConfig - 初始化MyBatis-Plus分页插件数据库类型: MYSQL
2025-12-23 11:04:45.182 [restartedMain] INFO com.mtkj.mtpay.config.MyBatisPlusConfig - MyBatis-Plus分页插件配置完成
2025-12-23 11:04:45.184 [restartedMain] INFO com.mtkj.mtpay.config.DruidDataSourceConfig - 初始化Druid主数据源
2025-12-23 11:04:45.184 [restartedMain] INFO com.mtkj.mtpay.config.DruidDataSourceConfig - 配置属性 - URL: jdbc:mysql://rm-j6c3u06k2afwn8hxw6o.mysql.rds.aliyuncs.com:3306/mtpay?useUnicode=true&characterEncoding=utf-8&useSSL=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai, Username: mtkj2025
2025-12-23 11:04:45.185 [restartedMain] INFO com.mtkj.mtpay.config.DruidDataSourceConfig - Druid主数据源配置完成URL: jdbc:mysql://rm-j6c3u06k2afwn8hxw6o.mysql.rds.aliyuncs.com:3306/mtpay?useUnicode=true&characterEncoding=utf-8&useSSL=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai
2025-12-23 11:04:45.465 [restartedMain] INFO com.mtkj.mtpay.config.RestClientConfig - 初始化RestClient配置JSON消息转换器
2025-12-23 11:04:45.468 [restartedMain] INFO com.mtkj.mtpay.config.RestClientConfig - RestClient配置完成
2025-12-23 11:04:45.506 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - ═══════════════════════════════════════════════════════════
2025-12-23 11:04:45.506 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - PayPal配置加载验证:
2025-12-23 11:04:45.506 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Client ID: 已配置 (AdGYUZpvLuHR30dybOAp...)
2025-12-23 11:04:45.506 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Client Secret: 已配置 (ENblspyRmwsOU_PWFurl...)
2025-12-23 11:04:45.506 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Mode: sandbox
2025-12-23 11:04:45.506 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Enabled: true
2025-12-23 11:04:45.506 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Base URL: https://api-m.sandbox.paypal.com
2025-12-23 11:04:45.506 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - ═══════════════════════════════════════════════════════════
2025-12-23 11:04:45.525 [restartedMain] INFO com.mtkj.mtpay.config.WebConfig - 配置跨域访问,路径: /api/**, 允许所有来源
2025-12-23 11:04:45.525 [restartedMain] INFO com.mtkj.mtpay.config.WebConfig - 跨域配置完成
2025-12-23 11:04:45.605 [restartedMain] INFO com.mtkj.mtkjpay.MtkjpayApplication - Started MtkjpayApplication in 0.86 seconds (process running for 202.874)
2025-12-23 11:04:45.606 [restartedMain] INFO com.mtkj.mtkjpay.MtkjpayApplication -
╔══════════════════════════════════════════════════════════╗
║ ║
║ ✅ MTKJ PAY 支付系统启动成功! ✅ ║
║ ║
╠══════════════════════════════════════════════════════════╣
║ 应用信息 ║
╠══════════════════════════════════════════════════════════╣
║ 应用名称: {:<45} ║
║ 运行环境: {:<45} ║
║ 服务端口: {:<45} ║
╠══════════════════════════════════════════════════════════╣
║ 访问地址 ║
╠══════════════════════════════════════════════════════════╣
║ 后端服务: {:<45} ║
║ API接口: {:<45} ║
║ Druid监控: {:<45} ║
╠══════════════════════════════════════════════════════════╣
║ 状态: 🟢 服务运行中,可以接收请求 ║
╚══════════════════════════════════════════════════════════╝
2025-12-23 11:04:45.606 [restartedMain] INFO com.mtkj.mtkjpay.MtkjpayApplication -
📌 提示:
- 前端代理地址: http://localhost:3000
- 后端API地址: http://localhost:8082//api
- 图片上传接口: http://localhost:8082//api/product/upload/image
- 商品管理接口: http://localhost:8082//api/product
2025-12-23 11:04:47.108 [restartedMain] INFO com.mtkj.mtkjpay.MtkjpayApplication -
╔══════════════════════════════════════════════════════════╗
║ ║
║ MTKJ PAY 支付系统正在启动... ║
║ ║
╚══════════════════════════════════════════════════════════╝
2025-12-23 11:04:47.139 [restartedMain] INFO com.mtkj.mtkjpay.MtkjpayApplication - Starting MtkjpayApplication using Java 17.0.12 with PID 2216 (E:\MTKJPAY\mt-startup\target\classes started by 18969 in E:\MTKJPAY)
2025-12-23 11:04:47.139 [restartedMain] INFO com.mtkj.mtkjpay.MtkjpayApplication - The following 1 profile is active: "dev"
2025-12-23 11:04:47.404 [restartedMain] INFO org.apache.catalina.core.StandardService - Starting service [Tomcat]
2025-12-23 11:04:47.404 [restartedMain] INFO org.apache.catalina.core.StandardEngine - Starting Servlet engine: [Apache Tomcat/10.1.16]
2025-12-23 11:04:47.422 [restartedMain] INFO o.a.c.c.ContainerBase.[Tomcat-3].[localhost].[/] - Initializing Spring embedded WebApplicationContext
2025-12-23 11:04:47.431 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - ═══════════════════════════════════════════════════════════
2025-12-23 11:04:47.431 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - PayPal配置加载验证:
2025-12-23 11:04:47.431 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Client ID: ❌ 未配置
2025-12-23 11:04:47.431 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Client Secret: ❌ 未配置
2025-12-23 11:04:47.431 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Mode: sandbox
2025-12-23 11:04:47.431 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Enabled: true
2025-12-23 11:04:47.431 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Base URL: https://api-m.sandbox.paypal.com
2025-12-23 11:04:47.431 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - ═══════════════════════════════════════════════════════════
2025-12-23 11:04:47.431 [restartedMain] ERROR com.mtkj.mtpay.config.PayPalProperties - ❌ PayPal Client ID未配置请检查application-dev.yml中的paypal.client-id配置
2025-12-23 11:04:47.431 [restartedMain] ERROR com.mtkj.mtpay.config.PayPalProperties - 当前配置值: clientId = null
2025-12-23 11:04:47.431 [restartedMain] ERROR com.mtkj.mtpay.config.PayPalProperties - ❌ PayPal Client Secret未配置请检查application-dev.yml中的paypal.client-secret配置
2025-12-23 11:04:47.431 [restartedMain] ERROR com.mtkj.mtpay.config.PayPalProperties - 当前配置值: clientSecret = null
2025-12-23 11:04:47.437 [restartedMain] INFO com.mtkj.mtpay.config.MyBatisPlusConfig - 初始化MyBatis-Plus分页插件数据库类型: MYSQL
2025-12-23 11:04:47.437 [restartedMain] INFO com.mtkj.mtpay.config.MyBatisPlusConfig - MyBatis-Plus分页插件配置完成
2025-12-23 11:04:47.439 [restartedMain] INFO com.mtkj.mtpay.config.DruidDataSourceConfig - 初始化Druid主数据源
2025-12-23 11:04:47.439 [restartedMain] INFO com.mtkj.mtpay.config.DruidDataSourceConfig - 配置属性 - URL: jdbc:mysql://rm-j6c3u06k2afwn8hxw6o.mysql.rds.aliyuncs.com:3306/mtpay?useUnicode=true&characterEncoding=utf-8&useSSL=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai, Username: mtkj2025
2025-12-23 11:04:47.439 [restartedMain] INFO com.mtkj.mtpay.config.DruidDataSourceConfig - Druid主数据源配置完成URL: jdbc:mysql://rm-j6c3u06k2afwn8hxw6o.mysql.rds.aliyuncs.com:3306/mtpay?useUnicode=true&characterEncoding=utf-8&useSSL=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai
2025-12-23 11:04:47.686 [restartedMain] INFO com.mtkj.mtpay.config.RestClientConfig - 初始化RestClient配置JSON消息转换器
2025-12-23 11:04:47.688 [restartedMain] INFO com.mtkj.mtpay.config.RestClientConfig - RestClient配置完成
2025-12-23 11:04:47.722 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - ═══════════════════════════════════════════════════════════
2025-12-23 11:04:47.722 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - PayPal配置加载验证:
2025-12-23 11:04:47.722 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Client ID: ❌ 未配置
2025-12-23 11:04:47.722 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Client Secret: ❌ 未配置
2025-12-23 11:04:47.722 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Mode: sandbox
2025-12-23 11:04:47.722 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Enabled: true
2025-12-23 11:04:47.722 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Base URL: https://api-m.sandbox.paypal.com
2025-12-23 11:04:47.722 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - ═══════════════════════════════════════════════════════════
2025-12-23 11:04:47.722 [restartedMain] ERROR com.mtkj.mtpay.config.PayPalProperties - ❌ PayPal Client ID未配置请检查application-dev.yml中的paypal.client-id配置
2025-12-23 11:04:47.722 [restartedMain] ERROR com.mtkj.mtpay.config.PayPalProperties - 当前配置值: clientId = null
2025-12-23 11:04:47.722 [restartedMain] ERROR com.mtkj.mtpay.config.PayPalProperties - ❌ PayPal Client Secret未配置请检查application-dev.yml中的paypal.client-secret配置
2025-12-23 11:04:47.722 [restartedMain] ERROR com.mtkj.mtpay.config.PayPalProperties - 当前配置值: clientSecret = null
2025-12-23 11:04:47.738 [restartedMain] INFO com.mtkj.mtpay.config.WebConfig - 配置跨域访问,路径: /api/**, 允许所有来源
2025-12-23 11:04:47.738 [restartedMain] INFO com.mtkj.mtpay.config.WebConfig - 跨域配置完成
2025-12-23 11:04:47.802 [restartedMain] INFO com.mtkj.mtkjpay.MtkjpayApplication - Started MtkjpayApplication in 0.691 seconds (process running for 205.071)
2025-12-23 11:04:47.804 [restartedMain] INFO com.mtkj.mtkjpay.MtkjpayApplication -
╔══════════════════════════════════════════════════════════╗
║ ║
║ ✅ MTKJ PAY 支付系统启动成功! ✅ ║
║ ║
╠══════════════════════════════════════════════════════════╣
║ 应用信息 ║
╠══════════════════════════════════════════════════════════╣
║ 应用名称: {:<45} ║
║ 运行环境: {:<45} ║
║ 服务端口: {:<45} ║
╠══════════════════════════════════════════════════════════╣
║ 访问地址 ║
╠══════════════════════════════════════════════════════════╣
║ 后端服务: {:<45} ║
║ API接口: {:<45} ║
║ Druid监控: {:<45} ║
╠══════════════════════════════════════════════════════════╣
║ 状态: 🟢 服务运行中,可以接收请求 ║
╚══════════════════════════════════════════════════════════╝
2025-12-23 11:04:47.804 [restartedMain] INFO com.mtkj.mtkjpay.MtkjpayApplication -
📌 提示:
- 前端代理地址: http://localhost:3000
- 后端API地址: http://localhost:8082//api
- 图片上传接口: http://localhost:8082//api/product/upload/image
- 商品管理接口: http://localhost:8082//api/product
2025-12-23 11:04:57.097 [background-preinit] INFO org.hibernate.validator.internal.util.Version - HV000001: Hibernate Validator 8.0.1.Final
2025-12-23 11:04:57.138 [restartedMain] INFO com.mtkj.mtkjpay.MtkjpayApplication - Starting MtkjpayApplication using Java 17.0.12 with PID 24596 (E:\MTKJPAY\mt-startup\target\classes started by 18969 in E:\MTKJPAY)
2025-12-23 11:04:57.139 [restartedMain] INFO com.mtkj.mtkjpay.MtkjpayApplication - The following 1 profile is active: "dev"
2025-12-23 11:04:58.251 [restartedMain] INFO org.apache.coyote.http11.Http11NioProtocol - Initializing ProtocolHandler ["http-nio-8082"]
2025-12-23 11:04:58.252 [restartedMain] INFO org.apache.catalina.core.StandardService - Starting service [Tomcat]
2025-12-23 11:04:58.252 [restartedMain] INFO org.apache.catalina.core.StandardEngine - Starting Servlet engine: [Apache Tomcat/10.1.16]
2025-12-23 11:04:58.301 [restartedMain] INFO o.a.c.core.ContainerBase.[Tomcat].[localhost].[/] - Initializing Spring embedded WebApplicationContext
2025-12-23 11:04:58.358 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - ═══════════════════════════════════════════════════════════
2025-12-23 11:04:58.358 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - PayPal配置加载验证:
2025-12-23 11:04:58.358 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Client ID: ❌ 未配置
2025-12-23 11:04:58.358 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Client Secret: ❌ 未配置
2025-12-23 11:04:58.359 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Mode: sandbox
2025-12-23 11:04:58.359 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Enabled: true
2025-12-23 11:04:58.359 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Base URL: https://api-m.sandbox.paypal.com
2025-12-23 11:04:58.359 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - ═══════════════════════════════════════════════════════════
2025-12-23 11:04:58.359 [restartedMain] ERROR com.mtkj.mtpay.config.PayPalProperties - ❌ PayPal Client ID未配置请检查application-dev.yml中的paypal.client-id配置
2025-12-23 11:04:58.359 [restartedMain] ERROR com.mtkj.mtpay.config.PayPalProperties - 当前配置值: clientId = null
2025-12-23 11:04:58.359 [restartedMain] ERROR com.mtkj.mtpay.config.PayPalProperties - ❌ PayPal Client Secret未配置请检查application-dev.yml中的paypal.client-secret配置
2025-12-23 11:04:58.359 [restartedMain] ERROR com.mtkj.mtpay.config.PayPalProperties - 当前配置值: clientSecret = null
2025-12-23 11:04:58.376 [restartedMain] INFO com.mtkj.mtpay.config.MyBatisPlusConfig - 初始化MyBatis-Plus分页插件数据库类型: MYSQL
2025-12-23 11:04:58.380 [restartedMain] INFO com.mtkj.mtpay.config.MyBatisPlusConfig - MyBatis-Plus分页插件配置完成
2025-12-23 11:04:58.384 [restartedMain] INFO com.mtkj.mtpay.config.DruidDataSourceConfig - 初始化Druid主数据源
2025-12-23 11:04:58.384 [restartedMain] INFO com.mtkj.mtpay.config.DruidDataSourceConfig - 配置属性 - URL: jdbc:mysql://rm-j6c3u06k2afwn8hxw6o.mysql.rds.aliyuncs.com:3306/mtpay?useUnicode=true&characterEncoding=utf-8&useSSL=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai, Username: mtkj2025
2025-12-23 11:04:58.403 [restartedMain] INFO com.mtkj.mtpay.config.DruidDataSourceConfig - Druid主数据源配置完成URL: jdbc:mysql://rm-j6c3u06k2afwn8hxw6o.mysql.rds.aliyuncs.com:3306/mtpay?useUnicode=true&characterEncoding=utf-8&useSSL=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai
2025-12-23 11:04:58.817 [restartedMain] INFO com.mtkj.mtpay.config.RestClientConfig - 初始化RestClient配置JSON消息转换器
2025-12-23 11:04:58.938 [restartedMain] INFO com.mtkj.mtpay.config.RestClientConfig - RestClient配置完成
2025-12-23 11:04:58.978 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - ═══════════════════════════════════════════════════════════
2025-12-23 11:04:58.978 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - PayPal配置加载验证:
2025-12-23 11:04:58.979 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Client ID: ❌ 未配置
2025-12-23 11:04:58.979 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Client Secret: ❌ 未配置
2025-12-23 11:04:58.979 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Mode: sandbox
2025-12-23 11:04:58.979 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Enabled: true
2025-12-23 11:04:58.979 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Base URL: https://api-m.sandbox.paypal.com
2025-12-23 11:04:58.979 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - ═══════════════════════════════════════════════════════════
2025-12-23 11:04:58.979 [restartedMain] ERROR com.mtkj.mtpay.config.PayPalProperties - ❌ PayPal Client ID未配置请检查application-dev.yml中的paypal.client-id配置
2025-12-23 11:04:58.979 [restartedMain] ERROR com.mtkj.mtpay.config.PayPalProperties - 当前配置值: clientId = null
2025-12-23 11:04:58.979 [restartedMain] ERROR com.mtkj.mtpay.config.PayPalProperties - ❌ PayPal Client Secret未配置请检查application-dev.yml中的paypal.client-secret配置
2025-12-23 11:04:58.979 [restartedMain] ERROR com.mtkj.mtpay.config.PayPalProperties - 当前配置值: clientSecret = null
2025-12-23 11:04:59.024 [restartedMain] INFO com.mtkj.mtpay.config.WebConfig - 配置跨域访问,路径: /api/**, 允许所有来源
2025-12-23 11:04:59.026 [restartedMain] INFO com.mtkj.mtpay.config.WebConfig - 跨域配置完成
2025-12-23 11:04:59.304 [restartedMain] INFO org.apache.coyote.http11.Http11NioProtocol - Starting ProtocolHandler ["http-nio-8082"]
2025-12-23 11:04:59.321 [restartedMain] INFO com.mtkj.mtkjpay.MtkjpayApplication - Started MtkjpayApplication in 2.724 seconds (process running for 3.424)
2025-12-23 11:04:59.324 [restartedMain] INFO com.mtkj.mtkjpay.MtkjpayApplication -
╔══════════════════════════════════════════════════════════╗
║ ║
║ ✅ MTKJ PAY 支付系统启动成功! ✅ ║
║ ║
╠══════════════════════════════════════════════════════════╣
║ 应用信息 ║
╠══════════════════════════════════════════════════════════╣
║ 应用名称: {:<45} ║
║ 运行环境: {:<45} ║
║ 服务端口: {:<45} ║
╠══════════════════════════════════════════════════════════╣
║ 访问地址 ║
╠══════════════════════════════════════════════════════════╣
║ 后端服务: {:<45} ║
║ API接口: {:<45} ║
║ Druid监控: {:<45} ║
╠══════════════════════════════════════════════════════════╣
║ 状态: 🟢 服务运行中,可以接收请求 ║
╚══════════════════════════════════════════════════════════╝
2025-12-23 11:04:59.324 [restartedMain] INFO com.mtkj.mtkjpay.MtkjpayApplication -
📌 提示:
- 前端代理地址: http://localhost:3000
- 后端API地址: http://localhost:8082//api
- 图片上传接口: http://localhost:8082//api/product/upload/image
- 商品管理接口: http://localhost:8082//api/product
2025-12-23 11:04:59.326 [main] ERROR com.mtkj.mtkjpay.MtkjpayApplication -
╔══════════════════════════════════════════════════════════╗
║ ║
║ ❌ MTKJ PAY 支付系统启动失败! ❌ ║
║ ║
╚══════════════════════════════════════════════════════════╝
org.springframework.boot.devtools.restart.SilentExitExceptionHandler$SilentExitException: null
at org.springframework.boot.devtools.restart.SilentExitExceptionHandler.exitCurrentThread(SilentExitExceptionHandler.java:92)
at org.springframework.boot.devtools.restart.Restarter.immediateRestart(Restarter.java:179)
at org.springframework.boot.devtools.restart.Restarter.initialize(Restarter.java:163)
at org.springframework.boot.devtools.restart.Restarter.initialize(Restarter.java:532)
at org.springframework.boot.devtools.restart.RestartApplicationListener.onApplicationStartingEvent(RestartApplicationListener.java:98)
at org.springframework.boot.devtools.restart.RestartApplicationListener.onApplicationEvent(RestartApplicationListener.java:51)
at org.springframework.context.event.SimpleApplicationEventMulticaster.doInvokeListener(SimpleApplicationEventMulticaster.java:178)
at org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:171)
at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:149)
at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:137)
at org.springframework.boot.context.event.EventPublishingRunListener.multicastInitialEvent(EventPublishingRunListener.java:136)
at org.springframework.boot.context.event.EventPublishingRunListener.starting(EventPublishingRunListener.java:75)
at org.springframework.boot.SpringApplicationRunListeners.lambda$starting$0(SpringApplicationRunListeners.java:54)
at java.base/java.lang.Iterable.forEach(Iterable.java:75)
at org.springframework.boot.SpringApplicationRunListeners.doWithListeners(SpringApplicationRunListeners.java:118)
at org.springframework.boot.SpringApplicationRunListeners.starting(SpringApplicationRunListeners.java:54)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:315)
at com.mtkj.mtkjpay.MtkjpayApplication.main(MtkjpayApplication.java:33)
2025-12-23 11:05:05.331 [http-nio-8082-exec-1] INFO o.a.c.core.ContainerBase.[Tomcat].[localhost].[/] - Initializing Spring DispatcherServlet 'dispatcherServlet'
2025-12-23 11:05:05.575 [http-nio-8082-exec-1] INFO com.mtkj.mtpay.controller.PayPalController - 创建PayPal订单请求CreatePayPalOrderRequestDTO(intent=CAPTURE, referenceId=MTN17664579642691703, amount=13.31, currencyCode=MYR, itemName=名创优品毛巾女2025新款洗澡男士浴巾比全棉100纯棉吸水干发成人, itemDescription=【✅性价比首选】米白色+浅水蓝+天空灰【⭐毛巾实惠3条装】, itemSku=【✅性价比首选】米白色+浅水蓝+天空灰【⭐毛巾实惠3条装】, itemQuantity=1, itemUnitAmount=13.31, returnUrl=http://localhost:3000/paypal/success?orderNo=MTN17664579642691703, cancelUrl=http://localhost:3000/paypal/cancel?orderNo=MTN17664579642691703, shippingName=邱斌, shippingAddressLine1=丽水市莲都区万象街道晶都步行街阿姨奶茶隔壁潮童馆, shippingAddressLine2=null, shippingCity=丽水市, shippingState=浙江省, shippingPostalCode=323000, shippingCountryCode=CN, emailAddress=18969599531@163.com)
2025-12-23 11:05:05.589 [http-nio-8082-exec-1] INFO com.mtkj.mtpay.service.impl.PayPalServiceImpl - 创建PayPal订单ERP订单号: MTN17664579642691703
2025-12-23 11:05:05.589 [http-nio-8082-exec-1] INFO com.mtkj.mtpay.service.impl.PayPalServiceImpl - 获取PayPal访问令牌
2025-12-23 11:05:05.589 [http-nio-8082-exec-1] DEBUG com.mtkj.mtpay.service.impl.PayPalServiceImpl - PayPal配置检查 - Client ID: null, Client Secret: null
2025-12-23 11:05:05.589 [http-nio-8082-exec-1] ERROR com.mtkj.mtpay.service.impl.PayPalServiceImpl - PayPal Client ID未配置
2025-12-23 11:05:05.589 [http-nio-8082-exec-1] ERROR com.mtkj.mtpay.service.impl.PayPalServiceImpl - 配置属性对象: PayPalProperties(clientId=null, clientSecret=null, mode=sandbox, sandboxBaseUrl=https://api-m.sandbox.paypal.com, productionBaseUrl=https://api-m.paypal.com, enabled=true, webhookId=null)
2025-12-23 11:05:05.594 [http-nio-8082-exec-1] ERROR com.mtkj.mtpay.service.impl.PayPalServiceImpl - 请检查application-dev.yml中的paypal.client-id配置
2025-12-23 11:05:05.599 [http-nio-8082-exec-1] WARN com.mtkj.mtpay.exception.GlobalExceptionHandler - 业务异常: PayPal Client ID未配置请检查application-dev.yml中的paypal.client-id配置
2025-12-23 11:05:05.648 [http-nio-8082-exec-1] WARN o.s.w.s.m.m.a.ExceptionHandlerExceptionResolver - Resolved [com.mtkj.mtpay.exception.BusinessException: PayPal Client ID未配置请检查application-dev.yml中的paypal.client-id配置]
2025-12-23 11:06:41.820 [background-preinit] INFO org.hibernate.validator.internal.util.Version - HV000001: Hibernate Validator 8.0.1.Final
2025-12-23 11:06:41.866 [restartedMain] INFO com.mtkj.mtkjpay.MtkjpayApplication - Starting MtkjpayApplication using Java 17.0.12 with PID 24448 (E:\MTKJPAY\mt-startup\target\classes started by 18969 in E:\MTKJPAY)
2025-12-23 11:06:41.867 [restartedMain] INFO com.mtkj.mtkjpay.MtkjpayApplication - The following 1 profile is active: "dev"
2025-12-23 11:06:42.969 [restartedMain] INFO org.apache.coyote.http11.Http11NioProtocol - Initializing ProtocolHandler ["http-nio-8082"]
2025-12-23 11:06:42.970 [restartedMain] INFO org.apache.catalina.core.StandardService - Starting service [Tomcat]
2025-12-23 11:06:42.970 [restartedMain] INFO org.apache.catalina.core.StandardEngine - Starting Servlet engine: [Apache Tomcat/10.1.16]
2025-12-23 11:06:43.013 [restartedMain] INFO o.a.c.core.ContainerBase.[Tomcat].[localhost].[/] - Initializing Spring embedded WebApplicationContext
2025-12-23 11:06:43.064 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - ═══════════════════════════════════════════════════════════
2025-12-23 11:06:43.064 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - PayPal配置加载验证:
2025-12-23 11:06:43.064 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Client ID: ❌ 未配置
2025-12-23 11:06:43.064 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Client Secret: ❌ 未配置
2025-12-23 11:06:43.064 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Mode: sandbox
2025-12-23 11:06:43.064 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Enabled: true
2025-12-23 11:06:43.064 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Base URL: https://api-m.sandbox.paypal.com
2025-12-23 11:06:43.064 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - ═══════════════════════════════════════════════════════════
2025-12-23 11:06:43.064 [restartedMain] ERROR com.mtkj.mtpay.config.PayPalProperties - ❌ PayPal Client ID未配置请检查application-dev.yml中的paypal.client-id配置
2025-12-23 11:06:43.064 [restartedMain] ERROR com.mtkj.mtpay.config.PayPalProperties - 当前配置值: clientId = null
2025-12-23 11:06:43.064 [restartedMain] ERROR com.mtkj.mtpay.config.PayPalProperties - ❌ PayPal Client Secret未配置请检查application-dev.yml中的paypal.client-secret配置
2025-12-23 11:06:43.064 [restartedMain] ERROR com.mtkj.mtpay.config.PayPalProperties - 当前配置值: clientSecret = null
2025-12-23 11:06:43.078 [restartedMain] INFO com.mtkj.mtpay.config.MyBatisPlusConfig - 初始化MyBatis-Plus分页插件数据库类型: MYSQL
2025-12-23 11:06:43.083 [restartedMain] INFO com.mtkj.mtpay.config.MyBatisPlusConfig - MyBatis-Plus分页插件配置完成
2025-12-23 11:06:43.086 [restartedMain] INFO com.mtkj.mtpay.config.DruidDataSourceConfig - 初始化Druid主数据源
2025-12-23 11:06:43.086 [restartedMain] INFO com.mtkj.mtpay.config.DruidDataSourceConfig - 配置属性 - URL: jdbc:mysql://rm-j6c3u06k2afwn8hxw6o.mysql.rds.aliyuncs.com:3306/mtpay?useUnicode=true&characterEncoding=utf-8&useSSL=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai, Username: mtkj2025
2025-12-23 11:06:43.104 [restartedMain] INFO com.mtkj.mtpay.config.DruidDataSourceConfig - Druid主数据源配置完成URL: jdbc:mysql://rm-j6c3u06k2afwn8hxw6o.mysql.rds.aliyuncs.com:3306/mtpay?useUnicode=true&characterEncoding=utf-8&useSSL=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai
2025-12-23 11:06:43.516 [restartedMain] INFO com.mtkj.mtpay.config.RestClientConfig - 初始化RestClient配置JSON消息转换器
2025-12-23 11:06:43.638 [restartedMain] INFO com.mtkj.mtpay.config.RestClientConfig - RestClient配置完成
2025-12-23 11:06:43.681 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - ═══════════════════════════════════════════════════════════
2025-12-23 11:06:43.681 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - PayPal配置加载验证:
2025-12-23 11:06:43.681 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Client ID: ❌ 未配置
2025-12-23 11:06:43.681 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Client Secret: ❌ 未配置
2025-12-23 11:06:43.681 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Mode: sandbox
2025-12-23 11:06:43.681 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Enabled: true
2025-12-23 11:06:43.681 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Base URL: https://api-m.sandbox.paypal.com
2025-12-23 11:06:43.681 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - ═══════════════════════════════════════════════════════════
2025-12-23 11:06:43.681 [restartedMain] ERROR com.mtkj.mtpay.config.PayPalProperties - ❌ PayPal Client ID未配置请检查application-dev.yml中的paypal.client-id配置
2025-12-23 11:06:43.681 [restartedMain] ERROR com.mtkj.mtpay.config.PayPalProperties - 当前配置值: clientId = null
2025-12-23 11:06:43.681 [restartedMain] ERROR com.mtkj.mtpay.config.PayPalProperties - ❌ PayPal Client Secret未配置请检查application-dev.yml中的paypal.client-secret配置
2025-12-23 11:06:43.681 [restartedMain] ERROR com.mtkj.mtpay.config.PayPalProperties - 当前配置值: clientSecret = null
2025-12-23 11:06:43.736 [restartedMain] INFO com.mtkj.mtpay.config.WebConfig - 配置跨域访问,路径: /api/**, 允许所有来源
2025-12-23 11:06:43.738 [restartedMain] INFO com.mtkj.mtpay.config.WebConfig - 跨域配置完成
2025-12-23 11:06:44.083 [restartedMain] INFO org.apache.coyote.http11.Http11NioProtocol - Starting ProtocolHandler ["http-nio-8082"]
2025-12-23 11:06:44.107 [restartedMain] INFO com.mtkj.mtkjpay.MtkjpayApplication - Started MtkjpayApplication in 2.826 seconds (process running for 3.564)
2025-12-23 11:06:44.110 [restartedMain] INFO com.mtkj.mtkjpay.MtkjpayApplication -
╔══════════════════════════════════════════════════════════╗
║ ║
║ ✅ MTKJ PAY 支付系统启动成功! ✅ ║
║ ║
╠══════════════════════════════════════════════════════════╣
║ 应用信息 ║
╠══════════════════════════════════════════════════════════╣
║ 应用名称: {:<45} ║
║ 运行环境: {:<45} ║
║ 服务端口: {:<45} ║
╠══════════════════════════════════════════════════════════╣
║ 访问地址 ║
╠══════════════════════════════════════════════════════════╣
║ 后端服务: {:<45} ║
║ API接口: {:<45} ║
║ Druid监控: {:<45} ║
╠══════════════════════════════════════════════════════════╣
║ 状态: 🟢 服务运行中,可以接收请求 ║
╚══════════════════════════════════════════════════════════╝
2025-12-23 11:06:44.111 [restartedMain] INFO com.mtkj.mtkjpay.MtkjpayApplication -
📌 提示:
- 前端代理地址: http://localhost:3000
- 后端API地址: http://localhost:8082//api
- 图片上传接口: http://localhost:8082//api/product/upload/image
- 商品管理接口: http://localhost:8082//api/product
2025-12-23 11:06:44.113 [main] ERROR com.mtkj.mtkjpay.MtkjpayApplication -
╔══════════════════════════════════════════════════════════╗
║ ║
║ ❌ MTKJ PAY 支付系统启动失败! ❌ ║
║ ║
╚══════════════════════════════════════════════════════════╝
org.springframework.boot.devtools.restart.SilentExitExceptionHandler$SilentExitException: null
at org.springframework.boot.devtools.restart.SilentExitExceptionHandler.exitCurrentThread(SilentExitExceptionHandler.java:92)
at org.springframework.boot.devtools.restart.Restarter.immediateRestart(Restarter.java:179)
at org.springframework.boot.devtools.restart.Restarter.initialize(Restarter.java:163)
at org.springframework.boot.devtools.restart.Restarter.initialize(Restarter.java:532)
at org.springframework.boot.devtools.restart.RestartApplicationListener.onApplicationStartingEvent(RestartApplicationListener.java:98)
at org.springframework.boot.devtools.restart.RestartApplicationListener.onApplicationEvent(RestartApplicationListener.java:51)
at org.springframework.context.event.SimpleApplicationEventMulticaster.doInvokeListener(SimpleApplicationEventMulticaster.java:178)
at org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:171)
at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:149)
at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:137)
at org.springframework.boot.context.event.EventPublishingRunListener.multicastInitialEvent(EventPublishingRunListener.java:136)
at org.springframework.boot.context.event.EventPublishingRunListener.starting(EventPublishingRunListener.java:75)
at org.springframework.boot.SpringApplicationRunListeners.lambda$starting$0(SpringApplicationRunListeners.java:54)
at java.base/java.lang.Iterable.forEach(Iterable.java:75)
at org.springframework.boot.SpringApplicationRunListeners.doWithListeners(SpringApplicationRunListeners.java:118)
at org.springframework.boot.SpringApplicationRunListeners.starting(SpringApplicationRunListeners.java:54)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:315)
at com.mtkj.mtkjpay.MtkjpayApplication.main(MtkjpayApplication.java:33)
2025-12-23 11:08:09.473 [background-preinit] INFO org.hibernate.validator.internal.util.Version - HV000001: Hibernate Validator 8.0.1.Final
2025-12-23 11:08:09.514 [restartedMain] INFO com.mtkj.mtkjpay.MtkjpayApplication - Starting MtkjpayApplication using Java 17.0.12 with PID 23520 (E:\MTKJPAY\mt-startup\target\classes started by 18969 in E:\MTKJPAY)
2025-12-23 11:08:09.514 [restartedMain] INFO com.mtkj.mtkjpay.MtkjpayApplication - The following 1 profile is active: "dev"
2025-12-23 11:08:10.577 [restartedMain] INFO org.apache.coyote.http11.Http11NioProtocol - Initializing ProtocolHandler ["http-nio-8082"]
2025-12-23 11:08:10.578 [restartedMain] INFO org.apache.catalina.core.StandardService - Starting service [Tomcat]
2025-12-23 11:08:10.578 [restartedMain] INFO org.apache.catalina.core.StandardEngine - Starting Servlet engine: [Apache Tomcat/10.1.16]
2025-12-23 11:08:10.621 [restartedMain] INFO o.a.c.core.ContainerBase.[Tomcat].[localhost].[/] - Initializing Spring embedded WebApplicationContext
2025-12-23 11:08:10.671 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - ═══════════════════════════════════════════════════════════
2025-12-23 11:08:10.671 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - PayPal配置加载验证:
2025-12-23 11:08:10.671 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Client ID: ❌ 未配置
2025-12-23 11:08:10.671 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Client Secret: ❌ 未配置
2025-12-23 11:08:10.671 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Mode: sandbox
2025-12-23 11:08:10.671 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Enabled: true
2025-12-23 11:08:10.671 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Base URL: https://api-m.sandbox.paypal.com
2025-12-23 11:08:10.671 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - ═══════════════════════════════════════════════════════════
2025-12-23 11:08:10.673 [restartedMain] ERROR com.mtkj.mtpay.config.PayPalProperties - ❌ PayPal Client ID未配置请检查application-dev.yml中的paypal.client-id配置
2025-12-23 11:08:10.673 [restartedMain] ERROR com.mtkj.mtpay.config.PayPalProperties - 当前配置值: clientId =
2025-12-23 11:08:10.673 [restartedMain] ERROR com.mtkj.mtpay.config.PayPalProperties - ❌ PayPal Client Secret未配置请检查application-dev.yml中的paypal.client-secret配置
2025-12-23 11:08:10.673 [restartedMain] ERROR com.mtkj.mtpay.config.PayPalProperties - 当前配置值: clientSecret =
2025-12-23 11:08:10.687 [restartedMain] INFO com.mtkj.mtpay.config.MyBatisPlusConfig - 初始化MyBatis-Plus分页插件数据库类型: MYSQL
2025-12-23 11:08:10.690 [restartedMain] INFO com.mtkj.mtpay.config.MyBatisPlusConfig - MyBatis-Plus分页插件配置完成
2025-12-23 11:08:10.693 [restartedMain] INFO com.mtkj.mtpay.config.DruidDataSourceConfig - 初始化Druid主数据源
2025-12-23 11:08:10.693 [restartedMain] INFO com.mtkj.mtpay.config.DruidDataSourceConfig - 配置属性 - URL: jdbc:mysql://rm-j6c3u06k2afwn8hxw6o.mysql.rds.aliyuncs.com:3306/mtpay?useUnicode=true&characterEncoding=utf-8&useSSL=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai, Username: mtkj2025
2025-12-23 11:08:10.712 [restartedMain] INFO com.mtkj.mtpay.config.DruidDataSourceConfig - Druid主数据源配置完成URL: jdbc:mysql://rm-j6c3u06k2afwn8hxw6o.mysql.rds.aliyuncs.com:3306/mtpay?useUnicode=true&characterEncoding=utf-8&useSSL=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai
2025-12-23 11:08:11.111 [restartedMain] INFO com.mtkj.mtpay.config.RestClientConfig - 初始化RestClient配置JSON消息转换器
2025-12-23 11:08:11.222 [restartedMain] INFO com.mtkj.mtpay.config.RestClientConfig - RestClient配置完成
2025-12-23 11:08:11.265 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - ═══════════════════════════════════════════════════════════
2025-12-23 11:08:11.265 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - PayPal配置加载验证:
2025-12-23 11:08:11.265 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Client ID: ❌ 未配置
2025-12-23 11:08:11.265 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Client Secret: ❌ 未配置
2025-12-23 11:08:11.265 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Mode: sandbox
2025-12-23 11:08:11.265 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Enabled: true
2025-12-23 11:08:11.265 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Base URL: https://api-m.sandbox.paypal.com
2025-12-23 11:08:11.265 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - ═══════════════════════════════════════════════════════════
2025-12-23 11:08:11.265 [restartedMain] ERROR com.mtkj.mtpay.config.PayPalProperties - ❌ PayPal Client ID未配置请检查application-dev.yml中的paypal.client-id配置
2025-12-23 11:08:11.265 [restartedMain] ERROR com.mtkj.mtpay.config.PayPalProperties - 当前配置值: clientId =
2025-12-23 11:08:11.265 [restartedMain] ERROR com.mtkj.mtpay.config.PayPalProperties - ❌ PayPal Client Secret未配置请检查application-dev.yml中的paypal.client-secret配置
2025-12-23 11:08:11.266 [restartedMain] ERROR com.mtkj.mtpay.config.PayPalProperties - 当前配置值: clientSecret =
2025-12-23 11:08:11.327 [restartedMain] INFO com.mtkj.mtpay.config.WebConfig - 配置跨域访问,路径: /api/**, 允许所有来源
2025-12-23 11:08:11.329 [restartedMain] INFO com.mtkj.mtpay.config.WebConfig - 跨域配置完成
2025-12-23 11:08:11.644 [restartedMain] INFO org.apache.coyote.http11.Http11NioProtocol - Starting ProtocolHandler ["http-nio-8082"]
2025-12-23 11:08:11.661 [restartedMain] INFO com.mtkj.mtkjpay.MtkjpayApplication - Started MtkjpayApplication in 2.663 seconds (process running for 3.384)
2025-12-23 11:08:11.664 [restartedMain] INFO com.mtkj.mtkjpay.MtkjpayApplication -
╔══════════════════════════════════════════════════════════╗
║ ║
║ ✅ MTKJ PAY 支付系统启动成功! ✅ ║
║ ║
╠══════════════════════════════════════════════════════════╣
║ 应用信息 ║
╠══════════════════════════════════════════════════════════╣
║ 应用名称: {:<45} ║
║ 运行环境: {:<45} ║
║ 服务端口: {:<45} ║
╠══════════════════════════════════════════════════════════╣
║ 访问地址 ║
╠══════════════════════════════════════════════════════════╣
║ 后端服务: {:<45} ║
║ API接口: {:<45} ║
║ Druid监控: {:<45} ║
╠══════════════════════════════════════════════════════════╣
║ 状态: 🟢 服务运行中,可以接收请求 ║
╚══════════════════════════════════════════════════════════╝
2025-12-23 11:08:11.665 [restartedMain] INFO com.mtkj.mtkjpay.MtkjpayApplication -
📌 提示:
- 前端代理地址: http://localhost:3000
- 后端API地址: http://localhost:8082//api
- 图片上传接口: http://localhost:8082//api/product/upload/image
- 商品管理接口: http://localhost:8082//api/product
2025-12-23 11:08:11.667 [main] ERROR com.mtkj.mtkjpay.MtkjpayApplication -
╔══════════════════════════════════════════════════════════╗
║ ║
║ ❌ MTKJ PAY 支付系统启动失败! ❌ ║
║ ║
╚══════════════════════════════════════════════════════════╝
org.springframework.boot.devtools.restart.SilentExitExceptionHandler$SilentExitException: null
at org.springframework.boot.devtools.restart.SilentExitExceptionHandler.exitCurrentThread(SilentExitExceptionHandler.java:92)
at org.springframework.boot.devtools.restart.Restarter.immediateRestart(Restarter.java:179)
at org.springframework.boot.devtools.restart.Restarter.initialize(Restarter.java:163)
at org.springframework.boot.devtools.restart.Restarter.initialize(Restarter.java:532)
at org.springframework.boot.devtools.restart.RestartApplicationListener.onApplicationStartingEvent(RestartApplicationListener.java:98)
at org.springframework.boot.devtools.restart.RestartApplicationListener.onApplicationEvent(RestartApplicationListener.java:51)
at org.springframework.context.event.SimpleApplicationEventMulticaster.doInvokeListener(SimpleApplicationEventMulticaster.java:178)
at org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:171)
at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:149)
at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:137)
at org.springframework.boot.context.event.EventPublishingRunListener.multicastInitialEvent(EventPublishingRunListener.java:136)
at org.springframework.boot.context.event.EventPublishingRunListener.starting(EventPublishingRunListener.java:75)
at org.springframework.boot.SpringApplicationRunListeners.lambda$starting$0(SpringApplicationRunListeners.java:54)
at java.base/java.lang.Iterable.forEach(Iterable.java:75)
at org.springframework.boot.SpringApplicationRunListeners.doWithListeners(SpringApplicationRunListeners.java:118)
at org.springframework.boot.SpringApplicationRunListeners.starting(SpringApplicationRunListeners.java:54)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:315)
at com.mtkj.mtkjpay.MtkjpayApplication.main(MtkjpayApplication.java:33)
2025-12-23 11:11:59.398 [background-preinit] INFO org.hibernate.validator.internal.util.Version - HV000001: Hibernate Validator 8.0.1.Final
2025-12-23 11:11:59.440 [restartedMain] INFO com.mtkj.mtkjpay.MtkjpayApplication - Starting MtkjpayApplication using Java 17.0.12 with PID 23600 (E:\MTKJPAY\mt-startup\target\classes started by 18969 in E:\MTKJPAY)
2025-12-23 11:11:59.440 [restartedMain] INFO com.mtkj.mtkjpay.MtkjpayApplication - The following 1 profile is active: "dev"
2025-12-23 11:12:00.531 [restartedMain] INFO org.apache.coyote.http11.Http11NioProtocol - Initializing ProtocolHandler ["http-nio-8082"]
2025-12-23 11:12:00.533 [restartedMain] INFO org.apache.catalina.core.StandardService - Starting service [Tomcat]
2025-12-23 11:12:00.533 [restartedMain] INFO org.apache.catalina.core.StandardEngine - Starting Servlet engine: [Apache Tomcat/10.1.16]
2025-12-23 11:12:00.585 [restartedMain] INFO o.a.c.core.ContainerBase.[Tomcat].[localhost].[/] - Initializing Spring embedded WebApplicationContext
2025-12-23 11:12:00.641 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - ═══════════════════════════════════════════════════════════
2025-12-23 11:12:00.641 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - PayPal配置加载验证:
2025-12-23 11:12:00.641 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Client ID: ❌ 未配置
2025-12-23 11:12:00.641 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Client Secret: ❌ 未配置
2025-12-23 11:12:00.641 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Mode: sandbox
2025-12-23 11:12:00.641 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Enabled: true
2025-12-23 11:12:00.641 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Base URL: https://api-m.sandbox.paypal.com
2025-12-23 11:12:00.641 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - ═══════════════════════════════════════════════════════════
2025-12-23 11:12:00.641 [restartedMain] ERROR com.mtkj.mtpay.config.PayPalProperties - ❌ PayPal Client ID未配置请检查application-dev.yml中的paypal.client-id配置
2025-12-23 11:12:00.641 [restartedMain] ERROR com.mtkj.mtpay.config.PayPalProperties - 当前配置值: clientId = null
2025-12-23 11:12:00.641 [restartedMain] ERROR com.mtkj.mtpay.config.PayPalProperties - ❌ PayPal Client Secret未配置请检查application-dev.yml中的paypal.client-secret配置
2025-12-23 11:12:00.641 [restartedMain] ERROR com.mtkj.mtpay.config.PayPalProperties - 当前配置值: clientSecret = null
2025-12-23 11:12:00.657 [restartedMain] INFO com.mtkj.mtpay.config.MyBatisPlusConfig - 初始化MyBatis-Plus分页插件数据库类型: MYSQL
2025-12-23 11:12:00.660 [restartedMain] INFO com.mtkj.mtpay.config.MyBatisPlusConfig - MyBatis-Plus分页插件配置完成
2025-12-23 11:12:00.665 [restartedMain] INFO com.mtkj.mtpay.config.DruidDataSourceConfig - 初始化Druid主数据源
2025-12-23 11:12:00.665 [restartedMain] INFO com.mtkj.mtpay.config.DruidDataSourceConfig - 配置属性 - URL: jdbc:mysql://rm-j6c3u06k2afwn8hxw6o.mysql.rds.aliyuncs.com:3306/mtpay?useUnicode=true&characterEncoding=utf-8&useSSL=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai, Username: mtkj2025
2025-12-23 11:12:00.684 [restartedMain] INFO com.mtkj.mtpay.config.DruidDataSourceConfig - Druid主数据源配置完成URL: jdbc:mysql://rm-j6c3u06k2afwn8hxw6o.mysql.rds.aliyuncs.com:3306/mtpay?useUnicode=true&characterEncoding=utf-8&useSSL=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai
2025-12-23 11:12:01.137 [restartedMain] INFO com.mtkj.mtpay.config.RestClientConfig - 初始化RestClient配置JSON消息转换器
2025-12-23 11:12:01.278 [restartedMain] INFO com.mtkj.mtpay.config.RestClientConfig - RestClient配置完成
2025-12-23 11:12:01.354 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - ═══════════════════════════════════════════════════════════
2025-12-23 11:12:01.354 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - PayPal配置加载验证:
2025-12-23 11:12:01.354 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Client ID: ❌ 未配置
2025-12-23 11:12:01.354 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Client Secret: ❌ 未配置
2025-12-23 11:12:01.354 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Mode: sandbox
2025-12-23 11:12:01.354 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Enabled: true
2025-12-23 11:12:01.354 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Base URL: https://api-m.sandbox.paypal.com
2025-12-23 11:12:01.354 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - ═══════════════════════════════════════════════════════════
2025-12-23 11:12:01.354 [restartedMain] ERROR com.mtkj.mtpay.config.PayPalProperties - ❌ PayPal Client ID未配置请检查application-dev.yml中的paypal.client-id配置
2025-12-23 11:12:01.354 [restartedMain] ERROR com.mtkj.mtpay.config.PayPalProperties - 当前配置值: clientId = null
2025-12-23 11:12:01.354 [restartedMain] ERROR com.mtkj.mtpay.config.PayPalProperties - ❌ PayPal Client Secret未配置请检查application-dev.yml中的paypal.client-secret配置
2025-12-23 11:12:01.354 [restartedMain] ERROR com.mtkj.mtpay.config.PayPalProperties - 当前配置值: clientSecret = null
2025-12-23 11:12:01.421 [restartedMain] INFO com.mtkj.mtpay.config.WebConfig - 配置跨域访问,路径: /api/**, 允许所有来源
2025-12-23 11:12:01.424 [restartedMain] INFO com.mtkj.mtpay.config.WebConfig - 跨域配置完成
2025-12-23 11:12:01.713 [restartedMain] INFO org.apache.coyote.http11.Http11NioProtocol - Starting ProtocolHandler ["http-nio-8082"]
2025-12-23 11:12:01.729 [restartedMain] INFO com.mtkj.mtkjpay.MtkjpayApplication - Started MtkjpayApplication in 2.85 seconds (process running for 3.525)
2025-12-23 11:12:01.731 [restartedMain] INFO com.mtkj.mtkjpay.MtkjpayApplication -
╔══════════════════════════════════════════════════════════╗
║ ║
║ ✅ MTKJ PAY 支付系统启动成功! ✅ ║
║ ║
╠══════════════════════════════════════════════════════════╣
║ 应用信息 ║
╠══════════════════════════════════════════════════════════╣
║ 应用名称: {:<45} ║
║ 运行环境: {:<45} ║
║ 服务端口: {:<45} ║
╠══════════════════════════════════════════════════════════╣
║ 访问地址 ║
╠══════════════════════════════════════════════════════════╣
║ 后端服务: {:<45} ║
║ API接口: {:<45} ║
║ Druid监控: {:<45} ║
╠══════════════════════════════════════════════════════════╣
║ 状态: 🟢 服务运行中,可以接收请求 ║
╚══════════════════════════════════════════════════════════╝
2025-12-23 11:12:01.731 [restartedMain] INFO com.mtkj.mtkjpay.MtkjpayApplication -
📌 提示:
- 前端代理地址: http://localhost:3000
- 后端API地址: http://localhost:8082//api
- 图片上传接口: http://localhost:8082//api/product/upload/image
- 商品管理接口: http://localhost:8082//api/product
2025-12-23 11:12:01.733 [main] ERROR com.mtkj.mtkjpay.MtkjpayApplication -
╔══════════════════════════════════════════════════════════╗
║ ║
║ ❌ MTKJ PAY 支付系统启动失败! ❌ ║
║ ║
╚══════════════════════════════════════════════════════════╝
org.springframework.boot.devtools.restart.SilentExitExceptionHandler$SilentExitException: null
at org.springframework.boot.devtools.restart.SilentExitExceptionHandler.exitCurrentThread(SilentExitExceptionHandler.java:92)
at org.springframework.boot.devtools.restart.Restarter.immediateRestart(Restarter.java:179)
at org.springframework.boot.devtools.restart.Restarter.initialize(Restarter.java:163)
at org.springframework.boot.devtools.restart.Restarter.initialize(Restarter.java:532)
at org.springframework.boot.devtools.restart.RestartApplicationListener.onApplicationStartingEvent(RestartApplicationListener.java:98)
at org.springframework.boot.devtools.restart.RestartApplicationListener.onApplicationEvent(RestartApplicationListener.java:51)
at org.springframework.context.event.SimpleApplicationEventMulticaster.doInvokeListener(SimpleApplicationEventMulticaster.java:178)
at org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:171)
at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:149)
at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:137)
at org.springframework.boot.context.event.EventPublishingRunListener.multicastInitialEvent(EventPublishingRunListener.java:136)
at org.springframework.boot.context.event.EventPublishingRunListener.starting(EventPublishingRunListener.java:75)
at org.springframework.boot.SpringApplicationRunListeners.lambda$starting$0(SpringApplicationRunListeners.java:54)
at java.base/java.lang.Iterable.forEach(Iterable.java:75)
at org.springframework.boot.SpringApplicationRunListeners.doWithListeners(SpringApplicationRunListeners.java:118)
at org.springframework.boot.SpringApplicationRunListeners.starting(SpringApplicationRunListeners.java:54)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:315)
at com.mtkj.mtkjpay.MtkjpayApplication.main(MtkjpayApplication.java:33)
2025-12-23 11:14:21.510 [background-preinit] INFO org.hibernate.validator.internal.util.Version - HV000001: Hibernate Validator 8.0.1.Final
2025-12-23 11:14:21.550 [restartedMain] INFO com.mtkj.mtkjpay.MtkjpayApplication - Starting MtkjpayApplication using Java 17.0.12 with PID 19236 (E:\MTKJPAY\mt-startup\target\classes started by 18969 in E:\MTKJPAY)
2025-12-23 11:14:21.550 [restartedMain] INFO com.mtkj.mtkjpay.MtkjpayApplication - The following 1 profile is active: "dev"
2025-12-23 11:14:22.680 [restartedMain] INFO org.apache.coyote.http11.Http11NioProtocol - Initializing ProtocolHandler ["http-nio-8082"]
2025-12-23 11:14:22.682 [restartedMain] INFO org.apache.catalina.core.StandardService - Starting service [Tomcat]
2025-12-23 11:14:22.682 [restartedMain] INFO org.apache.catalina.core.StandardEngine - Starting Servlet engine: [Apache Tomcat/10.1.16]
2025-12-23 11:14:22.726 [restartedMain] INFO o.a.c.core.ContainerBase.[Tomcat].[localhost].[/] - Initializing Spring embedded WebApplicationContext
2025-12-23 11:14:22.777 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - ═══════════════════════════════════════════════════════════
2025-12-23 11:14:22.777 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - PayPal配置加载验证:
2025-12-23 11:14:22.777 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Client ID: ❌ 未配置
2025-12-23 11:14:22.777 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Client Secret: ❌ 未配置
2025-12-23 11:14:22.777 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Mode: sandbox
2025-12-23 11:14:22.777 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Enabled: true
2025-12-23 11:14:22.777 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Base URL: https://api-m.sandbox.paypal.com
2025-12-23 11:14:22.777 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - ═══════════════════════════════════════════════════════════
2025-12-23 11:14:22.777 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - 从Environment读取 - Client ID: null, Client Secret: null
2025-12-23 11:14:22.777 [restartedMain] ERROR com.mtkj.mtpay.config.PayPalProperties - ❌ PayPal Client ID未配置请检查application-dev.yml中的paypal.clientId配置
2025-12-23 11:14:22.777 [restartedMain] ERROR com.mtkj.mtpay.config.PayPalProperties - 当前配置值: clientId =
2025-12-23 11:14:22.778 [restartedMain] ERROR com.mtkj.mtpay.config.PayPalProperties - ❌ PayPal Client Secret未配置请检查application-dev.yml中的paypal.clientSecret配置
2025-12-23 11:14:22.778 [restartedMain] ERROR com.mtkj.mtpay.config.PayPalProperties - 当前配置值: clientSecret =
2025-12-23 11:14:22.793 [restartedMain] INFO com.mtkj.mtpay.config.MyBatisPlusConfig - 初始化MyBatis-Plus分页插件数据库类型: MYSQL
2025-12-23 11:14:22.796 [restartedMain] INFO com.mtkj.mtpay.config.MyBatisPlusConfig - MyBatis-Plus分页插件配置完成
2025-12-23 11:14:22.799 [restartedMain] INFO com.mtkj.mtpay.config.DruidDataSourceConfig - 初始化Druid主数据源
2025-12-23 11:14:22.799 [restartedMain] INFO com.mtkj.mtpay.config.DruidDataSourceConfig - 配置属性 - URL: jdbc:mysql://rm-j6c3u06k2afwn8hxw6o.mysql.rds.aliyuncs.com:3306/mtpay?useUnicode=true&characterEncoding=utf-8&useSSL=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai, Username: mtkj2025
2025-12-23 11:14:22.818 [restartedMain] INFO com.mtkj.mtpay.config.DruidDataSourceConfig - Druid主数据源配置完成URL: jdbc:mysql://rm-j6c3u06k2afwn8hxw6o.mysql.rds.aliyuncs.com:3306/mtpay?useUnicode=true&characterEncoding=utf-8&useSSL=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai
2025-12-23 11:14:23.277 [restartedMain] INFO com.mtkj.mtpay.config.RestClientConfig - 初始化RestClient配置JSON消息转换器
2025-12-23 11:14:23.391 [restartedMain] INFO com.mtkj.mtpay.config.RestClientConfig - RestClient配置完成
2025-12-23 11:14:23.437 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - ═══════════════════════════════════════════════════════════
2025-12-23 11:14:23.437 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - PayPal配置加载验证:
2025-12-23 11:14:23.437 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Client ID: ❌ 未配置
2025-12-23 11:14:23.437 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Client Secret: ❌ 未配置
2025-12-23 11:14:23.437 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Mode: sandbox
2025-12-23 11:14:23.437 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Enabled: true
2025-12-23 11:14:23.437 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Base URL: https://api-m.sandbox.paypal.com
2025-12-23 11:14:23.437 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - ═══════════════════════════════════════════════════════════
2025-12-23 11:14:23.437 [restartedMain] WARN com.mtkj.mtpay.config.PayPalProperties - 无法从Environment读取配置
java.lang.NullPointerException: Cannot invoke "org.springframework.core.env.Environment.getProperty(String)" because "this.environment" is null
at com.mtkj.mtpay.config.PayPalProperties.validate(PayPalProperties.java:93)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleMethod.invoke(InitDestroyAnnotationBeanPostProcessor.java:457)
at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleMetadata.invokeInitMethods(InitDestroyAnnotationBeanPostProcessor.java:401)
at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:219)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:421)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1767)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:601)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:523)
at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:325)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:323)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:973)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:946)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:616)
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:146)
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:753)
at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:455)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:323)
at com.mtkj.mtkjpay.MtkjpayApplication.main(MtkjpayApplication.java:33)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at org.springframework.boot.devtools.restart.RestartLauncher.run(RestartLauncher.java:50)
2025-12-23 11:14:23.439 [restartedMain] ERROR com.mtkj.mtpay.config.PayPalProperties - ❌ PayPal Client ID未配置请检查application-dev.yml中的paypal.clientId配置
2025-12-23 11:14:23.439 [restartedMain] ERROR com.mtkj.mtpay.config.PayPalProperties - 当前配置值: clientId =
2025-12-23 11:14:23.440 [restartedMain] ERROR com.mtkj.mtpay.config.PayPalProperties - ❌ PayPal Client Secret未配置请检查application-dev.yml中的paypal.clientSecret配置
2025-12-23 11:14:23.440 [restartedMain] ERROR com.mtkj.mtpay.config.PayPalProperties - 当前配置值: clientSecret =
2025-12-23 11:14:23.492 [restartedMain] INFO com.mtkj.mtpay.config.WebConfig - 配置跨域访问,路径: /api/**, 允许所有来源
2025-12-23 11:14:23.496 [restartedMain] INFO com.mtkj.mtpay.config.WebConfig - 跨域配置完成
2025-12-23 11:14:23.849 [restartedMain] INFO org.apache.coyote.http11.Http11NioProtocol - Starting ProtocolHandler ["http-nio-8082"]
2025-12-23 11:14:23.866 [restartedMain] INFO com.mtkj.mtkjpay.MtkjpayApplication - Started MtkjpayApplication in 2.85 seconds (process running for 3.592)
2025-12-23 11:14:23.868 [restartedMain] INFO com.mtkj.mtkjpay.MtkjpayApplication -
╔══════════════════════════════════════════════════════════╗
║ ║
║ ✅ MTKJ PAY 支付系统启动成功! ✅ ║
║ ║
╠══════════════════════════════════════════════════════════╣
║ 应用信息 ║
╠══════════════════════════════════════════════════════════╣
║ 应用名称: {:<45} ║
║ 运行环境: {:<45} ║
║ 服务端口: {:<45} ║
╠══════════════════════════════════════════════════════════╣
║ 访问地址 ║
╠══════════════════════════════════════════════════════════╣
║ 后端服务: {:<45} ║
║ API接口: {:<45} ║
║ Druid监控: {:<45} ║
╠══════════════════════════════════════════════════════════╣
║ 状态: 🟢 服务运行中,可以接收请求 ║
╚══════════════════════════════════════════════════════════╝
2025-12-23 11:14:23.868 [restartedMain] INFO com.mtkj.mtkjpay.MtkjpayApplication -
📌 提示:
- 前端代理地址: http://localhost:3000
- 后端API地址: http://localhost:8082//api
- 图片上传接口: http://localhost:8082//api/product/upload/image
- 商品管理接口: http://localhost:8082//api/product
2025-12-23 11:14:23.870 [main] ERROR com.mtkj.mtkjpay.MtkjpayApplication -
╔══════════════════════════════════════════════════════════╗
║ ║
║ ❌ MTKJ PAY 支付系统启动失败! ❌ ║
║ ║
╚══════════════════════════════════════════════════════════╝
org.springframework.boot.devtools.restart.SilentExitExceptionHandler$SilentExitException: null
at org.springframework.boot.devtools.restart.SilentExitExceptionHandler.exitCurrentThread(SilentExitExceptionHandler.java:92)
at org.springframework.boot.devtools.restart.Restarter.immediateRestart(Restarter.java:179)
at org.springframework.boot.devtools.restart.Restarter.initialize(Restarter.java:163)
at org.springframework.boot.devtools.restart.Restarter.initialize(Restarter.java:532)
at org.springframework.boot.devtools.restart.RestartApplicationListener.onApplicationStartingEvent(RestartApplicationListener.java:98)
at org.springframework.boot.devtools.restart.RestartApplicationListener.onApplicationEvent(RestartApplicationListener.java:51)
at org.springframework.context.event.SimpleApplicationEventMulticaster.doInvokeListener(SimpleApplicationEventMulticaster.java:178)
at org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:171)
at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:149)
at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:137)
at org.springframework.boot.context.event.EventPublishingRunListener.multicastInitialEvent(EventPublishingRunListener.java:136)
at org.springframework.boot.context.event.EventPublishingRunListener.starting(EventPublishingRunListener.java:75)
at org.springframework.boot.SpringApplicationRunListeners.lambda$starting$0(SpringApplicationRunListeners.java:54)
at java.base/java.lang.Iterable.forEach(Iterable.java:75)
at org.springframework.boot.SpringApplicationRunListeners.doWithListeners(SpringApplicationRunListeners.java:118)
at org.springframework.boot.SpringApplicationRunListeners.starting(SpringApplicationRunListeners.java:54)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:315)
at com.mtkj.mtkjpay.MtkjpayApplication.main(MtkjpayApplication.java:33)
2025-12-23 11:17:13.645 [background-preinit] INFO org.hibernate.validator.internal.util.Version - HV000001: Hibernate Validator 8.0.1.Final
2025-12-23 11:17:13.697 [restartedMain] INFO com.mtkj.mtkjpay.MtkjpayApplication - Starting MtkjpayApplication using Java 17.0.12 with PID 2724 (E:\MTKJPAY\mt-startup\target\classes started by 18969 in E:\MTKJPAY)
2025-12-23 11:17:13.698 [restartedMain] INFO com.mtkj.mtkjpay.MtkjpayApplication - The following 1 profile is active: "dev"
2025-12-23 11:17:14.332 [restartedMain] WARN o.s.b.w.s.c.AnnotationConfigServletWebServerApplicationContext - Exception encountered during context initialization - cancelling refresh attempt: java.lang.IllegalStateException: No ConfigurationProperties annotation found on 'com.mtkj.mtpay.config.PayPalProperties'.
2025-12-23 11:17:14.359 [restartedMain] ERROR org.springframework.boot.SpringApplication - Application run failed
java.lang.IllegalStateException: No ConfigurationProperties annotation found on 'com.mtkj.mtpay.config.PayPalProperties'.
at org.springframework.util.Assert.state(Assert.java:97)
at org.springframework.boot.context.properties.ConfigurationPropertiesBeanRegistrar.registerBeanDefinition(ConfigurationPropertiesBeanRegistrar.java:87)
at org.springframework.boot.context.properties.ConfigurationPropertiesBeanRegistrar.register(ConfigurationPropertiesBeanRegistrar.java:61)
at org.springframework.boot.context.properties.ConfigurationPropertiesBeanRegistrar.register(ConfigurationPropertiesBeanRegistrar.java:55)
at java.base/java.lang.Iterable.forEach(Iterable.java:75)
at org.springframework.boot.context.properties.EnableConfigurationPropertiesRegistrar.registerBeanDefinitions(EnableConfigurationPropertiesRegistrar.java:49)
at org.springframework.context.annotation.ImportBeanDefinitionRegistrar.registerBeanDefinitions(ImportBeanDefinitionRegistrar.java:86)
at org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.lambda$loadBeanDefinitionsFromRegistrars$1(ConfigurationClassBeanDefinitionReader.java:376)
at java.base/java.util.LinkedHashMap.forEach(LinkedHashMap.java:721)
at org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.loadBeanDefinitionsFromRegistrars(ConfigurationClassBeanDefinitionReader.java:375)
at org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.loadBeanDefinitionsForConfigurationClass(ConfigurationClassBeanDefinitionReader.java:148)
at org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.loadBeanDefinitions(ConfigurationClassBeanDefinitionReader.java:120)
at org.springframework.context.annotation.ConfigurationClassPostProcessor.processConfigBeanDefinitions(ConfigurationClassPostProcessor.java:428)
at org.springframework.context.annotation.ConfigurationClassPostProcessor.postProcessBeanDefinitionRegistry(ConfigurationClassPostProcessor.java:289)
at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanDefinitionRegistryPostProcessors(PostProcessorRegistrationDelegate.java:349)
at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:118)
at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:775)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:597)
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:146)
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:753)
at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:455)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:323)
at com.mtkj.mtkjpay.MtkjpayApplication.main(MtkjpayApplication.java:33)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at org.springframework.boot.devtools.restart.RestartLauncher.run(RestartLauncher.java:50)
2025-12-23 11:17:14.361 [restartedMain] ERROR com.mtkj.mtkjpay.MtkjpayApplication -
╔══════════════════════════════════════════════════════════╗
║ ║
║ ❌ MTKJ PAY 支付系统启动失败! ❌ ║
║ ║
╚══════════════════════════════════════════════════════════╝
java.lang.IllegalStateException: No ConfigurationProperties annotation found on 'com.mtkj.mtpay.config.PayPalProperties'.
at org.springframework.util.Assert.state(Assert.java:97)
at org.springframework.boot.context.properties.ConfigurationPropertiesBeanRegistrar.registerBeanDefinition(ConfigurationPropertiesBeanRegistrar.java:87)
at org.springframework.boot.context.properties.ConfigurationPropertiesBeanRegistrar.register(ConfigurationPropertiesBeanRegistrar.java:61)
at org.springframework.boot.context.properties.ConfigurationPropertiesBeanRegistrar.register(ConfigurationPropertiesBeanRegistrar.java:55)
at java.base/java.lang.Iterable.forEach(Iterable.java:75)
at org.springframework.boot.context.properties.EnableConfigurationPropertiesRegistrar.registerBeanDefinitions(EnableConfigurationPropertiesRegistrar.java:49)
at org.springframework.context.annotation.ImportBeanDefinitionRegistrar.registerBeanDefinitions(ImportBeanDefinitionRegistrar.java:86)
at org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.lambda$loadBeanDefinitionsFromRegistrars$1(ConfigurationClassBeanDefinitionReader.java:376)
at java.base/java.util.LinkedHashMap.forEach(LinkedHashMap.java:721)
at org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.loadBeanDefinitionsFromRegistrars(ConfigurationClassBeanDefinitionReader.java:375)
at org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.loadBeanDefinitionsForConfigurationClass(ConfigurationClassBeanDefinitionReader.java:148)
at org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.loadBeanDefinitions(ConfigurationClassBeanDefinitionReader.java:120)
at org.springframework.context.annotation.ConfigurationClassPostProcessor.processConfigBeanDefinitions(ConfigurationClassPostProcessor.java:428)
at org.springframework.context.annotation.ConfigurationClassPostProcessor.postProcessBeanDefinitionRegistry(ConfigurationClassPostProcessor.java:289)
at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanDefinitionRegistryPostProcessors(PostProcessorRegistrationDelegate.java:349)
at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:118)
at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:775)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:597)
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:146)
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:753)
at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:455)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:323)
at com.mtkj.mtkjpay.MtkjpayApplication.main(MtkjpayApplication.java:33)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at org.springframework.boot.devtools.restart.RestartLauncher.run(RestartLauncher.java:50)
2025-12-23 11:17:14.364 [main] ERROR com.mtkj.mtkjpay.MtkjpayApplication -
╔══════════════════════════════════════════════════════════╗
║ ║
║ ❌ MTKJ PAY 支付系统启动失败! ❌ ║
║ ║
╚══════════════════════════════════════════════════════════╝
org.springframework.boot.devtools.restart.SilentExitExceptionHandler$SilentExitException: null
at org.springframework.boot.devtools.restart.SilentExitExceptionHandler.exitCurrentThread(SilentExitExceptionHandler.java:92)
at org.springframework.boot.devtools.restart.Restarter.immediateRestart(Restarter.java:179)
at org.springframework.boot.devtools.restart.Restarter.initialize(Restarter.java:163)
at org.springframework.boot.devtools.restart.Restarter.initialize(Restarter.java:532)
at org.springframework.boot.devtools.restart.RestartApplicationListener.onApplicationStartingEvent(RestartApplicationListener.java:98)
at org.springframework.boot.devtools.restart.RestartApplicationListener.onApplicationEvent(RestartApplicationListener.java:51)
at org.springframework.context.event.SimpleApplicationEventMulticaster.doInvokeListener(SimpleApplicationEventMulticaster.java:178)
at org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:171)
at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:149)
at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:137)
at org.springframework.boot.context.event.EventPublishingRunListener.multicastInitialEvent(EventPublishingRunListener.java:136)
at org.springframework.boot.context.event.EventPublishingRunListener.starting(EventPublishingRunListener.java:75)
at org.springframework.boot.SpringApplicationRunListeners.lambda$starting$0(SpringApplicationRunListeners.java:54)
at java.base/java.lang.Iterable.forEach(Iterable.java:75)
at org.springframework.boot.SpringApplicationRunListeners.doWithListeners(SpringApplicationRunListeners.java:118)
at org.springframework.boot.SpringApplicationRunListeners.starting(SpringApplicationRunListeners.java:54)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:315)
at com.mtkj.mtkjpay.MtkjpayApplication.main(MtkjpayApplication.java:33)
2025-12-23 11:19:04.590 [background-preinit] INFO org.hibernate.validator.internal.util.Version - HV000001: Hibernate Validator 8.0.1.Final
2025-12-23 11:19:04.628 [restartedMain] INFO com.mtkj.mtkjpay.MtkjpayApplication - Starting MtkjpayApplication using Java 17.0.12 with PID 26892 (E:\MTKJPAY\mt-startup\target\classes started by 18969 in E:\MTKJPAY)
2025-12-23 11:19:04.629 [restartedMain] INFO com.mtkj.mtkjpay.MtkjpayApplication - The following 1 profile is active: "dev"
2025-12-23 11:19:05.666 [restartedMain] INFO org.apache.coyote.http11.Http11NioProtocol - Initializing ProtocolHandler ["http-nio-8082"]
2025-12-23 11:19:05.668 [restartedMain] INFO org.apache.catalina.core.StandardService - Starting service [Tomcat]
2025-12-23 11:19:05.668 [restartedMain] INFO org.apache.catalina.core.StandardEngine - Starting Servlet engine: [Apache Tomcat/10.1.16]
2025-12-23 11:19:05.710 [restartedMain] INFO o.a.c.core.ContainerBase.[Tomcat].[localhost].[/] - Initializing Spring embedded WebApplicationContext
2025-12-23 11:19:05.759 [restartedMain] WARN o.s.b.w.s.c.AnnotationConfigServletWebServerApplicationContext - Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'payPalProperties': Injection of autowired dependencies failed
2025-12-23 11:19:05.762 [restartedMain] INFO org.apache.catalina.core.StandardService - Stopping service [Tomcat]
2025-12-23 11:19:05.802 [restartedMain] ERROR org.springframework.boot.SpringApplication - Application run failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'payPalProperties': Injection of autowired dependencies failed
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessProperties(AutowiredAnnotationBeanPostProcessor.java:499)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1420)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:600)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:523)
at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:325)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:323)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:973)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:946)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:616)
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:146)
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:753)
at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:455)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:323)
at com.mtkj.mtkjpay.MtkjpayApplication.main(MtkjpayApplication.java:33)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at org.springframework.boot.devtools.restart.RestartLauncher.run(RestartLauncher.java:50)
Caused by: java.lang.IllegalArgumentException: Could not resolve placeholder 'paypal.clientId' in value "${paypal.clientId}"
at org.springframework.util.PropertyPlaceholderHelper.parseStringValue(PropertyPlaceholderHelper.java:180)
at org.springframework.util.PropertyPlaceholderHelper.replacePlaceholders(PropertyPlaceholderHelper.java:126)
at org.springframework.core.env.AbstractPropertyResolver.doResolvePlaceholders(AbstractPropertyResolver.java:239)
at org.springframework.core.env.AbstractPropertyResolver.resolveRequiredPlaceholders(AbstractPropertyResolver.java:210)
at org.springframework.context.support.PropertySourcesPlaceholderConfigurer.lambda$processProperties$0(PropertySourcesPlaceholderConfigurer.java:200)
at org.springframework.beans.factory.support.AbstractBeanFactory.resolveEmbeddedValue(AbstractBeanFactory.java:921)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1372)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1348)
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.resolveFieldValue(AutowiredAnnotationBeanPostProcessor.java:769)
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:752)
at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:145)
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessProperties(AutowiredAnnotationBeanPostProcessor.java:493)
... 20 common frames omitted
2025-12-23 11:19:05.804 [restartedMain] ERROR com.mtkj.mtkjpay.MtkjpayApplication -
╔══════════════════════════════════════════════════════════╗
║ ║
║ ❌ MTKJ PAY 支付系统启动失败! ❌ ║
║ ║
╚══════════════════════════════════════════════════════════╝
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'payPalProperties': Injection of autowired dependencies failed
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessProperties(AutowiredAnnotationBeanPostProcessor.java:499)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1420)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:600)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:523)
at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:325)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:323)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:973)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:946)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:616)
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:146)
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:753)
at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:455)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:323)
at com.mtkj.mtkjpay.MtkjpayApplication.main(MtkjpayApplication.java:33)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at org.springframework.boot.devtools.restart.RestartLauncher.run(RestartLauncher.java:50)
Caused by: java.lang.IllegalArgumentException: Could not resolve placeholder 'paypal.clientId' in value "${paypal.clientId}"
at org.springframework.util.PropertyPlaceholderHelper.parseStringValue(PropertyPlaceholderHelper.java:180)
at org.springframework.util.PropertyPlaceholderHelper.replacePlaceholders(PropertyPlaceholderHelper.java:126)
at org.springframework.core.env.AbstractPropertyResolver.doResolvePlaceholders(AbstractPropertyResolver.java:239)
at org.springframework.core.env.AbstractPropertyResolver.resolveRequiredPlaceholders(AbstractPropertyResolver.java:210)
at org.springframework.context.support.PropertySourcesPlaceholderConfigurer.lambda$processProperties$0(PropertySourcesPlaceholderConfigurer.java:200)
at org.springframework.beans.factory.support.AbstractBeanFactory.resolveEmbeddedValue(AbstractBeanFactory.java:921)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1372)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1348)
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.resolveFieldValue(AutowiredAnnotationBeanPostProcessor.java:769)
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:752)
at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:145)
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessProperties(AutowiredAnnotationBeanPostProcessor.java:493)
... 20 common frames omitted
2025-12-23 11:19:05.805 [main] ERROR com.mtkj.mtkjpay.MtkjpayApplication -
╔══════════════════════════════════════════════════════════╗
║ ║
║ ❌ MTKJ PAY 支付系统启动失败! ❌ ║
║ ║
╚══════════════════════════════════════════════════════════╝
org.springframework.boot.devtools.restart.SilentExitExceptionHandler$SilentExitException: null
at org.springframework.boot.devtools.restart.SilentExitExceptionHandler.exitCurrentThread(SilentExitExceptionHandler.java:92)
at org.springframework.boot.devtools.restart.Restarter.immediateRestart(Restarter.java:179)
at org.springframework.boot.devtools.restart.Restarter.initialize(Restarter.java:163)
at org.springframework.boot.devtools.restart.Restarter.initialize(Restarter.java:532)
at org.springframework.boot.devtools.restart.RestartApplicationListener.onApplicationStartingEvent(RestartApplicationListener.java:98)
at org.springframework.boot.devtools.restart.RestartApplicationListener.onApplicationEvent(RestartApplicationListener.java:51)
at org.springframework.context.event.SimpleApplicationEventMulticaster.doInvokeListener(SimpleApplicationEventMulticaster.java:178)
at org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:171)
at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:149)
at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:137)
at org.springframework.boot.context.event.EventPublishingRunListener.multicastInitialEvent(EventPublishingRunListener.java:136)
at org.springframework.boot.context.event.EventPublishingRunListener.starting(EventPublishingRunListener.java:75)
at org.springframework.boot.SpringApplicationRunListeners.lambda$starting$0(SpringApplicationRunListeners.java:54)
at java.base/java.lang.Iterable.forEach(Iterable.java:75)
at org.springframework.boot.SpringApplicationRunListeners.doWithListeners(SpringApplicationRunListeners.java:118)
at org.springframework.boot.SpringApplicationRunListeners.starting(SpringApplicationRunListeners.java:54)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:315)
at com.mtkj.mtkjpay.MtkjpayApplication.main(MtkjpayApplication.java:33)
2025-12-23 11:21:48.101 [background-preinit] INFO org.hibernate.validator.internal.util.Version - HV000001: Hibernate Validator 8.0.1.Final
2025-12-23 11:21:48.146 [restartedMain] INFO com.mtkj.mtkjpay.MtkjpayApplication - Starting MtkjpayApplication using Java 17.0.12 with PID 22976 (E:\MTKJPAY\mt-startup\target\classes started by 18969 in E:\MTKJPAY)
2025-12-23 11:21:48.147 [restartedMain] INFO com.mtkj.mtkjpay.MtkjpayApplication - The following 1 profile is active: "dev"
2025-12-23 11:21:49.198 [restartedMain] INFO org.apache.coyote.http11.Http11NioProtocol - Initializing ProtocolHandler ["http-nio-8082"]
2025-12-23 11:21:49.199 [restartedMain] INFO org.apache.catalina.core.StandardService - Starting service [Tomcat]
2025-12-23 11:21:49.200 [restartedMain] INFO org.apache.catalina.core.StandardEngine - Starting Servlet engine: [Apache Tomcat/10.1.16]
2025-12-23 11:21:49.247 [restartedMain] INFO o.a.c.core.ContainerBase.[Tomcat].[localhost].[/] - Initializing Spring embedded WebApplicationContext
2025-12-23 11:21:49.305 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - ═══════════════════════════════════════════════════════════
2025-12-23 11:21:49.306 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - PayPal配置加载验证:
2025-12-23 11:21:49.306 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Client ID: ❌ 未配置
2025-12-23 11:21:49.306 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Client Secret: ❌ 未配置
2025-12-23 11:21:49.306 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Mode: sandbox
2025-12-23 11:21:49.306 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Enabled: true
2025-12-23 11:21:49.306 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Base URL: https://api-m.sandbox.paypal.com
2025-12-23 11:21:49.306 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - ═══════════════════════════════════════════════════════════
2025-12-23 11:21:49.306 [restartedMain] ERROR com.mtkj.mtpay.config.PayPalProperties - ❌ PayPal Client ID未配置请检查application-dev.yml中的paypal.clientId配置
2025-12-23 11:21:49.306 [restartedMain] ERROR com.mtkj.mtpay.config.PayPalProperties - ❌ PayPal Client Secret未配置请检查application-dev.yml中的paypal.clientSecret配置
2025-12-23 11:21:49.323 [restartedMain] INFO com.mtkj.mtpay.config.MyBatisPlusConfig - 初始化MyBatis-Plus分页插件数据库类型: MYSQL
2025-12-23 11:21:49.327 [restartedMain] INFO com.mtkj.mtpay.config.MyBatisPlusConfig - MyBatis-Plus分页插件配置完成
2025-12-23 11:21:49.330 [restartedMain] INFO com.mtkj.mtpay.config.DruidDataSourceConfig - 初始化Druid主数据源
2025-12-23 11:21:49.331 [restartedMain] INFO com.mtkj.mtpay.config.DruidDataSourceConfig - 配置属性 - URL: jdbc:mysql://rm-j6c3u06k2afwn8hxw6o.mysql.rds.aliyuncs.com:3306/mtpay?useUnicode=true&characterEncoding=utf-8&useSSL=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai, Username: mtkj2025
2025-12-23 11:21:49.350 [restartedMain] INFO com.mtkj.mtpay.config.DruidDataSourceConfig - Druid主数据源配置完成URL: jdbc:mysql://rm-j6c3u06k2afwn8hxw6o.mysql.rds.aliyuncs.com:3306/mtpay?useUnicode=true&characterEncoding=utf-8&useSSL=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai
2025-12-23 11:21:49.779 [restartedMain] INFO com.mtkj.mtpay.config.RestClientConfig - 初始化RestClient配置JSON消息转换器
2025-12-23 11:21:49.893 [restartedMain] INFO com.mtkj.mtpay.config.RestClientConfig - RestClient配置完成
2025-12-23 11:21:49.975 [restartedMain] INFO com.mtkj.mtpay.config.WebConfig - 配置跨域访问,路径: /api/**, 允许所有来源
2025-12-23 11:21:49.977 [restartedMain] INFO com.mtkj.mtpay.config.WebConfig - 跨域配置完成
2025-12-23 11:21:50.240 [restartedMain] INFO org.apache.coyote.http11.Http11NioProtocol - Starting ProtocolHandler ["http-nio-8082"]
2025-12-23 11:21:50.261 [restartedMain] INFO com.mtkj.mtkjpay.MtkjpayApplication - Started MtkjpayApplication in 2.62 seconds (process running for 3.385)
2025-12-23 11:21:50.264 [restartedMain] INFO com.mtkj.mtkjpay.MtkjpayApplication -
╔══════════════════════════════════════════════════════════╗
║ ║
║ ✅ MTKJ PAY 支付系统启动成功! ✅ ║
║ ║
╠══════════════════════════════════════════════════════════╣
║ 应用信息 ║
╠══════════════════════════════════════════════════════════╣
║ 应用名称: {:<45} ║
║ 运行环境: {:<45} ║
║ 服务端口: {:<45} ║
╠══════════════════════════════════════════════════════════╣
║ 访问地址 ║
╠══════════════════════════════════════════════════════════╣
║ 后端服务: {:<45} ║
║ API接口: {:<45} ║
║ Druid监控: {:<45} ║
╠══════════════════════════════════════════════════════════╣
║ 状态: 🟢 服务运行中,可以接收请求 ║
╚══════════════════════════════════════════════════════════╝
2025-12-23 11:21:50.264 [restartedMain] INFO com.mtkj.mtkjpay.MtkjpayApplication -
📌 提示:
- 前端代理地址: http://localhost:3000
- 后端API地址: http://localhost:8082//api
- 图片上传接口: http://localhost:8082//api/product/upload/image
- 商品管理接口: http://localhost:8082//api/product
2025-12-23 11:21:50.266 [main] ERROR com.mtkj.mtkjpay.MtkjpayApplication -
╔══════════════════════════════════════════════════════════╗
║ ║
║ ❌ MTKJ PAY 支付系统启动失败! ❌ ║
║ ║
╚══════════════════════════════════════════════════════════╝
org.springframework.boot.devtools.restart.SilentExitExceptionHandler$SilentExitException: null
at org.springframework.boot.devtools.restart.SilentExitExceptionHandler.exitCurrentThread(SilentExitExceptionHandler.java:92)
at org.springframework.boot.devtools.restart.Restarter.immediateRestart(Restarter.java:179)
at org.springframework.boot.devtools.restart.Restarter.initialize(Restarter.java:163)
at org.springframework.boot.devtools.restart.Restarter.initialize(Restarter.java:532)
at org.springframework.boot.devtools.restart.RestartApplicationListener.onApplicationStartingEvent(RestartApplicationListener.java:98)
at org.springframework.boot.devtools.restart.RestartApplicationListener.onApplicationEvent(RestartApplicationListener.java:51)
at org.springframework.context.event.SimpleApplicationEventMulticaster.doInvokeListener(SimpleApplicationEventMulticaster.java:178)
at org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:171)
at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:149)
at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:137)
at org.springframework.boot.context.event.EventPublishingRunListener.multicastInitialEvent(EventPublishingRunListener.java:136)
at org.springframework.boot.context.event.EventPublishingRunListener.starting(EventPublishingRunListener.java:75)
at org.springframework.boot.SpringApplicationRunListeners.lambda$starting$0(SpringApplicationRunListeners.java:54)
at java.base/java.lang.Iterable.forEach(Iterable.java:75)
at org.springframework.boot.SpringApplicationRunListeners.doWithListeners(SpringApplicationRunListeners.java:118)
at org.springframework.boot.SpringApplicationRunListeners.starting(SpringApplicationRunListeners.java:54)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:315)
at com.mtkj.mtkjpay.MtkjpayApplication.main(MtkjpayApplication.java:33)
2025-12-23 11:22:39.751 [background-preinit] INFO org.hibernate.validator.internal.util.Version - HV000001: Hibernate Validator 8.0.1.Final
2025-12-23 11:22:39.791 [restartedMain] INFO com.mtkj.mtkjpay.MtkjpayApplication - Starting MtkjpayApplication using Java 17.0.12 with PID 26424 (E:\MTKJPAY\mt-startup\target\classes started by 18969 in E:\MTKJPAY)
2025-12-23 11:22:39.793 [restartedMain] INFO com.mtkj.mtkjpay.MtkjpayApplication - The following 1 profile is active: "dev"
2025-12-23 11:22:40.868 [restartedMain] INFO org.apache.coyote.http11.Http11NioProtocol - Initializing ProtocolHandler ["http-nio-8082"]
2025-12-23 11:22:40.869 [restartedMain] INFO org.apache.catalina.core.StandardService - Starting service [Tomcat]
2025-12-23 11:22:40.869 [restartedMain] INFO org.apache.catalina.core.StandardEngine - Starting Servlet engine: [Apache Tomcat/10.1.16]
2025-12-23 11:22:40.922 [restartedMain] INFO o.a.c.core.ContainerBase.[Tomcat].[localhost].[/] - Initializing Spring embedded WebApplicationContext
2025-12-23 11:22:40.995 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - ═══════════════════════════════════════════════════════════
2025-12-23 11:22:40.995 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - PayPal配置加载验证:
2025-12-23 11:22:40.995 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Client ID: ❌ 未配置
2025-12-23 11:22:40.996 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Client Secret: ❌ 未配置
2025-12-23 11:22:40.996 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Mode: sandbox
2025-12-23 11:22:40.996 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Enabled: true
2025-12-23 11:22:40.996 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Base URL: https://api-m.sandbox.paypal.com
2025-12-23 11:22:40.996 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - ═══════════════════════════════════════════════════════════
2025-12-23 11:22:40.996 [restartedMain] ERROR com.mtkj.mtpay.config.PayPalProperties - ❌ PayPal Client ID未配置请检查application-dev.yml中的paypal.clientId配置
2025-12-23 11:22:40.996 [restartedMain] ERROR com.mtkj.mtpay.config.PayPalProperties - ❌ PayPal Client Secret未配置请检查application-dev.yml中的paypal.clientSecret配置
2025-12-23 11:22:41.014 [restartedMain] INFO com.mtkj.mtpay.config.MyBatisPlusConfig - 初始化MyBatis-Plus分页插件数据库类型: MYSQL
2025-12-23 11:22:41.018 [restartedMain] INFO com.mtkj.mtpay.config.MyBatisPlusConfig - MyBatis-Plus分页插件配置完成
2025-12-23 11:22:41.022 [restartedMain] INFO com.mtkj.mtpay.config.DruidDataSourceConfig - 初始化Druid主数据源
2025-12-23 11:22:41.023 [restartedMain] INFO com.mtkj.mtpay.config.DruidDataSourceConfig - 配置属性 - URL: jdbc:mysql://rm-j6c3u06k2afwn8hxw6o.mysql.rds.aliyuncs.com:3306/mtpay?useUnicode=true&characterEncoding=utf-8&useSSL=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai, Username: mtkj2025
2025-12-23 11:22:41.048 [restartedMain] INFO com.mtkj.mtpay.config.DruidDataSourceConfig - Druid主数据源配置完成URL: jdbc:mysql://rm-j6c3u06k2afwn8hxw6o.mysql.rds.aliyuncs.com:3306/mtpay?useUnicode=true&characterEncoding=utf-8&useSSL=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai
2025-12-23 11:22:41.536 [restartedMain] INFO com.mtkj.mtpay.config.RestClientConfig - 初始化RestClient配置JSON消息转换器
2025-12-23 11:22:41.661 [restartedMain] INFO com.mtkj.mtpay.config.RestClientConfig - RestClient配置完成
2025-12-23 11:22:41.760 [restartedMain] INFO com.mtkj.mtpay.config.WebConfig - 配置跨域访问,路径: /api/**, 允许所有来源
2025-12-23 11:22:41.762 [restartedMain] INFO com.mtkj.mtpay.config.WebConfig - 跨域配置完成
2025-12-23 11:22:42.037 [restartedMain] INFO org.apache.coyote.http11.Http11NioProtocol - Starting ProtocolHandler ["http-nio-8082"]
2025-12-23 11:22:42.054 [restartedMain] INFO com.mtkj.mtkjpay.MtkjpayApplication - Started MtkjpayApplication in 2.938 seconds (process running for 3.693)
2025-12-23 11:22:42.057 [restartedMain] INFO com.mtkj.mtkjpay.MtkjpayApplication -
╔══════════════════════════════════════════════════════════╗
║ ║
║ ✅ MTKJ PAY 支付系统启动成功! ✅ ║
║ ║
╠══════════════════════════════════════════════════════════╣
║ 应用信息 ║
╠══════════════════════════════════════════════════════════╣
║ 应用名称: {:<45} ║
║ 运行环境: {:<45} ║
║ 服务端口: {:<45} ║
╠══════════════════════════════════════════════════════════╣
║ 访问地址 ║
╠══════════════════════════════════════════════════════════╣
║ 后端服务: {:<45} ║
║ API接口: {:<45} ║
║ Druid监控: {:<45} ║
╠══════════════════════════════════════════════════════════╣
║ 状态: 🟢 服务运行中,可以接收请求 ║
╚══════════════════════════════════════════════════════════╝
2025-12-23 11:22:42.057 [restartedMain] INFO com.mtkj.mtkjpay.MtkjpayApplication -
📌 提示:
- 前端代理地址: http://localhost:3000
- 后端API地址: http://localhost:8082//api
- 图片上传接口: http://localhost:8082//api/product/upload/image
- 商品管理接口: http://localhost:8082//api/product
2025-12-23 11:22:42.059 [main] ERROR com.mtkj.mtkjpay.MtkjpayApplication -
╔══════════════════════════════════════════════════════════╗
║ ║
║ ❌ MTKJ PAY 支付系统启动失败! ❌ ║
║ ║
╚══════════════════════════════════════════════════════════╝
org.springframework.boot.devtools.restart.SilentExitExceptionHandler$SilentExitException: null
at org.springframework.boot.devtools.restart.SilentExitExceptionHandler.exitCurrentThread(SilentExitExceptionHandler.java:92)
at org.springframework.boot.devtools.restart.Restarter.immediateRestart(Restarter.java:179)
at org.springframework.boot.devtools.restart.Restarter.initialize(Restarter.java:163)
at org.springframework.boot.devtools.restart.Restarter.initialize(Restarter.java:532)
at org.springframework.boot.devtools.restart.RestartApplicationListener.onApplicationStartingEvent(RestartApplicationListener.java:98)
at org.springframework.boot.devtools.restart.RestartApplicationListener.onApplicationEvent(RestartApplicationListener.java:51)
at org.springframework.context.event.SimpleApplicationEventMulticaster.doInvokeListener(SimpleApplicationEventMulticaster.java:178)
at org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:171)
at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:149)
at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:137)
at org.springframework.boot.context.event.EventPublishingRunListener.multicastInitialEvent(EventPublishingRunListener.java:136)
at org.springframework.boot.context.event.EventPublishingRunListener.starting(EventPublishingRunListener.java:75)
at org.springframework.boot.SpringApplicationRunListeners.lambda$starting$0(SpringApplicationRunListeners.java:54)
at java.base/java.lang.Iterable.forEach(Iterable.java:75)
at org.springframework.boot.SpringApplicationRunListeners.doWithListeners(SpringApplicationRunListeners.java:118)
at org.springframework.boot.SpringApplicationRunListeners.starting(SpringApplicationRunListeners.java:54)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:315)
at com.mtkj.mtkjpay.MtkjpayApplication.main(MtkjpayApplication.java:33)
2025-12-23 11:24:43.856 [background-preinit] INFO org.hibernate.validator.internal.util.Version - HV000001: Hibernate Validator 8.0.1.Final
2025-12-23 11:24:43.900 [restartedMain] INFO com.mtkj.mtkjpay.MtkjpayApplication - Starting MtkjpayApplication using Java 17.0.12 with PID 24504 (E:\MTKJPAY\mt-startup\target\classes started by 18969 in E:\MTKJPAY)
2025-12-23 11:24:43.901 [restartedMain] INFO com.mtkj.mtkjpay.MtkjpayApplication - The following 1 profile is active: "dev"
2025-12-23 11:24:44.934 [restartedMain] INFO org.apache.coyote.http11.Http11NioProtocol - Initializing ProtocolHandler ["http-nio-8082"]
2025-12-23 11:24:44.936 [restartedMain] INFO org.apache.catalina.core.StandardService - Starting service [Tomcat]
2025-12-23 11:24:44.936 [restartedMain] INFO org.apache.catalina.core.StandardEngine - Starting Servlet engine: [Apache Tomcat/10.1.16]
2025-12-23 11:24:44.979 [restartedMain] INFO o.a.c.core.ContainerBase.[Tomcat].[localhost].[/] - Initializing Spring embedded WebApplicationContext
2025-12-23 11:24:45.031 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - ═══════════════════════════════════════════════════════════
2025-12-23 11:24:45.031 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - PayPal配置加载验证:
2025-12-23 11:24:45.031 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - 【调试信息】从Environment读取:
2025-12-23 11:24:45.031 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - paypal.clientId = null
2025-12-23 11:24:45.031 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - paypal.clientSecret = null
2025-12-23 11:24:45.031 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - paypal.mode = null
2025-12-23 11:24:45.031 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - paypal.enabled = null
2025-12-23 11:24:45.031 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - 【最终结果】:
2025-12-23 11:24:45.031 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Client ID: ❌ 未配置
2025-12-23 11:24:45.031 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Client Secret: ❌ 未配置
2025-12-23 11:24:45.031 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Mode: sandbox
2025-12-23 11:24:45.032 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Enabled: true
2025-12-23 11:24:45.032 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Base URL: https://api-m.sandbox.paypal.com
2025-12-23 11:24:45.032 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - ═══════════════════════════════════════════════════════════
2025-12-23 11:24:45.032 [restartedMain] ERROR com.mtkj.mtpay.config.PayPalProperties - ❌ PayPal Client ID未配置请检查application-dev.yml中的paypal.clientId配置
2025-12-23 11:24:45.032 [restartedMain] ERROR com.mtkj.mtpay.config.PayPalProperties - ❌ PayPal Client Secret未配置请检查application-dev.yml中的paypal.clientSecret配置
2025-12-23 11:24:45.047 [restartedMain] INFO com.mtkj.mtpay.config.MyBatisPlusConfig - 初始化MyBatis-Plus分页插件数据库类型: MYSQL
2025-12-23 11:24:45.050 [restartedMain] INFO com.mtkj.mtpay.config.MyBatisPlusConfig - MyBatis-Plus分页插件配置完成
2025-12-23 11:24:45.054 [restartedMain] INFO com.mtkj.mtpay.config.DruidDataSourceConfig - 初始化Druid主数据源
2025-12-23 11:24:45.054 [restartedMain] INFO com.mtkj.mtpay.config.DruidDataSourceConfig - 配置属性 - URL: jdbc:mysql://rm-j6c3u06k2afwn8hxw6o.mysql.rds.aliyuncs.com:3306/mtpay?useUnicode=true&characterEncoding=utf-8&useSSL=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai, Username: mtkj2025
2025-12-23 11:24:45.072 [restartedMain] INFO com.mtkj.mtpay.config.DruidDataSourceConfig - Druid主数据源配置完成URL: jdbc:mysql://rm-j6c3u06k2afwn8hxw6o.mysql.rds.aliyuncs.com:3306/mtpay?useUnicode=true&characterEncoding=utf-8&useSSL=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai
2025-12-23 11:24:45.480 [restartedMain] INFO com.mtkj.mtpay.config.RestClientConfig - 初始化RestClient配置JSON消息转换器
2025-12-23 11:24:45.600 [restartedMain] INFO com.mtkj.mtpay.config.RestClientConfig - RestClient配置完成
2025-12-23 11:24:45.689 [restartedMain] INFO com.mtkj.mtpay.config.WebConfig - 配置跨域访问,路径: /api/**, 允许所有来源
2025-12-23 11:24:45.692 [restartedMain] INFO com.mtkj.mtpay.config.WebConfig - 跨域配置完成
2025-12-23 11:24:45.980 [restartedMain] INFO org.apache.coyote.http11.Http11NioProtocol - Starting ProtocolHandler ["http-nio-8082"]
2025-12-23 11:24:45.999 [restartedMain] INFO com.mtkj.mtkjpay.MtkjpayApplication - Started MtkjpayApplication in 2.623 seconds (process running for 3.297)
2025-12-23 11:24:46.002 [restartedMain] INFO com.mtkj.mtkjpay.MtkjpayApplication -
╔══════════════════════════════════════════════════════════╗
║ ║
║ ✅ MTKJ PAY 支付系统启动成功! ✅ ║
║ ║
╠══════════════════════════════════════════════════════════╣
║ 应用信息 ║
╠══════════════════════════════════════════════════════════╣
║ 应用名称: {:<45} ║
║ 运行环境: {:<45} ║
║ 服务端口: {:<45} ║
╠══════════════════════════════════════════════════════════╣
║ 访问地址 ║
╠══════════════════════════════════════════════════════════╣
║ 后端服务: {:<45} ║
║ API接口: {:<45} ║
║ Druid监控: {:<45} ║
╠══════════════════════════════════════════════════════════╣
║ 状态: 🟢 服务运行中,可以接收请求 ║
╚══════════════════════════════════════════════════════════╝
2025-12-23 11:24:46.002 [restartedMain] INFO com.mtkj.mtkjpay.MtkjpayApplication -
📌 提示:
- 前端代理地址: http://localhost:3000
- 后端API地址: http://localhost:8082//api
- 图片上传接口: http://localhost:8082//api/product/upload/image
- 商品管理接口: http://localhost:8082//api/product
2025-12-23 11:24:46.005 [main] ERROR com.mtkj.mtkjpay.MtkjpayApplication -
╔══════════════════════════════════════════════════════════╗
║ ║
║ ❌ MTKJ PAY 支付系统启动失败! ❌ ║
║ ║
╚══════════════════════════════════════════════════════════╝
org.springframework.boot.devtools.restart.SilentExitExceptionHandler$SilentExitException: null
at org.springframework.boot.devtools.restart.SilentExitExceptionHandler.exitCurrentThread(SilentExitExceptionHandler.java:92)
at org.springframework.boot.devtools.restart.Restarter.immediateRestart(Restarter.java:179)
at org.springframework.boot.devtools.restart.Restarter.initialize(Restarter.java:163)
at org.springframework.boot.devtools.restart.Restarter.initialize(Restarter.java:532)
at org.springframework.boot.devtools.restart.RestartApplicationListener.onApplicationStartingEvent(RestartApplicationListener.java:98)
at org.springframework.boot.devtools.restart.RestartApplicationListener.onApplicationEvent(RestartApplicationListener.java:51)
at org.springframework.context.event.SimpleApplicationEventMulticaster.doInvokeListener(SimpleApplicationEventMulticaster.java:178)
at org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:171)
at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:149)
at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:137)
at org.springframework.boot.context.event.EventPublishingRunListener.multicastInitialEvent(EventPublishingRunListener.java:136)
at org.springframework.boot.context.event.EventPublishingRunListener.starting(EventPublishingRunListener.java:75)
at org.springframework.boot.SpringApplicationRunListeners.lambda$starting$0(SpringApplicationRunListeners.java:54)
at java.base/java.lang.Iterable.forEach(Iterable.java:75)
at org.springframework.boot.SpringApplicationRunListeners.doWithListeners(SpringApplicationRunListeners.java:118)
at org.springframework.boot.SpringApplicationRunListeners.starting(SpringApplicationRunListeners.java:54)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:315)
at com.mtkj.mtkjpay.MtkjpayApplication.main(MtkjpayApplication.java:33)
2025-12-23 11:24:54.195 [http-nio-8082-exec-1] INFO o.a.c.core.ContainerBase.[Tomcat].[localhost].[/] - Initializing Spring DispatcherServlet 'dispatcherServlet'
2025-12-23 11:24:54.463 [http-nio-8082-exec-1] INFO com.mtkj.mtpay.controller.PayPalController - 创建PayPal订单请求CreatePayPalOrderRequestDTO(intent=CAPTURE, referenceId=MTN17664579642691703, amount=13.31, currencyCode=MYR, itemName=名创优品毛巾女2025新款洗澡男士浴巾比全棉100纯棉吸水干发成人, itemDescription=【✅性价比首选】米白色+浅水蓝+天空灰【⭐毛巾实惠3条装】, itemSku=【✅性价比首选】米白色+浅水蓝+天空灰【⭐毛巾实惠3条装】, itemQuantity=1, itemUnitAmount=13.31, returnUrl=http://localhost:3000/paypal/success?orderNo=MTN17664579642691703, cancelUrl=http://localhost:3000/paypal/cancel?orderNo=MTN17664579642691703, shippingName=邱斌, shippingAddressLine1=丽水市莲都区万象街道晶都步行街阿姨奶茶隔壁潮童馆, shippingAddressLine2=null, shippingCity=丽水市, shippingState=浙江省, shippingPostalCode=323000, shippingCountryCode=CN, emailAddress=18969599531@163.com)
2025-12-23 11:24:54.478 [http-nio-8082-exec-1] INFO com.mtkj.mtpay.service.impl.PayPalServiceImpl - 创建PayPal订单ERP订单号: MTN17664579642691703
2025-12-23 11:24:54.478 [http-nio-8082-exec-1] INFO com.mtkj.mtpay.service.impl.PayPalServiceImpl - 获取PayPal访问令牌
2025-12-23 11:24:54.478 [http-nio-8082-exec-1] DEBUG com.mtkj.mtpay.service.impl.PayPalServiceImpl - PayPal配置检查 - Client ID: ..., Client Secret: ...
2025-12-23 11:24:54.479 [http-nio-8082-exec-1] ERROR com.mtkj.mtpay.service.impl.PayPalServiceImpl - PayPal Client ID未配置
2025-12-23 11:24:54.479 [http-nio-8082-exec-1] ERROR com.mtkj.mtpay.service.impl.PayPalServiceImpl - 配置属性对象: PayPalProperties(environment=ApplicationServletEnvironment {activeProfiles=[dev], defaultProfiles=[default], propertySources=[MapPropertySource {name='server.ports'}, ConfigurationPropertySourcesPropertySource {name='configurationProperties'}, StubPropertySource {name='servletConfigInitParams'}, ServletContextPropertySource {name='servletContextInitParams'}, PropertiesPropertySource {name='systemProperties'}, OriginAwareSystemEnvironmentPropertySource {name='systemEnvironment'}, RandomValuePropertySource {name='random'}, OriginTrackedMapPropertySource {name='Config resource 'class path resource [application-dev.yml]' via location 'optional:classpath:/''}, OriginTrackedMapPropertySource {name='Config resource 'class path resource [application.yml]' via location 'optional:classpath:/''}, MapPropertySource {name='devtools'}]}, clientId=, clientSecret=, mode=sandbox, sandboxBaseUrl=https://api-m.sandbox.paypal.com, productionBaseUrl=https://api-m.paypal.com, enabled=true, webhookId=)
2025-12-23 11:24:54.484 [http-nio-8082-exec-1] ERROR com.mtkj.mtpay.service.impl.PayPalServiceImpl - 请检查application-dev.yml中的paypal.client-id配置
2025-12-23 11:24:54.489 [http-nio-8082-exec-1] WARN com.mtkj.mtpay.exception.GlobalExceptionHandler - 业务异常: PayPal Client ID未配置请检查application-dev.yml中的paypal.client-id配置
2025-12-23 11:24:54.529 [http-nio-8082-exec-1] WARN o.s.w.s.m.m.a.ExceptionHandlerExceptionResolver - Resolved [com.mtkj.mtpay.exception.BusinessException: PayPal Client ID未配置请检查application-dev.yml中的paypal.client-id配置]
2025-12-23 11:28:20.938 [background-preinit] INFO org.hibernate.validator.internal.util.Version - HV000001: Hibernate Validator 8.0.1.Final
2025-12-23 11:28:20.974 [restartedMain] INFO com.mtkj.mtkjpay.MtkjpayApplication - Starting MtkjpayApplication using Java 17.0.12 with PID 26932 (E:\MTKJPAY\mt-startup\target\classes started by 18969 in E:\MTKJPAY)
2025-12-23 11:28:20.975 [restartedMain] INFO com.mtkj.mtkjpay.MtkjpayApplication - The following 1 profile is active: "dev"
2025-12-23 11:28:21.999 [restartedMain] INFO org.apache.coyote.http11.Http11NioProtocol - Initializing ProtocolHandler ["http-nio-8082"]
2025-12-23 11:28:22.000 [restartedMain] INFO org.apache.catalina.core.StandardService - Starting service [Tomcat]
2025-12-23 11:28:22.000 [restartedMain] INFO org.apache.catalina.core.StandardEngine - Starting Servlet engine: [Apache Tomcat/10.1.16]
2025-12-23 11:28:22.044 [restartedMain] INFO o.a.c.core.ContainerBase.[Tomcat].[localhost].[/] - Initializing Spring embedded WebApplicationContext
2025-12-23 11:28:22.096 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - ═══════════════════════════════════════════════════════════
2025-12-23 11:28:22.096 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - PayPal配置加载验证:
2025-12-23 11:28:22.096 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - 【调试信息】从Environment读取:
2025-12-23 11:28:22.096 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - paypal.clientId (camelCase) = null
2025-12-23 11:28:22.096 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - paypal.client-id (kebab-case) = null
2025-12-23 11:28:22.096 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - paypal.clientSecret (camelCase) = null
2025-12-23 11:28:22.096 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - paypal.client-secret (kebab-case) = null
2025-12-23 11:28:22.096 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - paypal.mode = null
2025-12-23 11:28:22.096 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - paypal.enabled = null
2025-12-23 11:28:22.096 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - 【最终结果】:
2025-12-23 11:28:22.096 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Client ID: ❌ 未配置
2025-12-23 11:28:22.097 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Client Secret: ❌ 未配置
2025-12-23 11:28:22.097 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Mode: sandbox
2025-12-23 11:28:22.097 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Enabled: true
2025-12-23 11:28:22.097 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Base URL: https://api-m.sandbox.paypal.com
2025-12-23 11:28:22.097 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - ═══════════════════════════════════════════════════════════
2025-12-23 11:28:22.097 [restartedMain] ERROR com.mtkj.mtpay.config.PayPalProperties - ❌ PayPal Client ID未配置请检查application-dev.yml中的paypal.clientId配置
2025-12-23 11:28:22.097 [restartedMain] ERROR com.mtkj.mtpay.config.PayPalProperties - ❌ PayPal Client Secret未配置请检查application-dev.yml中的paypal.clientSecret配置
2025-12-23 11:28:22.113 [restartedMain] INFO com.mtkj.mtpay.config.MyBatisPlusConfig - 初始化MyBatis-Plus分页插件数据库类型: MYSQL
2025-12-23 11:28:22.116 [restartedMain] INFO com.mtkj.mtpay.config.MyBatisPlusConfig - MyBatis-Plus分页插件配置完成
2025-12-23 11:28:22.119 [restartedMain] INFO com.mtkj.mtpay.config.DruidDataSourceConfig - 初始化Druid主数据源
2025-12-23 11:28:22.119 [restartedMain] INFO com.mtkj.mtpay.config.DruidDataSourceConfig - 配置属性 - URL: jdbc:mysql://rm-j6c3u06k2afwn8hxw6o.mysql.rds.aliyuncs.com:3306/mtpay?useUnicode=true&characterEncoding=utf-8&useSSL=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai, Username: mtkj2025
2025-12-23 11:28:22.137 [restartedMain] INFO com.mtkj.mtpay.config.DruidDataSourceConfig - Druid主数据源配置完成URL: jdbc:mysql://rm-j6c3u06k2afwn8hxw6o.mysql.rds.aliyuncs.com:3306/mtpay?useUnicode=true&characterEncoding=utf-8&useSSL=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai
2025-12-23 11:28:22.553 [restartedMain] INFO com.mtkj.mtpay.config.RestClientConfig - 初始化RestClient配置JSON消息转换器
2025-12-23 11:28:22.676 [restartedMain] INFO com.mtkj.mtpay.config.RestClientConfig - RestClient配置完成
2025-12-23 11:28:22.767 [restartedMain] INFO com.mtkj.mtpay.config.WebConfig - 配置跨域访问,路径: /api/**, 允许所有来源
2025-12-23 11:28:22.770 [restartedMain] INFO com.mtkj.mtpay.config.WebConfig - 跨域配置完成
2025-12-23 11:28:23.049 [restartedMain] INFO org.apache.coyote.http11.Http11NioProtocol - Starting ProtocolHandler ["http-nio-8082"]
2025-12-23 11:28:23.069 [restartedMain] INFO com.mtkj.mtkjpay.MtkjpayApplication - Started MtkjpayApplication in 2.607 seconds (process running for 3.253)
2025-12-23 11:28:23.072 [restartedMain] INFO com.mtkj.mtkjpay.MtkjpayApplication -
╔══════════════════════════════════════════════════════════╗
║ ║
║ ✅ MTKJ PAY 支付系统启动成功! ✅ ║
║ ║
╠══════════════════════════════════════════════════════════╣
║ 应用信息 ║
╠══════════════════════════════════════════════════════════╣
║ 应用名称: {:<45} ║
║ 运行环境: {:<45} ║
║ 服务端口: {:<45} ║
╠══════════════════════════════════════════════════════════╣
║ 访问地址 ║
╠══════════════════════════════════════════════════════════╣
║ 后端服务: {:<45} ║
║ API接口: {:<45} ║
║ Druid监控: {:<45} ║
╠══════════════════════════════════════════════════════════╣
║ 状态: 🟢 服务运行中,可以接收请求 ║
╚══════════════════════════════════════════════════════════╝
2025-12-23 11:28:23.072 [restartedMain] INFO com.mtkj.mtkjpay.MtkjpayApplication -
📌 提示:
- 前端代理地址: http://localhost:3000
- 后端API地址: http://localhost:8082//api
- 图片上传接口: http://localhost:8082//api/product/upload/image
- 商品管理接口: http://localhost:8082//api/product
2025-12-23 11:28:23.075 [main] ERROR com.mtkj.mtkjpay.MtkjpayApplication -
╔══════════════════════════════════════════════════════════╗
║ ║
║ ❌ MTKJ PAY 支付系统启动失败! ❌ ║
║ ║
╚══════════════════════════════════════════════════════════╝
org.springframework.boot.devtools.restart.SilentExitExceptionHandler$SilentExitException: null
at org.springframework.boot.devtools.restart.SilentExitExceptionHandler.exitCurrentThread(SilentExitExceptionHandler.java:92)
at org.springframework.boot.devtools.restart.Restarter.immediateRestart(Restarter.java:179)
at org.springframework.boot.devtools.restart.Restarter.initialize(Restarter.java:163)
at org.springframework.boot.devtools.restart.Restarter.initialize(Restarter.java:532)
at org.springframework.boot.devtools.restart.RestartApplicationListener.onApplicationStartingEvent(RestartApplicationListener.java:98)
at org.springframework.boot.devtools.restart.RestartApplicationListener.onApplicationEvent(RestartApplicationListener.java:51)
at org.springframework.context.event.SimpleApplicationEventMulticaster.doInvokeListener(SimpleApplicationEventMulticaster.java:178)
at org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:171)
at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:149)
at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:137)
at org.springframework.boot.context.event.EventPublishingRunListener.multicastInitialEvent(EventPublishingRunListener.java:136)
at org.springframework.boot.context.event.EventPublishingRunListener.starting(EventPublishingRunListener.java:75)
at org.springframework.boot.SpringApplicationRunListeners.lambda$starting$0(SpringApplicationRunListeners.java:54)
at java.base/java.lang.Iterable.forEach(Iterable.java:75)
at org.springframework.boot.SpringApplicationRunListeners.doWithListeners(SpringApplicationRunListeners.java:118)
at org.springframework.boot.SpringApplicationRunListeners.starting(SpringApplicationRunListeners.java:54)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:315)
at com.mtkj.mtkjpay.MtkjpayApplication.main(MtkjpayApplication.java:33)
2025-12-23 11:30:10.290 [Thread-8] INFO org.apache.coyote.http11.Http11NioProtocol - Stopping ProtocolHandler ["http-nio-8082"]
2025-12-23 11:30:10.351 [restartedMain] INFO com.mtkj.mtkjpay.MtkjpayApplication -
╔══════════════════════════════════════════════════════════╗
║ ║
║ MTKJ PAY 支付系统正在启动... ║
║ ║
╚══════════════════════════════════════════════════════════╝
2025-12-23 11:30:10.393 [restartedMain] INFO com.mtkj.mtkjpay.MtkjpayApplication - Starting MtkjpayApplication using Java 17.0.12 with PID 26932 (E:\MTKJPAY\mt-startup\target\classes started by 18969 in E:\MTKJPAY)
2025-12-23 11:30:10.393 [restartedMain] INFO com.mtkj.mtkjpay.MtkjpayApplication - The following 1 profile is active: "dev"
2025-12-23 11:30:10.693 [restartedMain] INFO org.apache.coyote.http11.Http11NioProtocol - Initializing ProtocolHandler ["http-nio-8082"]
2025-12-23 11:30:10.693 [restartedMain] INFO org.apache.catalina.core.StandardService - Starting service [Tomcat]
2025-12-23 11:30:10.693 [restartedMain] INFO org.apache.catalina.core.StandardEngine - Starting Servlet engine: [Apache Tomcat/10.1.16]
2025-12-23 11:30:10.747 [restartedMain] INFO o.a.c.core.ContainerBase.[Tomcat].[localhost].[/] - Initializing Spring embedded WebApplicationContext
2025-12-23 11:30:10.758 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - ═══════════════════════════════════════════════════════════
2025-12-23 11:30:10.758 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - PayPal配置加载验证:
2025-12-23 11:30:10.759 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - 【调试信息】从Environment读取:
2025-12-23 11:30:10.759 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - paypal.clientId (camelCase) = null
2025-12-23 11:30:10.759 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - paypal.client-id (kebab-case) = null
2025-12-23 11:30:10.759 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - paypal.clientSecret (camelCase) = null
2025-12-23 11:30:10.759 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - paypal.client-secret (kebab-case) = null
2025-12-23 11:30:10.759 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - paypal.mode = null
2025-12-23 11:30:10.759 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - paypal.enabled = null
2025-12-23 11:30:10.759 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - 【最终结果】:
2025-12-23 11:30:10.759 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Client ID: ❌ 未配置
2025-12-23 11:30:10.759 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Client Secret: ❌ 未配置
2025-12-23 11:30:10.759 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Mode: sandbox
2025-12-23 11:30:10.759 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Enabled: true
2025-12-23 11:30:10.759 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Base URL: https://api-m.sandbox.paypal.com
2025-12-23 11:30:10.759 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - ═══════════════════════════════════════════════════════════
2025-12-23 11:30:10.759 [restartedMain] ERROR com.mtkj.mtpay.config.PayPalProperties - ❌ PayPal Client ID未配置请检查application-dev.yml中的paypal.clientId配置
2025-12-23 11:30:10.759 [restartedMain] ERROR com.mtkj.mtpay.config.PayPalProperties - ❌ PayPal Client Secret未配置请检查application-dev.yml中的paypal.clientSecret配置
2025-12-23 11:30:10.766 [restartedMain] INFO com.mtkj.mtpay.config.MyBatisPlusConfig - 初始化MyBatis-Plus分页插件数据库类型: MYSQL
2025-12-23 11:30:10.766 [restartedMain] INFO com.mtkj.mtpay.config.MyBatisPlusConfig - MyBatis-Plus分页插件配置完成
2025-12-23 11:30:10.768 [restartedMain] INFO com.mtkj.mtpay.config.DruidDataSourceConfig - 初始化Druid主数据源
2025-12-23 11:30:10.768 [restartedMain] INFO com.mtkj.mtpay.config.DruidDataSourceConfig - 配置属性 - URL: jdbc:mysql://rm-j6c3u06k2afwn8hxw6o.mysql.rds.aliyuncs.com:3306/mtpay?useUnicode=true&characterEncoding=utf-8&useSSL=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai, Username: mtkj2025
2025-12-23 11:30:10.768 [restartedMain] INFO com.mtkj.mtpay.config.DruidDataSourceConfig - Druid主数据源配置完成URL: jdbc:mysql://rm-j6c3u06k2afwn8hxw6o.mysql.rds.aliyuncs.com:3306/mtpay?useUnicode=true&characterEncoding=utf-8&useSSL=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai
2025-12-23 11:30:11.042 [restartedMain] INFO com.mtkj.mtpay.config.RestClientConfig - 初始化RestClient配置JSON消息转换器
2025-12-23 11:30:11.045 [restartedMain] INFO com.mtkj.mtpay.config.RestClientConfig - RestClient配置完成
2025-12-23 11:30:11.100 [restartedMain] INFO com.mtkj.mtpay.config.WebConfig - 配置跨域访问,路径: /api/**, 允许所有来源
2025-12-23 11:30:11.100 [restartedMain] INFO com.mtkj.mtpay.config.WebConfig - 跨域配置完成
2025-12-23 11:30:11.163 [restartedMain] INFO org.apache.coyote.http11.Http11NioProtocol - Starting ProtocolHandler ["http-nio-8082"]
2025-12-23 11:30:11.169 [restartedMain] INFO com.mtkj.mtkjpay.MtkjpayApplication - Started MtkjpayApplication in 0.813 seconds (process running for 111.353)
2025-12-23 11:30:11.172 [restartedMain] INFO com.mtkj.mtkjpay.MtkjpayApplication -
╔══════════════════════════════════════════════════════════╗
║ ║
║ ✅ MTKJ PAY 支付系统启动成功! ✅ ║
║ ║
╠══════════════════════════════════════════════════════════╣
║ 应用信息 ║
╠══════════════════════════════════════════════════════════╣
║ 应用名称: {:<45} ║
║ 运行环境: {:<45} ║
║ 服务端口: {:<45} ║
╠══════════════════════════════════════════════════════════╣
║ 访问地址 ║
╠══════════════════════════════════════════════════════════╣
║ 后端服务: {:<45} ║
║ API接口: {:<45} ║
║ Druid监控: {:<45} ║
╠══════════════════════════════════════════════════════════╣
║ 状态: 🟢 服务运行中,可以接收请求 ║
╚══════════════════════════════════════════════════════════╝
2025-12-23 11:30:11.172 [restartedMain] INFO com.mtkj.mtkjpay.MtkjpayApplication -
📌 提示:
- 前端代理地址: http://localhost:3000
- 后端API地址: http://localhost:8082//api
- 图片上传接口: http://localhost:8082//api/product/upload/image
- 商品管理接口: http://localhost:8082//api/product
2025-12-23 11:32:52.936 [background-preinit] INFO org.hibernate.validator.internal.util.Version - HV000001: Hibernate Validator 8.0.1.Final
2025-12-23 11:32:52.971 [restartedMain] INFO com.mtkj.mtkjpay.MtkjpayApplication - Starting MtkjpayApplication using Java 17.0.12 with PID 7736 (E:\MTKJPAY\mt-startup\target\classes started by 18969 in E:\MTKJPAY)
2025-12-23 11:32:52.972 [restartedMain] INFO com.mtkj.mtkjpay.MtkjpayApplication - The following 1 profile is active: "dev"
2025-12-23 11:32:54.033 [restartedMain] INFO org.apache.coyote.http11.Http11NioProtocol - Initializing ProtocolHandler ["http-nio-8082"]
2025-12-23 11:32:54.034 [restartedMain] INFO org.apache.catalina.core.StandardService - Starting service [Tomcat]
2025-12-23 11:32:54.034 [restartedMain] INFO org.apache.catalina.core.StandardEngine - Starting Servlet engine: [Apache Tomcat/10.1.16]
2025-12-23 11:32:54.076 [restartedMain] INFO o.a.c.core.ContainerBase.[Tomcat].[localhost].[/] - Initializing Spring embedded WebApplicationContext
2025-12-23 11:32:54.127 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - ═══════════════════════════════════════════════════════════
2025-12-23 11:32:54.127 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - PayPal配置加载验证:
2025-12-23 11:32:54.127 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - 【调试信息】从Environment读取:
2025-12-23 11:32:54.127 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - paypal.clientId (camelCase) = null
2025-12-23 11:32:54.127 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - paypal.client-id (kebab-case) = null
2025-12-23 11:32:54.127 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - paypal.clientSecret (camelCase) = null
2025-12-23 11:32:54.127 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - paypal.client-secret (kebab-case) = null
2025-12-23 11:32:54.127 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - paypal.mode = null
2025-12-23 11:32:54.127 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - paypal.enabled = null
2025-12-23 11:32:54.127 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - 【最终结果】:
2025-12-23 11:32:54.127 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Client ID: ❌ 未配置
2025-12-23 11:32:54.127 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Client Secret: ❌ 未配置
2025-12-23 11:32:54.127 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Mode: sandbox
2025-12-23 11:32:54.127 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Enabled: true
2025-12-23 11:32:54.127 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Base URL: https://api-m.sandbox.paypal.com
2025-12-23 11:32:54.127 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - ═══════════════════════════════════════════════════════════
2025-12-23 11:32:54.127 [restartedMain] ERROR com.mtkj.mtpay.config.PayPalProperties - ❌ PayPal Client ID未配置请检查application-dev.yml中的paypal.clientId配置
2025-12-23 11:32:54.127 [restartedMain] ERROR com.mtkj.mtpay.config.PayPalProperties - ❌ PayPal Client Secret未配置请检查application-dev.yml中的paypal.clientSecret配置
2025-12-23 11:32:54.143 [restartedMain] INFO com.mtkj.mtpay.config.MyBatisPlusConfig - 初始化MyBatis-Plus分页插件数据库类型: MYSQL
2025-12-23 11:32:54.146 [restartedMain] INFO com.mtkj.mtpay.config.MyBatisPlusConfig - MyBatis-Plus分页插件配置完成
2025-12-23 11:32:54.149 [restartedMain] INFO com.mtkj.mtpay.config.DruidDataSourceConfig - 初始化Druid主数据源
2025-12-23 11:32:54.149 [restartedMain] INFO com.mtkj.mtpay.config.DruidDataSourceConfig - 配置属性 - URL: jdbc:mysql://rm-j6c3u06k2afwn8hxw6o.mysql.rds.aliyuncs.com:3306/mtpay?useUnicode=true&characterEncoding=utf-8&useSSL=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai, Username: mtkj2025
2025-12-23 11:32:54.167 [restartedMain] INFO com.mtkj.mtpay.config.DruidDataSourceConfig - Druid主数据源配置完成URL: jdbc:mysql://rm-j6c3u06k2afwn8hxw6o.mysql.rds.aliyuncs.com:3306/mtpay?useUnicode=true&characterEncoding=utf-8&useSSL=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai
2025-12-23 11:32:54.590 [restartedMain] INFO com.mtkj.mtpay.config.RestClientConfig - 初始化RestClient配置JSON消息转换器
2025-12-23 11:32:54.713 [restartedMain] INFO com.mtkj.mtpay.config.RestClientConfig - RestClient配置完成
2025-12-23 11:32:54.808 [restartedMain] INFO com.mtkj.mtpay.config.WebConfig - 配置跨域访问,路径: /api/**, 允许所有来源
2025-12-23 11:32:54.811 [restartedMain] INFO com.mtkj.mtpay.config.WebConfig - 跨域配置完成
2025-12-23 11:32:55.094 [restartedMain] INFO org.apache.coyote.http11.Http11NioProtocol - Starting ProtocolHandler ["http-nio-8082"]
2025-12-23 11:32:55.111 [restartedMain] INFO com.mtkj.mtkjpay.MtkjpayApplication - Started MtkjpayApplication in 2.65 seconds (process running for 3.4)
2025-12-23 11:32:55.113 [restartedMain] INFO com.mtkj.mtkjpay.MtkjpayApplication -
╔══════════════════════════════════════════════════════════╗
║ ║
║ ✅ MTKJ PAY 支付系统启动成功! ✅ ║
║ ║
╠══════════════════════════════════════════════════════════╣
║ 应用信息 ║
╠══════════════════════════════════════════════════════════╣
║ 应用名称: {:<45} ║
║ 运行环境: {:<45} ║
║ 服务端口: {:<45} ║
╠══════════════════════════════════════════════════════════╣
║ 访问地址 ║
╠══════════════════════════════════════════════════════════╣
║ 后端服务: {:<45} ║
║ API接口: {:<45} ║
║ Druid监控: {:<45} ║
╠══════════════════════════════════════════════════════════╣
║ 状态: 🟢 服务运行中,可以接收请求 ║
╚══════════════════════════════════════════════════════════╝
2025-12-23 11:32:55.113 [restartedMain] INFO com.mtkj.mtkjpay.MtkjpayApplication -
📌 提示:
- 前端代理地址: http://localhost:3000
- 后端API地址: http://localhost:8082//api
- 图片上传接口: http://localhost:8082//api/product/upload/image
- 商品管理接口: http://localhost:8082//api/product
2025-12-23 11:32:55.116 [main] ERROR com.mtkj.mtkjpay.MtkjpayApplication -
╔══════════════════════════════════════════════════════════╗
║ ║
║ ❌ MTKJ PAY 支付系统启动失败! ❌ ║
║ ║
╚══════════════════════════════════════════════════════════╝
org.springframework.boot.devtools.restart.SilentExitExceptionHandler$SilentExitException: null
at org.springframework.boot.devtools.restart.SilentExitExceptionHandler.exitCurrentThread(SilentExitExceptionHandler.java:92)
at org.springframework.boot.devtools.restart.Restarter.immediateRestart(Restarter.java:179)
at org.springframework.boot.devtools.restart.Restarter.initialize(Restarter.java:163)
at org.springframework.boot.devtools.restart.Restarter.initialize(Restarter.java:532)
at org.springframework.boot.devtools.restart.RestartApplicationListener.onApplicationStartingEvent(RestartApplicationListener.java:98)
at org.springframework.boot.devtools.restart.RestartApplicationListener.onApplicationEvent(RestartApplicationListener.java:51)
at org.springframework.context.event.SimpleApplicationEventMulticaster.doInvokeListener(SimpleApplicationEventMulticaster.java:178)
at org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:171)
at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:149)
at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:137)
at org.springframework.boot.context.event.EventPublishingRunListener.multicastInitialEvent(EventPublishingRunListener.java:136)
at org.springframework.boot.context.event.EventPublishingRunListener.starting(EventPublishingRunListener.java:75)
at org.springframework.boot.SpringApplicationRunListeners.lambda$starting$0(SpringApplicationRunListeners.java:54)
at java.base/java.lang.Iterable.forEach(Iterable.java:75)
at org.springframework.boot.SpringApplicationRunListeners.doWithListeners(SpringApplicationRunListeners.java:118)
at org.springframework.boot.SpringApplicationRunListeners.starting(SpringApplicationRunListeners.java:54)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:315)
at com.mtkj.mtkjpay.MtkjpayApplication.main(MtkjpayApplication.java:33)
2025-12-23 11:37:37.816 [Thread-8] INFO org.apache.coyote.http11.Http11NioProtocol - Stopping ProtocolHandler ["http-nio-8082"]
2025-12-23 11:37:37.894 [restartedMain] INFO com.mtkj.mtkjpay.MtkjpayApplication -
╔══════════════════════════════════════════════════════════╗
║ ║
║ MTKJ PAY 支付系统正在启动... ║
║ ║
╚══════════════════════════════════════════════════════════╝
2025-12-23 11:37:37.936 [restartedMain] INFO com.mtkj.mtkjpay.MtkjpayApplication - Starting MtkjpayApplication using Java 17.0.12 with PID 7736 (E:\MTKJPAY\mt-startup\target\classes started by 18969 in E:\MTKJPAY)
2025-12-23 11:37:37.936 [restartedMain] INFO com.mtkj.mtkjpay.MtkjpayApplication - The following 1 profile is active: "dev"
2025-12-23 11:37:38.269 [restartedMain] INFO org.apache.coyote.http11.Http11NioProtocol - Initializing ProtocolHandler ["http-nio-8082"]
2025-12-23 11:37:38.269 [restartedMain] INFO org.apache.catalina.core.StandardService - Starting service [Tomcat]
2025-12-23 11:37:38.269 [restartedMain] INFO org.apache.catalina.core.StandardEngine - Starting Servlet engine: [Apache Tomcat/10.1.16]
2025-12-23 11:37:38.290 [restartedMain] INFO o.a.c.core.ContainerBase.[Tomcat].[localhost].[/] - Initializing Spring embedded WebApplicationContext
2025-12-23 11:37:38.299 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - ═══════════════════════════════════════════════════════════
2025-12-23 11:37:38.299 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - PayPal配置加载验证:
2025-12-23 11:37:38.300 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Client ID: ❌ 未配置
2025-12-23 11:37:38.300 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Client Secret: ❌ 未配置
2025-12-23 11:37:38.300 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Mode: sandbox
2025-12-23 11:37:38.300 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Enabled: true
2025-12-23 11:37:38.300 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Base URL: https://api-m.sandbox.paypal.com
2025-12-23 11:37:38.300 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - ═══════════════════════════════════════════════════════════
2025-12-23 11:37:38.300 [restartedMain] ERROR com.mtkj.mtpay.config.PayPalProperties - ❌ PayPal Client ID未配置请检查application-dev.yml中的paypal.client-id配置
2025-12-23 11:37:38.300 [restartedMain] ERROR com.mtkj.mtpay.config.PayPalProperties - ❌ PayPal Client Secret未配置请检查application-dev.yml中的paypal.client-secret配置
2025-12-23 11:37:38.308 [restartedMain] INFO com.mtkj.mtpay.config.MyBatisPlusConfig - 初始化MyBatis-Plus分页插件数据库类型: MYSQL
2025-12-23 11:37:38.309 [restartedMain] INFO com.mtkj.mtpay.config.MyBatisPlusConfig - MyBatis-Plus分页插件配置完成
2025-12-23 11:37:38.312 [restartedMain] INFO com.mtkj.mtpay.config.DruidDataSourceConfig - 初始化Druid主数据源
2025-12-23 11:37:38.312 [restartedMain] INFO com.mtkj.mtpay.config.DruidDataSourceConfig - 配置属性 - URL: jdbc:mysql://rm-j6c3u06k2afwn8hxw6o.mysql.rds.aliyuncs.com:3306/mtpay?useUnicode=true&characterEncoding=utf-8&useSSL=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai, Username: mtkj2025
2025-12-23 11:37:38.312 [restartedMain] INFO com.mtkj.mtpay.config.DruidDataSourceConfig - Druid主数据源配置完成URL: jdbc:mysql://rm-j6c3u06k2afwn8hxw6o.mysql.rds.aliyuncs.com:3306/mtpay?useUnicode=true&characterEncoding=utf-8&useSSL=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai
2025-12-23 11:37:38.608 [restartedMain] INFO com.mtkj.mtpay.config.RestClientConfig - 初始化RestClient配置JSON消息转换器
2025-12-23 11:37:38.612 [restartedMain] INFO com.mtkj.mtpay.config.RestClientConfig - RestClient配置完成
2025-12-23 11:37:38.662 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - ═══════════════════════════════════════════════════════════
2025-12-23 11:37:38.663 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - PayPal配置加载验证:
2025-12-23 11:37:38.663 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Client ID: ❌ 未配置
2025-12-23 11:37:38.663 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Client Secret: ❌ 未配置
2025-12-23 11:37:38.663 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Mode: sandbox
2025-12-23 11:37:38.663 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Enabled: true
2025-12-23 11:37:38.663 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Base URL: https://api-m.sandbox.paypal.com
2025-12-23 11:37:38.663 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - ═══════════════════════════════════════════════════════════
2025-12-23 11:37:38.663 [restartedMain] ERROR com.mtkj.mtpay.config.PayPalProperties - ❌ PayPal Client ID未配置请检查application-dev.yml中的paypal.client-id配置
2025-12-23 11:37:38.663 [restartedMain] ERROR com.mtkj.mtpay.config.PayPalProperties - ❌ PayPal Client Secret未配置请检查application-dev.yml中的paypal.client-secret配置
2025-12-23 11:37:38.681 [restartedMain] INFO com.mtkj.mtpay.config.WebConfig - 配置跨域访问,路径: /api/**, 允许所有来源
2025-12-23 11:37:38.682 [restartedMain] INFO com.mtkj.mtpay.config.WebConfig - 跨域配置完成
2025-12-23 11:37:38.756 [restartedMain] INFO org.apache.coyote.http11.Http11NioProtocol - Starting ProtocolHandler ["http-nio-8082"]
2025-12-23 11:37:38.763 [restartedMain] INFO com.mtkj.mtkjpay.MtkjpayApplication - Started MtkjpayApplication in 0.864 seconds (process running for 287.052)
2025-12-23 11:37:38.765 [restartedMain] INFO com.mtkj.mtkjpay.MtkjpayApplication -
╔══════════════════════════════════════════════════════════╗
║ ║
║ ✅ MTKJ PAY 支付系统启动成功! ✅ ║
║ ║
╠══════════════════════════════════════════════════════════╣
║ 应用信息 ║
╠══════════════════════════════════════════════════════════╣
║ 应用名称: {:<45} ║
║ 运行环境: {:<45} ║
║ 服务端口: {:<45} ║
╠══════════════════════════════════════════════════════════╣
║ 访问地址 ║
╠══════════════════════════════════════════════════════════╣
║ 后端服务: {:<45} ║
║ API接口: {:<45} ║
║ Druid监控: {:<45} ║
╠══════════════════════════════════════════════════════════╣
║ 状态: 🟢 服务运行中,可以接收请求 ║
╚══════════════════════════════════════════════════════════╝
2025-12-23 11:37:38.765 [restartedMain] INFO com.mtkj.mtkjpay.MtkjpayApplication -
📌 提示:
- 前端代理地址: http://localhost:3000
- 后端API地址: http://localhost:8082//api
- 图片上传接口: http://localhost:8082//api/product/upload/image
- 商品管理接口: http://localhost:8082//api/product
2025-12-23 11:37:40.192 [Thread-10] INFO org.apache.coyote.http11.Http11NioProtocol - Stopping ProtocolHandler ["http-nio-8082"]
2025-12-23 11:37:40.250 [restartedMain] INFO com.mtkj.mtkjpay.MtkjpayApplication -
╔══════════════════════════════════════════════════════════╗
║ ║
║ MTKJ PAY 支付系统正在启动... ║
║ ║
╚══════════════════════════════════════════════════════════╝
2025-12-23 11:37:40.284 [restartedMain] INFO com.mtkj.mtkjpay.MtkjpayApplication - Starting MtkjpayApplication using Java 17.0.12 with PID 7736 (E:\MTKJPAY\mt-startup\target\classes started by 18969 in E:\MTKJPAY)
2025-12-23 11:37:40.284 [restartedMain] INFO com.mtkj.mtkjpay.MtkjpayApplication - The following 1 profile is active: "dev"
2025-12-23 11:37:40.564 [restartedMain] INFO org.apache.coyote.http11.Http11NioProtocol - Initializing ProtocolHandler ["http-nio-8082"]
2025-12-23 11:37:40.564 [restartedMain] INFO org.apache.catalina.core.StandardService - Starting service [Tomcat]
2025-12-23 11:37:40.566 [restartedMain] INFO org.apache.catalina.core.StandardEngine - Starting Servlet engine: [Apache Tomcat/10.1.16]
2025-12-23 11:37:40.581 [restartedMain] INFO o.a.c.core.ContainerBase.[Tomcat].[localhost].[/] - Initializing Spring embedded WebApplicationContext
2025-12-23 11:37:40.592 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - ═══════════════════════════════════════════════════════════
2025-12-23 11:37:40.592 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - PayPal配置加载验证:
2025-12-23 11:37:40.592 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Client ID: ❌ 未配置
2025-12-23 11:37:40.592 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Client Secret: ❌ 未配置
2025-12-23 11:37:40.592 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Mode: sandbox
2025-12-23 11:37:40.592 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Enabled: true
2025-12-23 11:37:40.592 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Base URL: https://api-m.sandbox.paypal.com
2025-12-23 11:37:40.592 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - ═══════════════════════════════════════════════════════════
2025-12-23 11:37:40.592 [restartedMain] ERROR com.mtkj.mtpay.config.PayPalProperties - ❌ PayPal Client ID未配置请检查application-dev.yml中的paypal.client-id配置
2025-12-23 11:37:40.592 [restartedMain] ERROR com.mtkj.mtpay.config.PayPalProperties - ❌ PayPal Client Secret未配置请检查application-dev.yml中的paypal.client-secret配置
2025-12-23 11:37:40.598 [restartedMain] INFO com.mtkj.mtpay.config.MyBatisPlusConfig - 初始化MyBatis-Plus分页插件数据库类型: MYSQL
2025-12-23 11:37:40.598 [restartedMain] INFO com.mtkj.mtpay.config.MyBatisPlusConfig - MyBatis-Plus分页插件配置完成
2025-12-23 11:37:40.600 [restartedMain] INFO com.mtkj.mtpay.config.DruidDataSourceConfig - 初始化Druid主数据源
2025-12-23 11:37:40.600 [restartedMain] INFO com.mtkj.mtpay.config.DruidDataSourceConfig - 配置属性 - URL: jdbc:mysql://rm-j6c3u06k2afwn8hxw6o.mysql.rds.aliyuncs.com:3306/mtpay?useUnicode=true&characterEncoding=utf-8&useSSL=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai, Username: mtkj2025
2025-12-23 11:37:40.600 [restartedMain] INFO com.mtkj.mtpay.config.DruidDataSourceConfig - Druid主数据源配置完成URL: jdbc:mysql://rm-j6c3u06k2afwn8hxw6o.mysql.rds.aliyuncs.com:3306/mtpay?useUnicode=true&characterEncoding=utf-8&useSSL=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai
2025-12-23 11:37:40.846 [restartedMain] INFO com.mtkj.mtpay.config.RestClientConfig - 初始化RestClient配置JSON消息转换器
2025-12-23 11:37:40.848 [restartedMain] INFO com.mtkj.mtpay.config.RestClientConfig - RestClient配置完成
2025-12-23 11:37:40.879 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - ═══════════════════════════════════════════════════════════
2025-12-23 11:37:40.879 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - PayPal配置加载验证:
2025-12-23 11:37:40.879 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Client ID: ❌ 未配置
2025-12-23 11:37:40.879 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Client Secret: ❌ 未配置
2025-12-23 11:37:40.879 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Mode: sandbox
2025-12-23 11:37:40.879 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Enabled: true
2025-12-23 11:37:40.879 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Base URL: https://api-m.sandbox.paypal.com
2025-12-23 11:37:40.879 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - ═══════════════════════════════════════════════════════════
2025-12-23 11:37:40.879 [restartedMain] ERROR com.mtkj.mtpay.config.PayPalProperties - ❌ PayPal Client ID未配置请检查application-dev.yml中的paypal.client-id配置
2025-12-23 11:37:40.879 [restartedMain] ERROR com.mtkj.mtpay.config.PayPalProperties - ❌ PayPal Client Secret未配置请检查application-dev.yml中的paypal.client-secret配置
2025-12-23 11:37:40.899 [restartedMain] INFO com.mtkj.mtpay.config.WebConfig - 配置跨域访问,路径: /api/**, 允许所有来源
2025-12-23 11:37:40.899 [restartedMain] INFO com.mtkj.mtpay.config.WebConfig - 跨域配置完成
2025-12-23 11:37:41.019 [restartedMain] INFO org.apache.coyote.http11.Http11NioProtocol - Starting ProtocolHandler ["http-nio-8082"]
2025-12-23 11:37:41.028 [restartedMain] INFO com.mtkj.mtkjpay.MtkjpayApplication - Started MtkjpayApplication in 0.772 seconds (process running for 289.317)
2025-12-23 11:37:41.030 [restartedMain] INFO com.mtkj.mtkjpay.MtkjpayApplication -
╔══════════════════════════════════════════════════════════╗
║ ║
║ ✅ MTKJ PAY 支付系统启动成功! ✅ ║
║ ║
╠══════════════════════════════════════════════════════════╣
║ 应用信息 ║
╠══════════════════════════════════════════════════════════╣
║ 应用名称: {:<45} ║
║ 运行环境: {:<45} ║
║ 服务端口: {:<45} ║
╠══════════════════════════════════════════════════════════╣
║ 访问地址 ║
╠══════════════════════════════════════════════════════════╣
║ 后端服务: {:<45} ║
║ API接口: {:<45} ║
║ Druid监控: {:<45} ║
╠══════════════════════════════════════════════════════════╣
║ 状态: 🟢 服务运行中,可以接收请求 ║
╚══════════════════════════════════════════════════════════╝
2025-12-23 11:37:41.030 [restartedMain] INFO com.mtkj.mtkjpay.MtkjpayApplication -
📌 提示:
- 前端代理地址: http://localhost:3000
- 后端API地址: http://localhost:8082//api
- 图片上传接口: http://localhost:8082//api/product/upload/image
- 商品管理接口: http://localhost:8082//api/product
2025-12-23 11:40:13.091 [background-preinit] INFO org.hibernate.validator.internal.util.Version - HV000001: Hibernate Validator 8.0.1.Final
2025-12-23 11:40:13.136 [restartedMain] INFO com.mtkj.mtkjpay.MtkjpayApplication - Starting MtkjpayApplication using Java 17.0.12 with PID 24592 (E:\MTKJPAY\mt-startup\target\classes started by 18969 in E:\MTKJPAY)
2025-12-23 11:40:13.137 [restartedMain] INFO com.mtkj.mtkjpay.MtkjpayApplication - The following 1 profile is active: "dev"
2025-12-23 11:40:14.197 [restartedMain] INFO org.apache.coyote.http11.Http11NioProtocol - Initializing ProtocolHandler ["http-nio-8082"]
2025-12-23 11:40:14.198 [restartedMain] INFO org.apache.catalina.core.StandardService - Starting service [Tomcat]
2025-12-23 11:40:14.198 [restartedMain] INFO org.apache.catalina.core.StandardEngine - Starting Servlet engine: [Apache Tomcat/10.1.16]
2025-12-23 11:40:14.243 [restartedMain] INFO o.a.c.core.ContainerBase.[Tomcat].[localhost].[/] - Initializing Spring embedded WebApplicationContext
2025-12-23 11:40:14.296 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - ═══════════════════════════════════════════════════════════
2025-12-23 11:40:14.296 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - PayPal配置加载验证:
2025-12-23 11:40:14.296 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Client ID: ❌ 未配置
2025-12-23 11:40:14.296 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Client Secret: ❌ 未配置
2025-12-23 11:40:14.297 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Mode: sandbox
2025-12-23 11:40:14.297 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Enabled: true
2025-12-23 11:40:14.297 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Base URL: https://api-m.sandbox.paypal.com
2025-12-23 11:40:14.297 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - ═══════════════════════════════════════════════════════════
2025-12-23 11:40:14.297 [restartedMain] ERROR com.mtkj.mtpay.config.PayPalProperties - ❌ PayPal Client ID未配置请检查application-dev.yml中的paypal.client-id配置
2025-12-23 11:40:14.297 [restartedMain] ERROR com.mtkj.mtpay.config.PayPalProperties - ❌ PayPal Client Secret未配置请检查application-dev.yml中的paypal.client-secret配置
2025-12-23 11:40:14.312 [restartedMain] INFO com.mtkj.mtpay.config.MyBatisPlusConfig - 初始化MyBatis-Plus分页插件数据库类型: MYSQL
2025-12-23 11:40:14.317 [restartedMain] INFO com.mtkj.mtpay.config.MyBatisPlusConfig - MyBatis-Plus分页插件配置完成
2025-12-23 11:40:14.320 [restartedMain] INFO com.mtkj.mtpay.config.DruidDataSourceConfig - 初始化Druid主数据源
2025-12-23 11:40:14.320 [restartedMain] INFO com.mtkj.mtpay.config.DruidDataSourceConfig - 配置属性 - URL: jdbc:mysql://rm-j6c3u06k2afwn8hxw6o.mysql.rds.aliyuncs.com:3306/mtpay?useUnicode=true&characterEncoding=utf-8&useSSL=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai, Username: mtkj2025
2025-12-23 11:40:14.339 [restartedMain] INFO com.mtkj.mtpay.config.DruidDataSourceConfig - Druid主数据源配置完成URL: jdbc:mysql://rm-j6c3u06k2afwn8hxw6o.mysql.rds.aliyuncs.com:3306/mtpay?useUnicode=true&characterEncoding=utf-8&useSSL=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai
2025-12-23 11:40:14.767 [restartedMain] INFO com.mtkj.mtpay.config.RestClientConfig - 初始化RestClient配置JSON消息转换器
2025-12-23 11:40:14.884 [restartedMain] INFO com.mtkj.mtpay.config.RestClientConfig - RestClient配置完成
2025-12-23 11:40:14.926 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - ═══════════════════════════════════════════════════════════
2025-12-23 11:40:14.926 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - PayPal配置加载验证:
2025-12-23 11:40:14.926 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Client ID: ❌ 未配置
2025-12-23 11:40:14.926 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Client Secret: ❌ 未配置
2025-12-23 11:40:14.926 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Mode: sandbox
2025-12-23 11:40:14.926 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Enabled: true
2025-12-23 11:40:14.926 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Base URL: https://api-m.sandbox.paypal.com
2025-12-23 11:40:14.926 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - ═══════════════════════════════════════════════════════════
2025-12-23 11:40:14.926 [restartedMain] ERROR com.mtkj.mtpay.config.PayPalProperties - ❌ PayPal Client ID未配置请检查application-dev.yml中的paypal.client-id配置
2025-12-23 11:40:14.926 [restartedMain] ERROR com.mtkj.mtpay.config.PayPalProperties - ❌ PayPal Client Secret未配置请检查application-dev.yml中的paypal.client-secret配置
2025-12-23 11:40:14.973 [restartedMain] INFO com.mtkj.mtpay.config.WebConfig - 配置跨域访问,路径: /api/**, 允许所有来源
2025-12-23 11:40:14.976 [restartedMain] INFO com.mtkj.mtpay.config.WebConfig - 跨域配置完成
2025-12-23 11:40:15.267 [restartedMain] INFO org.apache.coyote.http11.Http11NioProtocol - Starting ProtocolHandler ["http-nio-8082"]
2025-12-23 11:40:15.284 [restartedMain] INFO com.mtkj.mtkjpay.MtkjpayApplication - Started MtkjpayApplication in 2.682 seconds (process running for 3.372)
2025-12-23 11:40:15.287 [restartedMain] INFO com.mtkj.mtkjpay.MtkjpayApplication -
╔══════════════════════════════════════════════════════════╗
║ ║
║ ✅ MTKJ PAY 支付系统启动成功! ✅ ║
║ ║
╠══════════════════════════════════════════════════════════╣
║ 应用信息 ║
╠══════════════════════════════════════════════════════════╣
║ 应用名称: {:<45} ║
║ 运行环境: {:<45} ║
║ 服务端口: {:<45} ║
╠══════════════════════════════════════════════════════════╣
║ 访问地址 ║
╠══════════════════════════════════════════════════════════╣
║ 后端服务: {:<45} ║
║ API接口: {:<45} ║
║ Druid监控: {:<45} ║
╠══════════════════════════════════════════════════════════╣
║ 状态: 🟢 服务运行中,可以接收请求 ║
╚══════════════════════════════════════════════════════════╝
2025-12-23 11:40:15.287 [restartedMain] INFO com.mtkj.mtkjpay.MtkjpayApplication -
📌 提示:
- 前端代理地址: http://localhost:3000
- 后端API地址: http://localhost:8082//api
- 图片上传接口: http://localhost:8082//api/product/upload/image
- 商品管理接口: http://localhost:8082//api/product
2025-12-23 11:40:15.289 [main] ERROR com.mtkj.mtkjpay.MtkjpayApplication -
╔══════════════════════════════════════════════════════════╗
║ ║
║ ❌ MTKJ PAY 支付系统启动失败! ❌ ║
║ ║
╚══════════════════════════════════════════════════════════╝
org.springframework.boot.devtools.restart.SilentExitExceptionHandler$SilentExitException: null
at org.springframework.boot.devtools.restart.SilentExitExceptionHandler.exitCurrentThread(SilentExitExceptionHandler.java:92)
at org.springframework.boot.devtools.restart.Restarter.immediateRestart(Restarter.java:179)
at org.springframework.boot.devtools.restart.Restarter.initialize(Restarter.java:163)
at org.springframework.boot.devtools.restart.Restarter.initialize(Restarter.java:532)
at org.springframework.boot.devtools.restart.RestartApplicationListener.onApplicationStartingEvent(RestartApplicationListener.java:98)
at org.springframework.boot.devtools.restart.RestartApplicationListener.onApplicationEvent(RestartApplicationListener.java:51)
at org.springframework.context.event.SimpleApplicationEventMulticaster.doInvokeListener(SimpleApplicationEventMulticaster.java:178)
at org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:171)
at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:149)
at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:137)
at org.springframework.boot.context.event.EventPublishingRunListener.multicastInitialEvent(EventPublishingRunListener.java:136)
at org.springframework.boot.context.event.EventPublishingRunListener.starting(EventPublishingRunListener.java:75)
at org.springframework.boot.SpringApplicationRunListeners.lambda$starting$0(SpringApplicationRunListeners.java:54)
at java.base/java.lang.Iterable.forEach(Iterable.java:75)
at org.springframework.boot.SpringApplicationRunListeners.doWithListeners(SpringApplicationRunListeners.java:118)
at org.springframework.boot.SpringApplicationRunListeners.starting(SpringApplicationRunListeners.java:54)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:315)
at com.mtkj.mtkjpay.MtkjpayApplication.main(MtkjpayApplication.java:33)
2025-12-23 11:45:45.495 [background-preinit] INFO org.hibernate.validator.internal.util.Version - HV000001: Hibernate Validator 8.0.1.Final
2025-12-23 11:45:45.531 [restartedMain] INFO com.mtkj.mtkjpay.MtkjpayApplication - Starting MtkjpayApplication using Java 17.0.12 with PID 23212 (E:\MTKJPAY\mt-startup\target\classes started by 18969 in E:\MTKJPAY)
2025-12-23 11:45:45.532 [restartedMain] INFO com.mtkj.mtkjpay.MtkjpayApplication - The following 1 profile is active: "dev"
2025-12-23 11:45:46.550 [restartedMain] INFO org.apache.coyote.http11.Http11NioProtocol - Initializing ProtocolHandler ["http-nio-8082"]
2025-12-23 11:45:46.551 [restartedMain] INFO org.apache.catalina.core.StandardService - Starting service [Tomcat]
2025-12-23 11:45:46.551 [restartedMain] INFO org.apache.catalina.core.StandardEngine - Starting Servlet engine: [Apache Tomcat/10.1.16]
2025-12-23 11:45:46.594 [restartedMain] INFO o.a.c.core.ContainerBase.[Tomcat].[localhost].[/] - Initializing Spring embedded WebApplicationContext
2025-12-23 11:45:46.645 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - ═══════════════════════════════════════════════════════════
2025-12-23 11:45:46.645 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - PayPal配置加载验证:
2025-12-23 11:45:46.645 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Client ID: ❌ 未配置
2025-12-23 11:45:46.645 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Client Secret: ❌ 未配置
2025-12-23 11:45:46.645 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Mode: sandbox
2025-12-23 11:45:46.645 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Enabled: true
2025-12-23 11:45:46.645 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Base URL: https://api-m.sandbox.paypal.com
2025-12-23 11:45:46.645 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - ═══════════════════════════════════════════════════════════
2025-12-23 11:45:46.645 [restartedMain] ERROR com.mtkj.mtpay.config.PayPalProperties - ❌ PayPal Client ID未配置请检查application-dev.yml中的paypal.client-id配置
2025-12-23 11:45:46.646 [restartedMain] ERROR com.mtkj.mtpay.config.PayPalProperties - ❌ PayPal Client Secret未配置请检查application-dev.yml中的paypal.client-secret配置
2025-12-23 11:45:46.661 [restartedMain] INFO com.mtkj.mtpay.config.MyBatisPlusConfig - 初始化MyBatis-Plus分页插件数据库类型: MYSQL
2025-12-23 11:45:46.664 [restartedMain] INFO com.mtkj.mtpay.config.MyBatisPlusConfig - MyBatis-Plus分页插件配置完成
2025-12-23 11:45:46.668 [restartedMain] INFO com.mtkj.mtpay.config.DruidDataSourceConfig - 初始化Druid主数据源
2025-12-23 11:45:46.668 [restartedMain] INFO com.mtkj.mtpay.config.DruidDataSourceConfig - 配置属性 - URL: jdbc:mysql://rm-j6c3u06k2afwn8hxw6o.mysql.rds.aliyuncs.com:3306/mtpay?useUnicode=true&characterEncoding=utf-8&useSSL=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai, Username: mtkj2025
2025-12-23 11:45:46.687 [restartedMain] INFO com.mtkj.mtpay.config.DruidDataSourceConfig - Druid主数据源配置完成URL: jdbc:mysql://rm-j6c3u06k2afwn8hxw6o.mysql.rds.aliyuncs.com:3306/mtpay?useUnicode=true&characterEncoding=utf-8&useSSL=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai
2025-12-23 11:45:47.164 [restartedMain] INFO com.mtkj.mtpay.config.RestClientConfig - 初始化RestClient配置JSON消息转换器
2025-12-23 11:45:47.291 [restartedMain] INFO com.mtkj.mtpay.config.RestClientConfig - RestClient配置完成
2025-12-23 11:45:47.331 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - ═══════════════════════════════════════════════════════════
2025-12-23 11:45:47.331 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - PayPal配置加载验证:
2025-12-23 11:45:47.331 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Client ID: ❌ 未配置
2025-12-23 11:45:47.331 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Client Secret: ❌ 未配置
2025-12-23 11:45:47.331 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Mode: sandbox
2025-12-23 11:45:47.331 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Enabled: true
2025-12-23 11:45:47.331 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Base URL: https://api-m.sandbox.paypal.com
2025-12-23 11:45:47.331 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - ═══════════════════════════════════════════════════════════
2025-12-23 11:45:47.331 [restartedMain] ERROR com.mtkj.mtpay.config.PayPalProperties - ❌ PayPal Client ID未配置请检查application-dev.yml中的paypal.client-id配置
2025-12-23 11:45:47.331 [restartedMain] ERROR com.mtkj.mtpay.config.PayPalProperties - ❌ PayPal Client Secret未配置请检查application-dev.yml中的paypal.client-secret配置
2025-12-23 11:45:47.382 [restartedMain] INFO com.mtkj.mtpay.config.WebConfig - 配置跨域访问,路径: /api/**, 允许所有来源
2025-12-23 11:45:47.385 [restartedMain] INFO com.mtkj.mtpay.config.WebConfig - 跨域配置完成
2025-12-23 11:45:47.676 [restartedMain] INFO org.apache.coyote.http11.Http11NioProtocol - Starting ProtocolHandler ["http-nio-8082"]
2025-12-23 11:45:47.693 [restartedMain] INFO com.mtkj.mtkjpay.MtkjpayApplication - Started MtkjpayApplication in 2.767 seconds (process running for 3.581)
2025-12-23 11:45:47.695 [restartedMain] INFO com.mtkj.mtkjpay.MtkjpayApplication -
╔══════════════════════════════════════════════════════════╗
║ ║
║ ✅ MTKJ PAY 支付系统启动成功! ✅ ║
║ ║
╠══════════════════════════════════════════════════════════╣
║ 应用信息 ║
╠══════════════════════════════════════════════════════════╣
║ 应用名称: {:<45} ║
║ 运行环境: {:<45} ║
║ 服务端口: {:<45} ║
╠══════════════════════════════════════════════════════════╣
║ 访问地址 ║
╠══════════════════════════════════════════════════════════╣
║ 后端服务: {:<45} ║
║ API接口: {:<45} ║
║ Druid监控: {:<45} ║
╠══════════════════════════════════════════════════════════╣
║ 状态: 🟢 服务运行中,可以接收请求 ║
╚══════════════════════════════════════════════════════════╝
2025-12-23 11:45:47.695 [restartedMain] INFO com.mtkj.mtkjpay.MtkjpayApplication -
📌 提示:
- 前端代理地址: http://localhost:3000
- 后端API地址: http://localhost:8082//api
- 图片上传接口: http://localhost:8082//api/product/upload/image
- 商品管理接口: http://localhost:8082//api/product
2025-12-23 11:45:47.697 [main] ERROR com.mtkj.mtkjpay.MtkjpayApplication -
╔══════════════════════════════════════════════════════════╗
║ ║
║ ❌ MTKJ PAY 支付系统启动失败! ❌ ║
║ ║
╚══════════════════════════════════════════════════════════╝
org.springframework.boot.devtools.restart.SilentExitExceptionHandler$SilentExitException: null
at org.springframework.boot.devtools.restart.SilentExitExceptionHandler.exitCurrentThread(SilentExitExceptionHandler.java:92)
at org.springframework.boot.devtools.restart.Restarter.immediateRestart(Restarter.java:179)
at org.springframework.boot.devtools.restart.Restarter.initialize(Restarter.java:163)
at org.springframework.boot.devtools.restart.Restarter.initialize(Restarter.java:532)
at org.springframework.boot.devtools.restart.RestartApplicationListener.onApplicationStartingEvent(RestartApplicationListener.java:98)
at org.springframework.boot.devtools.restart.RestartApplicationListener.onApplicationEvent(RestartApplicationListener.java:51)
at org.springframework.context.event.SimpleApplicationEventMulticaster.doInvokeListener(SimpleApplicationEventMulticaster.java:178)
at org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:171)
at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:149)
at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:137)
at org.springframework.boot.context.event.EventPublishingRunListener.multicastInitialEvent(EventPublishingRunListener.java:136)
at org.springframework.boot.context.event.EventPublishingRunListener.starting(EventPublishingRunListener.java:75)
at org.springframework.boot.SpringApplicationRunListeners.lambda$starting$0(SpringApplicationRunListeners.java:54)
at java.base/java.lang.Iterable.forEach(Iterable.java:75)
at org.springframework.boot.SpringApplicationRunListeners.doWithListeners(SpringApplicationRunListeners.java:118)
at org.springframework.boot.SpringApplicationRunListeners.starting(SpringApplicationRunListeners.java:54)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:315)
at com.mtkj.mtkjpay.MtkjpayApplication.main(MtkjpayApplication.java:33)
2025-12-23 11:46:09.443 [background-preinit] INFO org.hibernate.validator.internal.util.Version - HV000001: Hibernate Validator 8.0.1.Final
2025-12-23 11:46:09.475 [restartedMain] INFO com.mtkj.mtkjpay.MtkjpayApplication - Starting MtkjpayApplication using Java 17.0.12 with PID 25724 (E:\MTKJPAY\mt-startup\target\classes started by 18969 in E:\MTKJPAY)
2025-12-23 11:46:09.475 [restartedMain] INFO com.mtkj.mtkjpay.MtkjpayApplication - The following 1 profile is active: "dev"
2025-12-23 11:46:10.539 [restartedMain] INFO org.apache.coyote.http11.Http11NioProtocol - Initializing ProtocolHandler ["http-nio-8082"]
2025-12-23 11:46:10.541 [restartedMain] INFO org.apache.catalina.core.StandardService - Starting service [Tomcat]
2025-12-23 11:46:10.541 [restartedMain] INFO org.apache.catalina.core.StandardEngine - Starting Servlet engine: [Apache Tomcat/10.1.16]
2025-12-23 11:46:10.599 [restartedMain] INFO o.a.c.core.ContainerBase.[Tomcat].[localhost].[/] - Initializing Spring embedded WebApplicationContext
2025-12-23 11:46:13.328 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - ═══════════════════════════════════════════════════════════
2025-12-23 11:46:13.930 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - PayPal配置加载验证:
2025-12-23 11:46:55.835 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Client ID: ❌ 未配置
2025-12-23 11:46:55.836 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Client Secret: ❌ 未配置
2025-12-23 11:46:55.837 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Mode: sandbox
2025-12-23 11:46:55.837 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Enabled: true
2025-12-23 11:46:55.837 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Base URL: https://api-m.sandbox.paypal.com
2025-12-23 11:46:55.839 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - ═══════════════════════════════════════════════════════════
2025-12-23 11:46:55.839 [restartedMain] ERROR com.mtkj.mtpay.config.PayPalProperties - ❌ PayPal Client ID未配置请检查application-dev.yml中的paypal.client-id配置
2025-12-23 11:46:55.839 [restartedMain] ERROR com.mtkj.mtpay.config.PayPalProperties - ❌ PayPal Client Secret未配置请检查application-dev.yml中的paypal.client-secret配置
2025-12-23 11:46:55.859 [restartedMain] INFO com.mtkj.mtpay.config.MyBatisPlusConfig - 初始化MyBatis-Plus分页插件数据库类型: MYSQL
2025-12-23 11:46:55.863 [restartedMain] INFO com.mtkj.mtpay.config.MyBatisPlusConfig - MyBatis-Plus分页插件配置完成
2025-12-23 11:46:55.868 [restartedMain] INFO com.mtkj.mtpay.config.DruidDataSourceConfig - 初始化Druid主数据源
2025-12-23 11:46:55.869 [restartedMain] INFO com.mtkj.mtpay.config.DruidDataSourceConfig - 配置属性 - URL: jdbc:mysql://rm-j6c3u06k2afwn8hxw6o.mysql.rds.aliyuncs.com:3306/mtpay?useUnicode=true&characterEncoding=utf-8&useSSL=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai, Username: mtkj2025
2025-12-23 11:46:55.889 [restartedMain] INFO com.mtkj.mtpay.config.DruidDataSourceConfig - Druid主数据源配置完成URL: jdbc:mysql://rm-j6c3u06k2afwn8hxw6o.mysql.rds.aliyuncs.com:3306/mtpay?useUnicode=true&characterEncoding=utf-8&useSSL=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai
2025-12-23 11:46:56.354 [restartedMain] INFO com.mtkj.mtpay.config.RestClientConfig - 初始化RestClient配置JSON消息转换器
2025-12-23 11:46:56.475 [restartedMain] INFO com.mtkj.mtpay.config.RestClientConfig - RestClient配置完成
2025-12-23 11:46:56.516 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - ═══════════════════════════════════════════════════════════
2025-12-23 11:46:56.516 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - PayPal配置加载验证:
2025-12-23 11:46:56.516 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Client ID: ❌ 未配置
2025-12-23 11:46:56.516 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Client Secret: ❌ 未配置
2025-12-23 11:46:56.516 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Mode: sandbox
2025-12-23 11:46:56.516 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Enabled: true
2025-12-23 11:46:56.516 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Base URL: https://api-m.sandbox.paypal.com
2025-12-23 11:46:56.516 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - ═══════════════════════════════════════════════════════════
2025-12-23 11:46:56.516 [restartedMain] ERROR com.mtkj.mtpay.config.PayPalProperties - ❌ PayPal Client ID未配置请检查application-dev.yml中的paypal.client-id配置
2025-12-23 11:46:56.516 [restartedMain] ERROR com.mtkj.mtpay.config.PayPalProperties - ❌ PayPal Client Secret未配置请检查application-dev.yml中的paypal.client-secret配置
2025-12-23 11:46:56.566 [restartedMain] INFO com.mtkj.mtpay.config.WebConfig - 配置跨域访问,路径: /api/**, 允许所有来源
2025-12-23 11:46:56.567 [restartedMain] INFO com.mtkj.mtpay.config.WebConfig - 跨域配置完成
2025-12-23 11:46:56.856 [restartedMain] INFO com.mtkj.mtkjpay.MtkjpayApplication - Started MtkjpayApplication in 47.889 seconds (process running for 48.824)
2025-12-23 11:46:56.858 [restartedMain] INFO com.mtkj.mtkjpay.MtkjpayApplication -
╔══════════════════════════════════════════════════════════╗
║ ║
║ ✅ MTKJ PAY 支付系统启动成功! ✅ ║
║ ║
╠══════════════════════════════════════════════════════════╣
║ 应用信息 ║
╠══════════════════════════════════════════════════════════╣
║ 应用名称: {:<45} ║
║ 运行环境: {:<45} ║
║ 服务端口: {:<45} ║
╠══════════════════════════════════════════════════════════╣
║ 访问地址 ║
╠══════════════════════════════════════════════════════════╣
║ 后端服务: {:<45} ║
║ API接口: {:<45} ║
║ Druid监控: {:<45} ║
╠══════════════════════════════════════════════════════════╣
║ 状态: 🟢 服务运行中,可以接收请求 ║
╚══════════════════════════════════════════════════════════╝
2025-12-23 11:46:56.858 [restartedMain] INFO com.mtkj.mtkjpay.MtkjpayApplication -
📌 提示:
- 前端代理地址: http://localhost:3000
- 后端API地址: http://localhost:8082//api
- 图片上传接口: http://localhost:8082//api/product/upload/image
- 商品管理接口: http://localhost:8082//api/product
2025-12-23 11:46:56.862 [main] ERROR com.mtkj.mtkjpay.MtkjpayApplication -
╔══════════════════════════════════════════════════════════╗
║ ║
║ ❌ MTKJ PAY 支付系统启动失败! ❌ ║
║ ║
╚══════════════════════════════════════════════════════════╝
org.springframework.boot.devtools.restart.SilentExitExceptionHandler$SilentExitException: null
at org.springframework.boot.devtools.restart.SilentExitExceptionHandler.exitCurrentThread(SilentExitExceptionHandler.java:92)
at org.springframework.boot.devtools.restart.Restarter.immediateRestart(Restarter.java:179)
at org.springframework.boot.devtools.restart.Restarter.initialize(Restarter.java:163)
at org.springframework.boot.devtools.restart.Restarter.initialize(Restarter.java:532)
at org.springframework.boot.devtools.restart.RestartApplicationListener.onApplicationStartingEvent(RestartApplicationListener.java:98)
at org.springframework.boot.devtools.restart.RestartApplicationListener.onApplicationEvent(RestartApplicationListener.java:51)
at org.springframework.context.event.SimpleApplicationEventMulticaster.doInvokeListener(SimpleApplicationEventMulticaster.java:178)
at org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:171)
at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:149)
at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:137)
at org.springframework.boot.context.event.EventPublishingRunListener.multicastInitialEvent(EventPublishingRunListener.java:136)
at org.springframework.boot.context.event.EventPublishingRunListener.starting(EventPublishingRunListener.java:75)
at org.springframework.boot.SpringApplicationRunListeners.lambda$starting$0(SpringApplicationRunListeners.java:54)
at java.base/java.lang.Iterable.forEach(Iterable.java:75)
at org.springframework.boot.SpringApplicationRunListeners.doWithListeners(SpringApplicationRunListeners.java:118)
at org.springframework.boot.SpringApplicationRunListeners.starting(SpringApplicationRunListeners.java:54)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:315)
at com.mtkj.mtkjpay.MtkjpayApplication.main(MtkjpayApplication.java:33)
2025-12-23 11:46:59.556 [background-preinit] INFO org.hibernate.validator.internal.util.Version - HV000001: Hibernate Validator 8.0.1.Final
2025-12-23 11:46:59.596 [restartedMain] INFO com.mtkj.mtkjpay.MtkjpayApplication - Starting MtkjpayApplication using Java 17.0.12 with PID 26296 (E:\MTKJPAY\mt-startup\target\classes started by 18969 in E:\MTKJPAY)
2025-12-23 11:46:59.596 [restartedMain] INFO com.mtkj.mtkjpay.MtkjpayApplication - The following 1 profile is active: "dev"
2025-12-23 11:47:00.676 [restartedMain] INFO org.apache.coyote.http11.Http11NioProtocol - Initializing ProtocolHandler ["http-nio-8082"]
2025-12-23 11:47:00.677 [restartedMain] INFO org.apache.catalina.core.StandardService - Starting service [Tomcat]
2025-12-23 11:47:00.677 [restartedMain] INFO org.apache.catalina.core.StandardEngine - Starting Servlet engine: [Apache Tomcat/10.1.16]
2025-12-23 11:47:00.719 [restartedMain] INFO o.a.c.core.ContainerBase.[Tomcat].[localhost].[/] - Initializing Spring embedded WebApplicationContext
2025-12-23 13:05:52.470 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - ═══════════════════════════════════════════════════════════
2025-12-23 13:05:52.471 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - PayPal配置加载验证:
2025-12-23 13:05:52.471 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Client ID: ❌ 未配置
2025-12-23 13:05:52.471 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Client Secret: ❌ 未配置
2025-12-23 13:05:52.471 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Mode: sandbox
2025-12-23 13:05:52.471 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Enabled: true
2025-12-23 13:05:52.471 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Base URL: https://api-m.sandbox.paypal.com
2025-12-23 13:05:52.471 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - ═══════════════════════════════════════════════════════════
2025-12-23 13:05:52.471 [restartedMain] ERROR com.mtkj.mtpay.config.PayPalProperties - ❌ PayPal Client ID未配置请检查application-dev.yml中的paypal.client-id配置
2025-12-23 13:05:52.471 [restartedMain] ERROR com.mtkj.mtpay.config.PayPalProperties - ❌ PayPal Client Secret未配置请检查application-dev.yml中的paypal.client-secret配置
2025-12-23 13:05:52.505 [restartedMain] INFO com.mtkj.mtpay.config.MyBatisPlusConfig - 初始化MyBatis-Plus分页插件数据库类型: MYSQL
2025-12-23 13:05:52.511 [restartedMain] INFO com.mtkj.mtpay.config.MyBatisPlusConfig - MyBatis-Plus分页插件配置完成
2025-12-23 13:05:52.518 [restartedMain] INFO com.mtkj.mtpay.config.DruidDataSourceConfig - 初始化Druid主数据源
2025-12-23 13:05:52.518 [restartedMain] INFO com.mtkj.mtpay.config.DruidDataSourceConfig - 配置属性 - URL: jdbc:mysql://rm-j6c3u06k2afwn8hxw6o.mysql.rds.aliyuncs.com:3306/mtpay?useUnicode=true&characterEncoding=utf-8&useSSL=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai, Username: mtkj2025
2025-12-23 13:05:52.545 [restartedMain] INFO com.mtkj.mtpay.config.DruidDataSourceConfig - Druid主数据源配置完成URL: jdbc:mysql://rm-j6c3u06k2afwn8hxw6o.mysql.rds.aliyuncs.com:3306/mtpay?useUnicode=true&characterEncoding=utf-8&useSSL=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai
2025-12-23 13:05:53.028 [restartedMain] INFO com.mtkj.mtpay.config.RestClientConfig - 初始化RestClient配置JSON消息转换器
2025-12-23 13:05:53.152 [restartedMain] INFO com.mtkj.mtpay.config.RestClientConfig - RestClient配置完成
2025-12-23 13:11:03.192 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - ═══════════════════════════════════════════════════════════
2025-12-23 13:11:03.193 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - PayPal配置加载验证:
2025-12-23 13:11:03.193 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Client ID: ❌ 未配置
2025-12-23 13:11:03.193 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Client Secret: ❌ 未配置
2025-12-23 13:11:03.193 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Mode: sandbox
2025-12-23 13:11:03.193 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Enabled: true
2025-12-23 13:11:03.193 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Base URL: https://api-m.sandbox.paypal.com
2025-12-23 13:11:03.193 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - ═══════════════════════════════════════════════════════════
2025-12-23 13:11:03.193 [restartedMain] ERROR com.mtkj.mtpay.config.PayPalProperties - ❌ PayPal Client ID未配置请检查application-dev.yml中的paypal.client-id配置
2025-12-23 13:11:03.193 [restartedMain] ERROR com.mtkj.mtpay.config.PayPalProperties - ❌ PayPal Client Secret未配置请检查application-dev.yml中的paypal.client-secret配置
2025-12-23 13:11:03.268 [restartedMain] INFO com.mtkj.mtpay.config.WebConfig - 配置跨域访问,路径: /api/**, 允许所有来源
2025-12-23 13:11:03.271 [restartedMain] INFO com.mtkj.mtpay.config.WebConfig - 跨域配置完成
2025-12-23 13:11:03.635 [restartedMain] INFO com.mtkj.mtkjpay.MtkjpayApplication - Started MtkjpayApplication in 5044.71 seconds (process running for 5045.652)
2025-12-23 13:11:03.638 [restartedMain] INFO com.mtkj.mtkjpay.MtkjpayApplication -
╔══════════════════════════════════════════════════════════╗
║ ║
║ ✅ MTKJ PAY 支付系统启动成功! ✅ ║
║ ║
╠══════════════════════════════════════════════════════════╣
║ 应用信息 ║
╠══════════════════════════════════════════════════════════╣
║ 应用名称: {:<45} ║
║ 运行环境: {:<45} ║
║ 服务端口: {:<45} ║
╠══════════════════════════════════════════════════════════╣
║ 访问地址 ║
╠══════════════════════════════════════════════════════════╣
║ 后端服务: {:<45} ║
║ API接口: {:<45} ║
║ Druid监控: {:<45} ║
╠══════════════════════════════════════════════════════════╣
║ 状态: 🟢 服务运行中,可以接收请求 ║
╚══════════════════════════════════════════════════════════╝
2025-12-23 13:11:03.638 [restartedMain] INFO com.mtkj.mtkjpay.MtkjpayApplication -
📌 提示:
- 前端代理地址: http://localhost:3000
- 后端API地址: http://localhost:8082//api
- 图片上传接口: http://localhost:8082//api/product/upload/image
- 商品管理接口: http://localhost:8082//api/product
2025-12-23 13:11:03.643 [main] ERROR com.mtkj.mtkjpay.MtkjpayApplication -
╔══════════════════════════════════════════════════════════╗
║ ║
║ ❌ MTKJ PAY 支付系统启动失败! ❌ ║
║ ║
╚══════════════════════════════════════════════════════════╝
org.springframework.boot.devtools.restart.SilentExitExceptionHandler$SilentExitException: null
at org.springframework.boot.devtools.restart.SilentExitExceptionHandler.exitCurrentThread(SilentExitExceptionHandler.java:92)
at org.springframework.boot.devtools.restart.Restarter.immediateRestart(Restarter.java:179)
at org.springframework.boot.devtools.restart.Restarter.initialize(Restarter.java:163)
at org.springframework.boot.devtools.restart.Restarter.initialize(Restarter.java:532)
at org.springframework.boot.devtools.restart.RestartApplicationListener.onApplicationStartingEvent(RestartApplicationListener.java:98)
at org.springframework.boot.devtools.restart.RestartApplicationListener.onApplicationEvent(RestartApplicationListener.java:51)
at org.springframework.context.event.SimpleApplicationEventMulticaster.doInvokeListener(SimpleApplicationEventMulticaster.java:178)
at org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:171)
at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:149)
at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:137)
at org.springframework.boot.context.event.EventPublishingRunListener.multicastInitialEvent(EventPublishingRunListener.java:136)
at org.springframework.boot.context.event.EventPublishingRunListener.starting(EventPublishingRunListener.java:75)
at org.springframework.boot.SpringApplicationRunListeners.lambda$starting$0(SpringApplicationRunListeners.java:54)
at java.base/java.lang.Iterable.forEach(Iterable.java:75)
at org.springframework.boot.SpringApplicationRunListeners.doWithListeners(SpringApplicationRunListeners.java:118)
at org.springframework.boot.SpringApplicationRunListeners.starting(SpringApplicationRunListeners.java:54)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:315)
at com.mtkj.mtkjpay.MtkjpayApplication.main(MtkjpayApplication.java:33)
2025-12-23 13:11:08.210 [background-preinit] INFO org.hibernate.validator.internal.util.Version - HV000001: Hibernate Validator 8.0.1.Final
2025-12-23 13:11:08.241 [restartedMain] INFO com.mtkj.mtkjpay.MtkjpayApplication - Starting MtkjpayApplication using Java 17.0.12 with PID 24724 (E:\MTKJPAY\mt-startup\target\classes started by 18969 in E:\MTKJPAY)
2025-12-23 13:11:08.243 [restartedMain] INFO com.mtkj.mtkjpay.MtkjpayApplication - The following 1 profile is active: "dev"
2025-12-23 13:11:09.390 [restartedMain] INFO org.apache.coyote.http11.Http11NioProtocol - Initializing ProtocolHandler ["http-nio-8082"]
2025-12-23 13:11:09.392 [restartedMain] INFO org.apache.catalina.core.StandardService - Starting service [Tomcat]
2025-12-23 13:11:09.392 [restartedMain] INFO org.apache.catalina.core.StandardEngine - Starting Servlet engine: [Apache Tomcat/10.1.16]
2025-12-23 13:11:09.442 [restartedMain] INFO o.a.c.core.ContainerBase.[Tomcat].[localhost].[/] - Initializing Spring embedded WebApplicationContext
2025-12-23 13:11:16.894 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - ═══════════════════════════════════════════════════════════
2025-12-23 13:11:16.894 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - PayPal配置加载验证:
2025-12-23 13:11:16.896 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Client ID: ✅ 已配置 (AdGYUZpvLuHR30dybOAp...)
2025-12-23 13:11:16.896 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Client Secret: ✅ 已配置 (ENblspyRmwsOU_PWFurl...)
2025-12-23 13:11:16.897 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Mode: sandbox
2025-12-23 13:11:16.897 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Enabled: true
2025-12-23 13:11:16.897 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Base URL: https://api-m.sandbox.paypal.com
2025-12-23 13:11:16.897 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - ═══════════════════════════════════════════════════════════
2025-12-23 13:11:16.917 [restartedMain] INFO com.mtkj.mtpay.config.MyBatisPlusConfig - 初始化MyBatis-Plus分页插件数据库类型: MYSQL
2025-12-23 13:11:16.920 [restartedMain] INFO com.mtkj.mtpay.config.MyBatisPlusConfig - MyBatis-Plus分页插件配置完成
2025-12-23 13:11:16.924 [restartedMain] INFO com.mtkj.mtpay.config.DruidDataSourceConfig - 初始化Druid主数据源
2025-12-23 13:11:16.924 [restartedMain] INFO com.mtkj.mtpay.config.DruidDataSourceConfig - 配置属性 - URL: jdbc:mysql://rm-j6c3u06k2afwn8hxw6o.mysql.rds.aliyuncs.com:3306/mtpay?useUnicode=true&characterEncoding=utf-8&useSSL=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai, Username: mtkj2025
2025-12-23 13:11:16.943 [restartedMain] INFO com.mtkj.mtpay.config.DruidDataSourceConfig - Druid主数据源配置完成URL: jdbc:mysql://rm-j6c3u06k2afwn8hxw6o.mysql.rds.aliyuncs.com:3306/mtpay?useUnicode=true&characterEncoding=utf-8&useSSL=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai
2025-12-23 13:11:17.381 [restartedMain] INFO com.mtkj.mtpay.config.RestClientConfig - 初始化RestClient配置JSON消息转换器
2025-12-23 13:11:17.516 [restartedMain] INFO com.mtkj.mtpay.config.RestClientConfig - RestClient配置完成
2025-12-23 13:11:17.603 [restartedMain] INFO com.mtkj.mtpay.config.WebConfig - 配置跨域访问,路径: /api/**, 允许所有来源
2025-12-23 13:11:17.605 [restartedMain] INFO com.mtkj.mtpay.config.WebConfig - 跨域配置完成
2025-12-23 13:11:17.875 [restartedMain] INFO org.apache.coyote.http11.Http11NioProtocol - Starting ProtocolHandler ["http-nio-8082"]
2025-12-23 13:11:17.903 [restartedMain] INFO com.mtkj.mtkjpay.MtkjpayApplication - Started MtkjpayApplication in 10.225 seconds (process running for 11.063)
2025-12-23 13:11:17.907 [restartedMain] INFO com.mtkj.mtkjpay.MtkjpayApplication -
╔══════════════════════════════════════════════════════════╗
║ ║
║ ✅ MTKJ PAY 支付系统启动成功! ✅ ║
║ ║
╠══════════════════════════════════════════════════════════╣
║ 应用信息 ║
╠══════════════════════════════════════════════════════════╣
║ 应用名称: {:<45} ║
║ 运行环境: {:<45} ║
║ 服务端口: {:<45} ║
╠══════════════════════════════════════════════════════════╣
║ 访问地址 ║
╠══════════════════════════════════════════════════════════╣
║ 后端服务: {:<45} ║
║ API接口: {:<45} ║
║ Druid监控: {:<45} ║
╠══════════════════════════════════════════════════════════╣
║ 状态: 🟢 服务运行中,可以接收请求 ║
╚══════════════════════════════════════════════════════════╝
2025-12-23 13:11:17.907 [restartedMain] INFO com.mtkj.mtkjpay.MtkjpayApplication -
📌 提示:
- 前端代理地址: http://localhost:3000
- 后端API地址: http://localhost:8082//api
- 图片上传接口: http://localhost:8082//api/product/upload/image
- 商品管理接口: http://localhost:8082//api/product
2025-12-23 13:11:17.909 [main] ERROR com.mtkj.mtkjpay.MtkjpayApplication -
╔══════════════════════════════════════════════════════════╗
║ ║
║ ❌ MTKJ PAY 支付系统启动失败! ❌ ║
║ ║
╚══════════════════════════════════════════════════════════╝
org.springframework.boot.devtools.restart.SilentExitExceptionHandler$SilentExitException: null
at org.springframework.boot.devtools.restart.SilentExitExceptionHandler.exitCurrentThread(SilentExitExceptionHandler.java:92)
at org.springframework.boot.devtools.restart.Restarter.immediateRestart(Restarter.java:179)
at org.springframework.boot.devtools.restart.Restarter.initialize(Restarter.java:163)
at org.springframework.boot.devtools.restart.Restarter.initialize(Restarter.java:532)
at org.springframework.boot.devtools.restart.RestartApplicationListener.onApplicationStartingEvent(RestartApplicationListener.java:98)
at org.springframework.boot.devtools.restart.RestartApplicationListener.onApplicationEvent(RestartApplicationListener.java:51)
at org.springframework.context.event.SimpleApplicationEventMulticaster.doInvokeListener(SimpleApplicationEventMulticaster.java:178)
at org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:171)
at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:149)
at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:137)
at org.springframework.boot.context.event.EventPublishingRunListener.multicastInitialEvent(EventPublishingRunListener.java:136)
at org.springframework.boot.context.event.EventPublishingRunListener.starting(EventPublishingRunListener.java:75)
at org.springframework.boot.SpringApplicationRunListeners.lambda$starting$0(SpringApplicationRunListeners.java:54)
at java.base/java.lang.Iterable.forEach(Iterable.java:75)
at org.springframework.boot.SpringApplicationRunListeners.doWithListeners(SpringApplicationRunListeners.java:118)
at org.springframework.boot.SpringApplicationRunListeners.starting(SpringApplicationRunListeners.java:54)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:315)
at com.mtkj.mtkjpay.MtkjpayApplication.main(MtkjpayApplication.java:33)
2025-12-23 13:11:36.142 [http-nio-8082-exec-1] INFO o.a.c.core.ContainerBase.[Tomcat].[localhost].[/] - Initializing Spring DispatcherServlet 'dispatcherServlet'
2025-12-23 13:11:36.287 [http-nio-8082-exec-1] INFO com.mtkj.mtpay.controller.PayPalController - 创建PayPal订单请求CreatePayPalOrderRequestDTO(intent=CAPTURE, referenceId=MTN17664579642691703, amount=13.31, currencyCode=MYR, itemName=名创优品毛巾女2025新款洗澡男士浴巾比全棉100纯棉吸水干发成人, itemDescription=【✅性价比首选】米白色+浅水蓝+天空灰【⭐毛巾实惠3条装】, itemSku=【✅性价比首选】米白色+浅水蓝+天空灰【⭐毛巾实惠3条装】, itemQuantity=1, itemUnitAmount=13.31, returnUrl=http://localhost:3000/paypal/success?orderNo=MTN17664579642691703, cancelUrl=http://localhost:3000/paypal/cancel?orderNo=MTN17664579642691703, shippingName=邱斌, shippingAddressLine1=丽水市莲都区万象街道晶都步行街阿姨奶茶隔壁潮童馆, shippingAddressLine2=null, shippingCity=丽水市, shippingState=浙江省, shippingPostalCode=323000, shippingCountryCode=CN, emailAddress=18969599531@163.com)
2025-12-23 13:11:36.294 [http-nio-8082-exec-1] INFO com.mtkj.mtpay.service.impl.PayPalServiceImpl - 创建PayPal订单ERP订单号: MTN17664579642691703
2025-12-23 13:11:36.294 [http-nio-8082-exec-1] INFO com.mtkj.mtpay.service.impl.PayPalServiceImpl - 获取PayPal访问令牌
2025-12-23 13:11:36.294 [http-nio-8082-exec-1] DEBUG com.mtkj.mtpay.service.impl.PayPalServiceImpl - PayPal配置检查 - Client ID: AdGYUZpvLuHR30dybOAp..., Client Secret: ENblspyRmwsOU_PWFurl...
2025-12-23 13:11:37.732 [http-nio-8082-exec-1] INFO com.mtkj.mtpay.service.impl.PayPalServiceImpl - PayPal访问令牌获取成功
2025-12-23 13:11:38.663 [http-nio-8082-exec-1] ERROR com.mtkj.mtpay.service.impl.PayPalServiceImpl - 创建PayPal订单异常
org.springframework.web.client.HttpClientErrorException$UnprocessableEntity: 422 Unprocessable Entity: "{"name":"UNPROCESSABLE_ENTITY","details":[{"field":"/purchase_units/@reference_id=='MTN17664579642691703'/amount/breakdown/item_total","location":"body","issue":"ITEM_TOTAL_REQUIRED","description":"If item details are specified (items.unit_amount and items.quantity) corresponding amount.breakdown.item_total is required."}],"message":"The requested action could not be performed, semantically incorrect, or failed business validation.","debug_id":"f829202161e82","links":[{"href":"https://developer.paypal.com/api/rest/reference/orders/v2/errors/#ITEM_TOTAL_REQUIRED","rel":"information_link","method":"GET"}]}"
at org.springframework.web.client.HttpClientErrorException.create(HttpClientErrorException.java:133)
at org.springframework.web.client.DefaultResponseErrorHandler.handleError(DefaultResponseErrorHandler.java:183)
at org.springframework.web.client.DefaultResponseErrorHandler.handleError(DefaultResponseErrorHandler.java:137)
at org.springframework.web.client.ResponseErrorHandler.handleError(ResponseErrorHandler.java:63)
at org.springframework.web.client.RestTemplate.handleResponse(RestTemplate.java:932)
at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:881)
at org.springframework.web.client.RestTemplate.execute(RestTemplate.java:781)
at org.springframework.web.client.RestTemplate.postForEntity(RestTemplate.java:529)
at com.mtkj.mtpay.service.impl.PayPalServiceImpl.createOrder(PayPalServiceImpl.java:137)
at com.mtkj.mtpay.controller.PayPalController.createOrder(PayPalController.java:42)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:254)
at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:182)
at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:118)
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:917)
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:829)
at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87)
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1089)
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:979)
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1014)
at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:914)
at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:590)
at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:885)
at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:658)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:205)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:149)
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:51)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:174)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:149)
at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:174)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:149)
at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:174)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:149)
at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:174)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:149)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:167)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:90)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:482)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:115)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:93)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:340)
at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:391)
at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63)
at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:896)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1744)
at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52)
at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191)
at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.base/java.lang.Thread.run(Thread.java:842)
2025-12-23 13:11:38.667 [http-nio-8082-exec-1] WARN com.mtkj.mtpay.exception.GlobalExceptionHandler - 业务异常: 创建PayPal订单异常: 422 Unprocessable Entity: "{"name":"UNPROCESSABLE_ENTITY","details":[{"field":"/purchase_units/@reference_id=='MTN17664579642691703'/amount/breakdown/item_total","location":"body","issue":"ITEM_TOTAL_REQUIRED","description":"If item details are specified (items.unit_amount and items.quantity) corresponding amount.breakdown.item_total is required."}],"message":"The requested action could not be performed, semantically incorrect, or failed business validation.","debug_id":"f829202161e82","links":[{"href":"https://developer.paypal.com/api/rest/reference/orders/v2/errors/#ITEM_TOTAL_REQUIRED","rel":"information_link","method":"GET"}]}"
2025-12-23 13:11:38.684 [http-nio-8082-exec-1] WARN o.s.w.s.m.m.a.ExceptionHandlerExceptionResolver - Resolved [com.mtkj.mtpay.exception.BusinessException: 创建PayPal订单异常: 422 Unprocessable Entity: "{"name":"UNPROCESSABLE_ENTITY","details":[{"field":"/purchase_units/@reference_id=='MTN17664579642691703'/amount/breakdown/item_total","location":"body","issue":"ITEM_TOTAL_REQUIRED","description":"If item details are specified (items.unit_amount and items.quantity) corresponding amount.breakdown.item_total is required."}],"message":"The requested action could not be performed, semantically incorrect, or failed business validation.","debug_id":"f829202161e82","links":[{"href":"https://developer.paypal.com/api/rest/reference/orders/v2/errors/#ITEM_TOTAL_REQUIRED","rel":"information_link","method":"GET"}]}"]
2025-12-23 13:46:26.388 [http-nio-8082-exec-2] INFO com.mtkj.mtpay.controller.PayPalController - 创建PayPal订单请求CreatePayPalOrderRequestDTO(intent=CAPTURE, referenceId=MTN17664579642691703, amount=13.31, currencyCode=MYR, itemName=名创优品毛巾女2025新款洗澡男士浴巾比全棉100纯棉吸水干发成人, itemDescription=【✅性价比首选】米白色+浅水蓝+天空灰【⭐毛巾实惠3条装】, itemSku=【✅性价比首选】米白色+浅水蓝+天空灰【⭐毛巾实惠3条装】, itemQuantity=1, itemUnitAmount=13.31, returnUrl=http://localhost:3000/paypal/success?orderNo=MTN17664579642691703, cancelUrl=http://localhost:3000/paypal/cancel?orderNo=MTN17664579642691703, shippingName=邱斌, shippingAddressLine1=丽水市莲都区万象街道晶都步行街阿姨奶茶隔壁潮童馆, shippingAddressLine2=null, shippingCity=丽水市, shippingState=浙江省, shippingPostalCode=323000, shippingCountryCode=CN, emailAddress=18969599531@163.com)
2025-12-23 13:46:26.388 [http-nio-8082-exec-2] INFO com.mtkj.mtpay.service.impl.PayPalServiceImpl - 创建PayPal订单ERP订单号: MTN17664579642691703
2025-12-23 13:46:27.154 [http-nio-8082-exec-2] ERROR com.mtkj.mtpay.service.impl.PayPalServiceImpl - 创建PayPal订单异常
org.springframework.web.client.HttpClientErrorException$UnprocessableEntity: 422 Unprocessable Entity: "{"name":"UNPROCESSABLE_ENTITY","details":[{"field":"/purchase_units/@reference_id=='MTN17664579642691703'/amount/breakdown/item_total","location":"body","issue":"ITEM_TOTAL_REQUIRED","description":"If item details are specified (items.unit_amount and items.quantity) corresponding amount.breakdown.item_total is required."}],"message":"The requested action could not be performed, semantically incorrect, or failed business validation.","debug_id":"f955704b6ad13","links":[{"href":"https://developer.paypal.com/api/rest/reference/orders/v2/errors/#ITEM_TOTAL_REQUIRED","rel":"information_link","method":"GET"}]}"
at org.springframework.web.client.HttpClientErrorException.create(HttpClientErrorException.java:133)
at org.springframework.web.client.DefaultResponseErrorHandler.handleError(DefaultResponseErrorHandler.java:183)
at org.springframework.web.client.DefaultResponseErrorHandler.handleError(DefaultResponseErrorHandler.java:137)
at org.springframework.web.client.ResponseErrorHandler.handleError(ResponseErrorHandler.java:63)
at org.springframework.web.client.RestTemplate.handleResponse(RestTemplate.java:932)
at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:881)
at org.springframework.web.client.RestTemplate.execute(RestTemplate.java:781)
at org.springframework.web.client.RestTemplate.postForEntity(RestTemplate.java:529)
at com.mtkj.mtpay.service.impl.PayPalServiceImpl.createOrder(PayPalServiceImpl.java:137)
at com.mtkj.mtpay.controller.PayPalController.createOrder(PayPalController.java:42)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:254)
at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:182)
at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:118)
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:917)
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:829)
at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87)
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1089)
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:979)
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1014)
at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:914)
at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:590)
at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:885)
at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:658)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:205)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:149)
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:51)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:174)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:149)
at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:174)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:149)
at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:174)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:149)
at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:174)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:149)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:167)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:90)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:482)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:115)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:93)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:340)
at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:391)
at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63)
at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:896)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1744)
at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52)
at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191)
at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.base/java.lang.Thread.run(Thread.java:842)
2025-12-23 13:46:27.157 [http-nio-8082-exec-2] WARN com.mtkj.mtpay.exception.GlobalExceptionHandler - 业务异常: 创建PayPal订单异常: 422 Unprocessable Entity: "{"name":"UNPROCESSABLE_ENTITY","details":[{"field":"/purchase_units/@reference_id=='MTN17664579642691703'/amount/breakdown/item_total","location":"body","issue":"ITEM_TOTAL_REQUIRED","description":"If item details are specified (items.unit_amount and items.quantity) corresponding amount.breakdown.item_total is required."}],"message":"The requested action could not be performed, semantically incorrect, or failed business validation.","debug_id":"f955704b6ad13","links":[{"href":"https://developer.paypal.com/api/rest/reference/orders/v2/errors/#ITEM_TOTAL_REQUIRED","rel":"information_link","method":"GET"}]}"
2025-12-23 13:46:27.157 [http-nio-8082-exec-2] WARN o.s.w.s.m.m.a.ExceptionHandlerExceptionResolver - Resolved [com.mtkj.mtpay.exception.BusinessException: 创建PayPal订单异常: 422 Unprocessable Entity: "{"name":"UNPROCESSABLE_ENTITY","details":[{"field":"/purchase_units/@reference_id=='MTN17664579642691703'/amount/breakdown/item_total","location":"body","issue":"ITEM_TOTAL_REQUIRED","description":"If item details are specified (items.unit_amount and items.quantity) corresponding amount.breakdown.item_total is required."}],"message":"The requested action could not be performed, semantically incorrect, or failed business validation.","debug_id":"f955704b6ad13","links":[{"href":"https://developer.paypal.com/api/rest/reference/orders/v2/errors/#ITEM_TOTAL_REQUIRED","rel":"information_link","method":"GET"}]}"]
2025-12-23 14:15:22.001 [background-preinit] INFO org.hibernate.validator.internal.util.Version - HV000001: Hibernate Validator 8.0.1.Final
2025-12-23 14:15:22.048 [restartedMain] INFO com.mtkj.mtkjpay.MtkjpayApplication - Starting MtkjpayApplication using Java 17.0.12 with PID 20936 (E:\MTKJPAY\mt-startup\target\classes started by 18969 in E:\MTKJPAY)
2025-12-23 14:15:22.049 [restartedMain] INFO com.mtkj.mtkjpay.MtkjpayApplication - The following 1 profile is active: "dev"
2025-12-23 14:15:23.495 [restartedMain] INFO org.apache.coyote.http11.Http11NioProtocol - Initializing ProtocolHandler ["http-nio-8082"]
2025-12-23 14:15:23.497 [restartedMain] INFO org.apache.catalina.core.StandardService - Starting service [Tomcat]
2025-12-23 14:15:23.497 [restartedMain] INFO org.apache.catalina.core.StandardEngine - Starting Servlet engine: [Apache Tomcat/10.1.16]
2025-12-23 14:15:23.551 [restartedMain] INFO o.a.c.core.ContainerBase.[Tomcat].[localhost].[/] - Initializing Spring embedded WebApplicationContext
2025-12-23 14:15:23.610 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - ═══════════════════════════════════════════════════════════
2025-12-23 14:15:23.611 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - PayPal配置加载验证:
2025-12-23 14:15:23.611 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Client ID: ✅ 已配置 (AdGYUZpvLuHR30dybOAp...)
2025-12-23 14:15:23.611 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Client Secret: ✅ 已配置 (ENblspyRmwsOU_PWFurl...)
2025-12-23 14:15:23.611 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Mode: sandbox
2025-12-23 14:15:23.611 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Enabled: true
2025-12-23 14:15:23.611 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Base URL: https://api-m.sandbox.paypal.com
2025-12-23 14:15:23.611 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - ═══════════════════════════════════════════════════════════
2025-12-23 14:15:23.628 [restartedMain] INFO com.mtkj.mtpay.config.MyBatisPlusConfig - 初始化MyBatis-Plus分页插件数据库类型: MYSQL
2025-12-23 14:15:23.632 [restartedMain] INFO com.mtkj.mtpay.config.MyBatisPlusConfig - MyBatis-Plus分页插件配置完成
2025-12-23 14:15:23.635 [restartedMain] INFO com.mtkj.mtpay.config.DruidDataSourceConfig - 初始化Druid主数据源
2025-12-23 14:15:23.636 [restartedMain] INFO com.mtkj.mtpay.config.DruidDataSourceConfig - 配置属性 - URL: jdbc:mysql://rm-j6c3u06k2afwn8hxw6o.mysql.rds.aliyuncs.com:3306/mtpay?useUnicode=true&characterEncoding=utf-8&useSSL=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai, Username: mtkj2025
2025-12-23 14:15:23.657 [restartedMain] INFO com.mtkj.mtpay.config.DruidDataSourceConfig - Druid主数据源配置完成URL: jdbc:mysql://rm-j6c3u06k2afwn8hxw6o.mysql.rds.aliyuncs.com:3306/mtpay?useUnicode=true&characterEncoding=utf-8&useSSL=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai
2025-12-23 14:15:24.165 [restartedMain] INFO com.mtkj.mtpay.config.RestClientConfig - 初始化RestClient配置JSON消息转换器
2025-12-23 14:15:24.345 [restartedMain] INFO com.mtkj.mtpay.config.RestClientConfig - RestClient配置完成
2025-12-23 14:15:24.483 [restartedMain] INFO com.mtkj.mtpay.config.WebConfig - 配置跨域访问,路径: /api/**, 允许所有来源
2025-12-23 14:15:24.486 [restartedMain] INFO com.mtkj.mtpay.config.WebConfig - 跨域配置完成
2025-12-23 14:15:24.880 [restartedMain] INFO org.apache.coyote.http11.Http11NioProtocol - Starting ProtocolHandler ["http-nio-8082"]
2025-12-23 14:15:24.902 [restartedMain] INFO com.mtkj.mtkjpay.MtkjpayApplication - Started MtkjpayApplication in 3.525 seconds (process running for 4.505)
2025-12-23 14:15:24.906 [restartedMain] INFO com.mtkj.mtkjpay.MtkjpayApplication -
╔══════════════════════════════════════════════════════════╗
║ ║
║ ✅ MTKJ PAY 支付系统启动成功! ✅ ║
║ ║
╠══════════════════════════════════════════════════════════╣
║ 应用信息 ║
╠══════════════════════════════════════════════════════════╣
║ 应用名称: {:<45} ║
║ 运行环境: {:<45} ║
║ 服务端口: {:<45} ║
╠══════════════════════════════════════════════════════════╣
║ 访问地址 ║
╠══════════════════════════════════════════════════════════╣
║ 后端服务: {:<45} ║
║ API接口: {:<45} ║
║ Druid监控: {:<45} ║
╠══════════════════════════════════════════════════════════╣
║ 状态: 🟢 服务运行中,可以接收请求 ║
╚══════════════════════════════════════════════════════════╝
2025-12-23 14:15:24.906 [restartedMain] INFO com.mtkj.mtkjpay.MtkjpayApplication -
📌 提示:
- 前端代理地址: http://localhost:3000
- 后端API地址: http://localhost:8082//api
- 图片上传接口: http://localhost:8082//api/product/upload/image
- 商品管理接口: http://localhost:8082//api/product
2025-12-23 14:15:24.908 [main] ERROR com.mtkj.mtkjpay.MtkjpayApplication -
╔══════════════════════════════════════════════════════════╗
║ ║
║ ❌ MTKJ PAY 支付系统启动失败! ❌ ║
║ ║
╚══════════════════════════════════════════════════════════╝
org.springframework.boot.devtools.restart.SilentExitExceptionHandler$SilentExitException: null
at org.springframework.boot.devtools.restart.SilentExitExceptionHandler.exitCurrentThread(SilentExitExceptionHandler.java:92)
at org.springframework.boot.devtools.restart.Restarter.immediateRestart(Restarter.java:179)
at org.springframework.boot.devtools.restart.Restarter.initialize(Restarter.java:163)
at org.springframework.boot.devtools.restart.Restarter.initialize(Restarter.java:532)
at org.springframework.boot.devtools.restart.RestartApplicationListener.onApplicationStartingEvent(RestartApplicationListener.java:98)
at org.springframework.boot.devtools.restart.RestartApplicationListener.onApplicationEvent(RestartApplicationListener.java:51)
at org.springframework.context.event.SimpleApplicationEventMulticaster.doInvokeListener(SimpleApplicationEventMulticaster.java:178)
at org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:171)
at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:149)
at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:137)
at org.springframework.boot.context.event.EventPublishingRunListener.multicastInitialEvent(EventPublishingRunListener.java:136)
at org.springframework.boot.context.event.EventPublishingRunListener.starting(EventPublishingRunListener.java:75)
at org.springframework.boot.SpringApplicationRunListeners.lambda$starting$0(SpringApplicationRunListeners.java:54)
at java.base/java.lang.Iterable.forEach(Iterable.java:75)
at org.springframework.boot.SpringApplicationRunListeners.doWithListeners(SpringApplicationRunListeners.java:118)
at org.springframework.boot.SpringApplicationRunListeners.starting(SpringApplicationRunListeners.java:54)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:315)
at com.mtkj.mtkjpay.MtkjpayApplication.main(MtkjpayApplication.java:33)
2025-12-23 14:15:33.481 [http-nio-8082-exec-1] INFO o.a.c.core.ContainerBase.[Tomcat].[localhost].[/] - Initializing Spring DispatcherServlet 'dispatcherServlet'
2025-12-23 14:15:33.668 [http-nio-8082-exec-1] INFO com.mtkj.mtpay.controller.PayPalController - 创建PayPal订单请求CreatePayPalOrderRequestDTO(intent=CAPTURE, referenceId=MTN17664579642691703, amount=13.31, currencyCode=MYR, itemName=名创优品毛巾女2025新款洗澡男士浴巾比全棉100纯棉吸水干发成人, itemDescription=【✅性价比首选】米白色+浅水蓝+天空灰【⭐毛巾实惠3条装】, itemSku=【✅性价比首选】米白色+浅水蓝+天空灰【⭐毛巾实惠3条装】, itemQuantity=1, itemUnitAmount=13.31, returnUrl=http://localhost:3000/paypal/success?orderNo=MTN17664579642691703, cancelUrl=http://localhost:3000/paypal/cancel?orderNo=MTN17664579642691703, shippingName=邱斌, shippingAddressLine1=丽水市莲都区万象街道晶都步行街阿姨奶茶隔壁潮童馆, shippingAddressLine2=null, shippingCity=丽水市, shippingState=浙江省, shippingPostalCode=323000, shippingCountryCode=CN, emailAddress=18969599531@163.com)
2025-12-23 14:15:33.677 [http-nio-8082-exec-1] INFO com.mtkj.mtpay.service.impl.PayPalServiceImpl - 创建PayPal订单ERP订单号: MTN17664579642691703
2025-12-23 14:15:33.677 [http-nio-8082-exec-1] INFO com.mtkj.mtpay.service.impl.PayPalServiceImpl - 获取PayPal访问令牌
2025-12-23 14:15:33.678 [http-nio-8082-exec-1] DEBUG com.mtkj.mtpay.service.impl.PayPalServiceImpl - PayPal配置检查 - Client ID: AdGYUZpvLuHR30dybOAp..., Client Secret: ENblspyRmwsOU_PWFurl...
2025-12-23 14:15:34.634 [http-nio-8082-exec-1] INFO com.mtkj.mtpay.service.impl.PayPalServiceImpl - PayPal访问令牌获取成功
2025-12-23 14:15:35.539 [http-nio-8082-exec-1] ERROR com.mtkj.mtpay.service.impl.PayPalServiceImpl - 创建PayPal订单异常
org.springframework.web.client.HttpClientErrorException$UnprocessableEntity: 422 Unprocessable Entity: "{"name":"UNPROCESSABLE_ENTITY","details":[{"issue":"CURRENCY_NOT_SUPPORTED","description":"Currency code is not currently supported. Please refer https://developer.paypal.com/docs/integration/direct/rest/currency-codes/ for list of supported currency codes."}],"message":"The requested action could not be performed, semantically incorrect, or failed business validation.","debug_id":"f994592ddfc20","links":[{"href":"https://developer.paypal.com/api/rest/reference/orders/v2/errors/#CURRENCY_NOT_SUPPORTED","rel":"information_link"}]}"
at org.springframework.web.client.HttpClientErrorException.create(HttpClientErrorException.java:133)
at org.springframework.web.client.DefaultResponseErrorHandler.handleError(DefaultResponseErrorHandler.java:183)
at org.springframework.web.client.DefaultResponseErrorHandler.handleError(DefaultResponseErrorHandler.java:137)
at org.springframework.web.client.ResponseErrorHandler.handleError(ResponseErrorHandler.java:63)
at org.springframework.web.client.RestTemplate.handleResponse(RestTemplate.java:932)
at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:881)
at org.springframework.web.client.RestTemplate.execute(RestTemplate.java:781)
at org.springframework.web.client.RestTemplate.postForEntity(RestTemplate.java:529)
at com.mtkj.mtpay.service.impl.PayPalServiceImpl.createOrder(PayPalServiceImpl.java:137)
at com.mtkj.mtpay.controller.PayPalController.createOrder(PayPalController.java:42)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:254)
at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:182)
at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:118)
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:917)
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:829)
at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87)
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1089)
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:979)
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1014)
at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:914)
at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:590)
at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:885)
at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:658)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:205)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:149)
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:51)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:174)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:149)
at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:174)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:149)
at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:174)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:149)
at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:174)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:149)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:167)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:90)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:482)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:115)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:93)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:340)
at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:391)
at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63)
at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:896)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1744)
at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52)
at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191)
at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.base/java.lang.Thread.run(Thread.java:842)
2025-12-23 14:15:35.541 [http-nio-8082-exec-1] WARN com.mtkj.mtpay.exception.GlobalExceptionHandler - 业务异常: 创建PayPal订单异常: 422 Unprocessable Entity: "{"name":"UNPROCESSABLE_ENTITY","details":[{"issue":"CURRENCY_NOT_SUPPORTED","description":"Currency code is not currently supported. Please refer https://developer.paypal.com/docs/integration/direct/rest/currency-codes/ for list of supported currency codes."}],"message":"The requested action could not be performed, semantically incorrect, or failed business validation.","debug_id":"f994592ddfc20","links":[{"href":"https://developer.paypal.com/api/rest/reference/orders/v2/errors/#CURRENCY_NOT_SUPPORTED","rel":"information_link"}]}"
2025-12-23 14:15:35.555 [http-nio-8082-exec-1] WARN o.s.w.s.m.m.a.ExceptionHandlerExceptionResolver - Resolved [com.mtkj.mtpay.exception.BusinessException: 创建PayPal订单异常: 422 Unprocessable Entity: "{"name":"UNPROCESSABLE_ENTITY","details":[{"issue":"CURRENCY_NOT_SUPPORTED","description":"Currency code is not currently supported. Please refer https://developer.paypal.com/docs/integration/direct/rest/currency-codes/ for list of supported currency codes."}],"message":"The requested action could not be performed, semantically incorrect, or failed business validation.","debug_id":"f994592ddfc20","links":[{"href":"https://developer.paypal.com/api/rest/reference/orders/v2/errors/#CURRENCY_NOT_SUPPORTED","rel":"information_link"}]}"]
2025-12-23 14:16:10.836 [http-nio-8082-exec-2] INFO com.mtkj.mtpay.controller.ProductController - 根据链接码获取商品详情链接码3582a1dfbb174d84aac9f465b7180b50
2025-12-23 14:16:10.837 [http-nio-8082-exec-2] DEBUG com.mtkj.mtpay.service.impl.ProductServiceImpl - 根据链接码获取商品ID链接码: 3582a1dfbb174d84aac9f465b7180b50
2025-12-23 14:16:10.838 [http-nio-8082-exec-2] DEBUG c.mtkj.mtpay.service.impl.ProductLinkServiceImpl - 根据链接码获取商品链接,链接码: 3582a1dfbb174d84aac9f465b7180b50
2025-12-23 14:16:13.240 [http-nio-8082-exec-2] DEBUG c.mtkj.mtpay.mapper.MtProductLinkMapper.selectList - ==> Preparing: SELECT id,product_id,link_code,full_url,expire_days,expire_time,status,create_time,update_time FROM mt_product_link WHERE (link_code = ?) LIMIT 1
2025-12-23 14:16:13.284 [http-nio-8082-exec-2] DEBUG c.mtkj.mtpay.mapper.MtProductLinkMapper.selectList - ==> Parameters: 3582a1dfbb174d84aac9f465b7180b50(String)
2025-12-23 14:16:13.348 [http-nio-8082-exec-2] DEBUG c.mtkj.mtpay.mapper.MtProductLinkMapper.selectList - <== Total: 1
2025-12-23 14:16:13.351 [http-nio-8082-exec-2] DEBUG com.mtkj.mtpay.service.impl.ProductServiceImpl - 根据链接码获取商品ID成功链接码: 3582a1dfbb174d84aac9f465b7180b50, 商品ID: 1
2025-12-23 14:16:13.352 [http-nio-8082-exec-2] DEBUG com.mtkj.mtpay.service.impl.ProductServiceImpl - 查询商品详情商品ID: 1
2025-12-23 14:16:13.353 [http-nio-8082-exec-2] DEBUG com.mtkj.mtpay.mapper.MtProductMapper.selectById - ==> Preparing: SELECT id,name,price,main_image,status,shop_id,create_time,update_time FROM mt_product WHERE id=?
2025-12-23 14:16:13.353 [http-nio-8082-exec-2] DEBUG com.mtkj.mtpay.mapper.MtProductMapper.selectById - ==> Parameters: 1(Long)
2025-12-23 14:16:13.672 [http-nio-8082-exec-2] DEBUG com.mtkj.mtpay.mapper.MtProductMapper.selectById - <== Total: 1
2025-12-23 14:16:13.674 [http-nio-8082-exec-2] DEBUG c.mtkj.mtpay.mapper.MtProductSkuMapper.selectList - ==> Preparing: SELECT id,product_id,sku,price,currency,stock,sales_attrs,sku_image,weight,size,specification,status,create_time,update_time FROM mt_product_sku WHERE (product_id = ? AND status = ?)
2025-12-23 14:16:13.675 [http-nio-8082-exec-2] DEBUG c.mtkj.mtpay.mapper.MtProductSkuMapper.selectList - ==> Parameters: 1(Long), ACTIVE(String)
2025-12-23 14:16:13.729 [http-nio-8082-exec-2] DEBUG c.mtkj.mtpay.mapper.MtProductSkuMapper.selectList - <== Total: 15
2025-12-23 14:16:13.729 [http-nio-8082-exec-2] DEBUG com.mtkj.mtpay.service.impl.ProductServiceImpl - 查询到商品SKU数量: 15, 商品ID: 1
2025-12-23 14:16:13.734 [http-nio-8082-exec-2] DEBUG com.mtkj.mtpay.service.impl.ProductServiceImpl - 解析商品主图(多图),数量: 5
2025-12-23 14:16:13.736 [http-nio-8082-exec-2] INFO com.mtkj.mtpay.service.impl.ProductServiceImpl - 获取商品详情成功商品ID: 1, 商品名称: 名创优品毛巾女2025新款洗澡男士浴巾比全棉100纯棉吸水干发成人, SKU数量: 15, 主图数量: 5
2025-12-23 14:19:09.365 [http-nio-8082-exec-3] INFO com.mtkj.mtpay.controller.CustomerOrderController - 创建客户订单请求CreateCustomerOrderRequestDTO(productId=1, skuId=5, quantity=1, customerName=邱斌, customerPhone=18969599531, customerEmail=18969599531@163.com, shippingName=邱斌, shippingPhone=18969599531, shippingCountry=CN, shippingState=浙江省, shippingCity=丽水市, shippingStreet=丽水市莲都区万象街道晶都步行街阿姨奶茶隔壁潮童馆, shippingPostcode=323000, remark=null)
2025-12-23 14:19:09.465 [http-nio-8082-exec-3] INFO c.mtkj.mtpay.service.impl.CustomerOrderServiceImpl - 创建客户订单商品ID: 1, SKU ID: 5, 数量: 1
2025-12-23 14:19:09.467 [http-nio-8082-exec-3] DEBUG com.mtkj.mtpay.mapper.MtProductMapper.selectById - ==> Preparing: SELECT id,name,price,main_image,status,shop_id,create_time,update_time FROM mt_product WHERE id=?
2025-12-23 14:19:09.467 [http-nio-8082-exec-3] DEBUG com.mtkj.mtpay.mapper.MtProductMapper.selectById - ==> Parameters: 1(Long)
2025-12-23 14:19:09.514 [http-nio-8082-exec-3] DEBUG com.mtkj.mtpay.mapper.MtProductMapper.selectById - <== Total: 1
2025-12-23 14:19:09.516 [http-nio-8082-exec-3] DEBUG c.mtkj.mtpay.mapper.MtProductSkuMapper.selectById - ==> Preparing: SELECT id,product_id,sku,price,currency,stock,sales_attrs,sku_image,weight,size,specification,status,create_time,update_time FROM mt_product_sku WHERE id=?
2025-12-23 14:19:09.516 [http-nio-8082-exec-3] DEBUG c.mtkj.mtpay.mapper.MtProductSkuMapper.selectById - ==> Parameters: 5(Long)
2025-12-23 14:19:09.560 [http-nio-8082-exec-3] DEBUG c.mtkj.mtpay.mapper.MtProductSkuMapper.selectById - <== Total: 1
2025-12-23 14:19:09.561 [http-nio-8082-exec-3] DEBUG com.mtkj.mtpay.util.OrderIdGenerator - 生成商户订单号: MTN17664707495606021
2025-12-23 14:19:09.568 [http-nio-8082-exec-3] DEBUG com.mtkj.mtpay.config.MyMetaObjectHandler - 开始插入填充...
2025-12-23 14:19:09.570 [http-nio-8082-exec-3] DEBUG com.mtkj.mtpay.mapper.CustomerOrderMapper.insert - ==> Preparing: INSERT INTO customer_order ( order_no, product_id, product_name, sku_id, sku_name, quantity, unit_price, total_amount, currency, status, customer_name, customer_phone, customer_email, shipping_name, shipping_phone, shipping_country, shipping_state, shipping_city, shipping_street, shipping_postcode, payment_status, create_time, update_time ) VALUES ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ? )
2025-12-23 14:19:09.572 [http-nio-8082-exec-3] DEBUG com.mtkj.mtpay.mapper.CustomerOrderMapper.insert - ==> Parameters: MTN17664707495606021(String), 1(Long), 名创优品毛巾女2025新款洗澡男士浴巾比全棉100纯棉吸水干发成人(String), 5(Long), 【✅性价比首选】米白色+浅水蓝+天空灰【⭐毛巾实惠3条装】(String), 1(Integer), 4.22(BigDecimal), 4.22(BigDecimal), SGD(String), PENDING(String), 邱斌(String), 18969599531(String), 18969599531@163.com(String), 邱斌(String), 18969599531(String), CN(String), 浙江省(String), 丽水市(String), 丽水市莲都区万象街道晶都步行街阿姨奶茶隔壁潮童馆(String), 323000(String), UNPAID(String), 2025-12-23T14:19:09.568172800(LocalDateTime), 2025-12-23T14:19:09.570191100(LocalDateTime)
2025-12-23 14:19:09.668 [http-nio-8082-exec-3] DEBUG com.mtkj.mtpay.mapper.CustomerOrderMapper.insert - <== Updates: 1
2025-12-23 14:19:09.669 [http-nio-8082-exec-3] INFO c.mtkj.mtpay.service.impl.CustomerOrderServiceImpl - 客户订单创建成功订单ID: 2, 订单号: MTN17664707495606021
2025-12-23 14:19:09.876 [http-nio-8082-exec-4] INFO com.mtkj.mtpay.controller.CustomerOrderController - 获取订单详情订单号MTN17664707495606021
2025-12-23 14:19:09.876 [http-nio-8082-exec-4] DEBUG c.mtkj.mtpay.service.impl.CustomerOrderServiceImpl - 查询订单,订单号: MTN17664707495606021
2025-12-23 14:19:09.877 [http-nio-8082-exec-4] DEBUG c.mtkj.mtpay.mapper.CustomerOrderMapper.selectList - ==> Preparing: SELECT id,order_no,product_id,product_name,sku_id,sku_name,quantity,unit_price,total_amount,currency,status,customer_name,customer_phone,customer_email,shipping_name,shipping_phone,shipping_country,shipping_state,shipping_city,shipping_street,shipping_postcode,payment_order_id,payment_status,remark,create_time,update_time FROM customer_order WHERE (order_no = ?)
2025-12-23 14:19:09.878 [http-nio-8082-exec-4] DEBUG c.mtkj.mtpay.mapper.CustomerOrderMapper.selectList - ==> Parameters: MTN17664707495606021(String)
2025-12-23 14:19:09.922 [http-nio-8082-exec-4] DEBUG c.mtkj.mtpay.mapper.CustomerOrderMapper.selectList - <== Total: 1
2025-12-23 14:19:12.292 [http-nio-8082-exec-5] INFO com.mtkj.mtpay.controller.PayPalController - 创建PayPal订单请求CreatePayPalOrderRequestDTO(intent=CAPTURE, referenceId=MTN17664707495606021, amount=4.22, currencyCode=SGD, itemName=名创优品毛巾女2025新款洗澡男士浴巾比全棉100纯棉吸水干发成人, itemDescription=【✅性价比首选】米白色+浅水蓝+天空灰【⭐毛巾实惠3条装】, itemSku=【✅性价比首选】米白色+浅水蓝+天空灰【⭐毛巾实惠3条装】, itemQuantity=1, itemUnitAmount=4.22, returnUrl=http://localhost:3000/paypal/success?orderNo=MTN17664707495606021, cancelUrl=http://localhost:3000/paypal/cancel?orderNo=MTN17664707495606021, shippingName=邱斌, shippingAddressLine1=丽水市莲都区万象街道晶都步行街阿姨奶茶隔壁潮童馆, shippingAddressLine2=null, shippingCity=丽水市, shippingState=浙江省, shippingPostalCode=323000, shippingCountryCode=CN, emailAddress=18969599531@163.com)
2025-12-23 14:19:12.292 [http-nio-8082-exec-5] INFO com.mtkj.mtpay.service.impl.PayPalServiceImpl - 创建PayPal订单ERP订单号: MTN17664707495606021
2025-12-23 14:19:13.827 [http-nio-8082-exec-5] INFO com.mtkj.mtpay.service.impl.PayPalServiceImpl - PayPal订单创建成功订单ID: 7SM16675R4295403F, 状态: PAYER_ACTION_REQUIRED
2025-12-23 14:20:06.446 [http-nio-8082-exec-6] INFO com.mtkj.mtpay.controller.CustomerOrderController - 获取订单详情订单号MTN17664707495606021
2025-12-23 14:20:06.446 [http-nio-8082-exec-6] DEBUG c.mtkj.mtpay.service.impl.CustomerOrderServiceImpl - 查询订单,订单号: MTN17664707495606021
2025-12-23 14:20:06.447 [http-nio-8082-exec-6] DEBUG c.mtkj.mtpay.mapper.CustomerOrderMapper.selectList - ==> Preparing: SELECT id,order_no,product_id,product_name,sku_id,sku_name,quantity,unit_price,total_amount,currency,status,customer_name,customer_phone,customer_email,shipping_name,shipping_phone,shipping_country,shipping_state,shipping_city,shipping_street,shipping_postcode,payment_order_id,payment_status,remark,create_time,update_time FROM customer_order WHERE (order_no = ?)
2025-12-23 14:20:06.448 [http-nio-8082-exec-6] DEBUG c.mtkj.mtpay.mapper.CustomerOrderMapper.selectList - ==> Parameters: MTN17664707495606021(String)
2025-12-23 14:20:06.489 [http-nio-8082-exec-6] DEBUG c.mtkj.mtpay.mapper.CustomerOrderMapper.selectList - <== Total: 1
2025-12-23 14:20:08.258 [http-nio-8082-exec-8] INFO com.mtkj.mtpay.controller.PayPalController - 创建PayPal订单请求CreatePayPalOrderRequestDTO(intent=CAPTURE, referenceId=MTN17664707495606021, amount=4.22, currencyCode=SGD, itemName=名创优品毛巾女2025新款洗澡男士浴巾比全棉100纯棉吸水干发成人, itemDescription=【✅性价比首选】米白色+浅水蓝+天空灰【⭐毛巾实惠3条装】, itemSku=【✅性价比首选】米白色+浅水蓝+天空灰【⭐毛巾实惠3条装】, itemQuantity=1, itemUnitAmount=4.22, returnUrl=http://localhost:3000/paypal/success?orderNo=MTN17664707495606021, cancelUrl=http://localhost:3000/paypal/cancel?orderNo=MTN17664707495606021, shippingName=邱斌, shippingAddressLine1=丽水市莲都区万象街道晶都步行街阿姨奶茶隔壁潮童馆, shippingAddressLine2=null, shippingCity=丽水市, shippingState=浙江省, shippingPostalCode=323000, shippingCountryCode=CN, emailAddress=18969599531@163.com)
2025-12-23 14:20:08.259 [http-nio-8082-exec-8] INFO com.mtkj.mtpay.service.impl.PayPalServiceImpl - 创建PayPal订单ERP订单号: MTN17664707495606021
2025-12-23 14:20:09.729 [http-nio-8082-exec-8] INFO com.mtkj.mtpay.service.impl.PayPalServiceImpl - PayPal订单创建成功订单ID: 11F082449P851340T, 状态: PAYER_ACTION_REQUIRED
2025-12-23 14:20:20.160 [Thread-8] INFO org.apache.coyote.http11.Http11NioProtocol - Stopping ProtocolHandler ["http-nio-8082"]
2025-12-23 14:20:20.264 [restartedMain] INFO com.mtkj.mtkjpay.MtkjpayApplication -
╔══════════════════════════════════════════════════════════╗
║ ║
║ MTKJ PAY 支付系统正在启动... ║
║ ║
╚══════════════════════════════════════════════════════════╝
2025-12-23 14:20:20.315 [restartedMain] INFO com.mtkj.mtkjpay.MtkjpayApplication - Starting MtkjpayApplication using Java 17.0.12 with PID 20936 (E:\MTKJPAY\mt-startup\target\classes started by 18969 in E:\MTKJPAY)
2025-12-23 14:20:20.315 [restartedMain] INFO com.mtkj.mtkjpay.MtkjpayApplication - The following 1 profile is active: "dev"
2025-12-23 14:20:20.709 [restartedMain] INFO org.apache.coyote.http11.Http11NioProtocol - Initializing ProtocolHandler ["http-nio-8082"]
2025-12-23 14:20:20.709 [restartedMain] INFO org.apache.catalina.core.StandardService - Starting service [Tomcat]
2025-12-23 14:20:20.709 [restartedMain] INFO org.apache.catalina.core.StandardEngine - Starting Servlet engine: [Apache Tomcat/10.1.16]
2025-12-23 14:20:20.732 [restartedMain] INFO o.a.c.core.ContainerBase.[Tomcat].[localhost].[/] - Initializing Spring embedded WebApplicationContext
2025-12-23 14:20:20.743 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - ═══════════════════════════════════════════════════════════
2025-12-23 14:20:20.743 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - PayPal配置加载验证:
2025-12-23 14:20:20.743 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Client ID: ✅ 已配置 (AdGYUZpvLuHR30dybOAp...)
2025-12-23 14:20:20.744 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Client Secret: ✅ 已配置 (ENblspyRmwsOU_PWFurl...)
2025-12-23 14:20:20.744 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Mode: sandbox
2025-12-23 14:20:20.744 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Enabled: true
2025-12-23 14:20:20.744 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Base URL: https://api-m.sandbox.paypal.com
2025-12-23 14:20:20.744 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - ═══════════════════════════════════════════════════════════
2025-12-23 14:20:20.752 [restartedMain] INFO com.mtkj.mtpay.config.MyBatisPlusConfig - 初始化MyBatis-Plus分页插件数据库类型: MYSQL
2025-12-23 14:20:20.753 [restartedMain] INFO com.mtkj.mtpay.config.MyBatisPlusConfig - MyBatis-Plus分页插件配置完成
2025-12-23 14:20:20.755 [restartedMain] INFO com.mtkj.mtpay.config.DruidDataSourceConfig - 初始化Druid主数据源
2025-12-23 14:20:20.755 [restartedMain] INFO com.mtkj.mtpay.config.DruidDataSourceConfig - 配置属性 - URL: jdbc:mysql://rm-j6c3u06k2afwn8hxw6o.mysql.rds.aliyuncs.com:3306/mtpay?useUnicode=true&characterEncoding=utf-8&useSSL=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai, Username: mtkj2025
2025-12-23 14:20:20.756 [restartedMain] INFO com.mtkj.mtpay.config.DruidDataSourceConfig - Druid主数据源配置完成URL: jdbc:mysql://rm-j6c3u06k2afwn8hxw6o.mysql.rds.aliyuncs.com:3306/mtpay?useUnicode=true&characterEncoding=utf-8&useSSL=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai
2025-12-23 14:20:21.081 [restartedMain] INFO com.mtkj.mtpay.config.RestClientConfig - 初始化RestClient配置JSON消息转换器
2025-12-23 14:20:21.084 [restartedMain] INFO com.mtkj.mtpay.config.RestClientConfig - RestClient配置完成
2025-12-23 14:20:21.163 [restartedMain] INFO com.mtkj.mtpay.config.WebConfig - 配置跨域访问,路径: /api/**, 允许所有来源
2025-12-23 14:20:21.164 [restartedMain] INFO com.mtkj.mtpay.config.WebConfig - 跨域配置完成
2025-12-23 14:20:21.256 [restartedMain] INFO org.apache.coyote.http11.Http11NioProtocol - Starting ProtocolHandler ["http-nio-8082"]
2025-12-23 14:20:21.263 [restartedMain] INFO com.mtkj.mtkjpay.MtkjpayApplication - Started MtkjpayApplication in 0.994 seconds (process running for 300.865)
2025-12-23 14:20:21.265 [restartedMain] INFO com.mtkj.mtkjpay.MtkjpayApplication -
╔══════════════════════════════════════════════════════════╗
║ ║
║ ✅ MTKJ PAY 支付系统启动成功! ✅ ║
║ ║
╠══════════════════════════════════════════════════════════╣
║ 应用信息 ║
╠══════════════════════════════════════════════════════════╣
║ 应用名称: {:<45} ║
║ 运行环境: {:<45} ║
║ 服务端口: {:<45} ║
╠══════════════════════════════════════════════════════════╣
║ 访问地址 ║
╠══════════════════════════════════════════════════════════╣
║ 后端服务: {:<45} ║
║ API接口: {:<45} ║
║ Druid监控: {:<45} ║
╠══════════════════════════════════════════════════════════╣
║ 状态: 🟢 服务运行中,可以接收请求 ║
╚══════════════════════════════════════════════════════════╝
2025-12-23 14:20:21.265 [restartedMain] INFO com.mtkj.mtkjpay.MtkjpayApplication -
📌 提示:
- 前端代理地址: http://localhost:3000
- 后端API地址: http://localhost:8082//api
- 图片上传接口: http://localhost:8082//api/product/upload/image
- 商品管理接口: http://localhost:8082//api/product
2025-12-23 14:20:22.688 [Thread-10] INFO org.apache.coyote.http11.Http11NioProtocol - Stopping ProtocolHandler ["http-nio-8082"]
2025-12-23 14:20:22.752 [restartedMain] INFO com.mtkj.mtkjpay.MtkjpayApplication -
╔══════════════════════════════════════════════════════════╗
║ ║
║ MTKJ PAY 支付系统正在启动... ║
║ ║
╚══════════════════════════════════════════════════════════╝
2025-12-23 14:20:22.783 [restartedMain] INFO com.mtkj.mtkjpay.MtkjpayApplication - Starting MtkjpayApplication using Java 17.0.12 with PID 20936 (E:\MTKJPAY\mt-startup\target\classes started by 18969 in E:\MTKJPAY)
2025-12-23 14:20:22.783 [restartedMain] INFO com.mtkj.mtkjpay.MtkjpayApplication - The following 1 profile is active: "dev"
2025-12-23 14:20:23.188 [restartedMain] INFO org.apache.coyote.http11.Http11NioProtocol - Initializing ProtocolHandler ["http-nio-8082"]
2025-12-23 14:20:23.188 [restartedMain] INFO org.apache.catalina.core.StandardService - Starting service [Tomcat]
2025-12-23 14:20:23.188 [restartedMain] INFO org.apache.catalina.core.StandardEngine - Starting Servlet engine: [Apache Tomcat/10.1.16]
2025-12-23 14:20:23.203 [restartedMain] INFO o.a.c.core.ContainerBase.[Tomcat].[localhost].[/] - Initializing Spring embedded WebApplicationContext
2025-12-23 14:20:23.218 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - ═══════════════════════════════════════════════════════════
2025-12-23 14:20:23.218 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - PayPal配置加载验证:
2025-12-23 14:20:23.219 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Client ID: ✅ 已配置 (AdGYUZpvLuHR30dybOAp...)
2025-12-23 14:20:23.219 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Client Secret: ✅ 已配置 (ENblspyRmwsOU_PWFurl...)
2025-12-23 14:20:23.219 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Mode: sandbox
2025-12-23 14:20:23.219 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Enabled: true
2025-12-23 14:20:23.219 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Base URL: https://api-m.sandbox.paypal.com
2025-12-23 14:20:23.219 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - ═══════════════════════════════════════════════════════════
2025-12-23 14:20:23.225 [restartedMain] INFO com.mtkj.mtpay.config.MyBatisPlusConfig - 初始化MyBatis-Plus分页插件数据库类型: MYSQL
2025-12-23 14:20:23.225 [restartedMain] INFO com.mtkj.mtpay.config.MyBatisPlusConfig - MyBatis-Plus分页插件配置完成
2025-12-23 14:20:23.227 [restartedMain] INFO com.mtkj.mtpay.config.DruidDataSourceConfig - 初始化Druid主数据源
2025-12-23 14:20:23.227 [restartedMain] INFO com.mtkj.mtpay.config.DruidDataSourceConfig - 配置属性 - URL: jdbc:mysql://rm-j6c3u06k2afwn8hxw6o.mysql.rds.aliyuncs.com:3306/mtpay?useUnicode=true&characterEncoding=utf-8&useSSL=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai, Username: mtkj2025
2025-12-23 14:20:23.227 [restartedMain] INFO com.mtkj.mtpay.config.DruidDataSourceConfig - Druid主数据源配置完成URL: jdbc:mysql://rm-j6c3u06k2afwn8hxw6o.mysql.rds.aliyuncs.com:3306/mtpay?useUnicode=true&characterEncoding=utf-8&useSSL=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai
2025-12-23 14:20:23.484 [restartedMain] INFO com.mtkj.mtpay.config.RestClientConfig - 初始化RestClient配置JSON消息转换器
2025-12-23 14:20:23.488 [restartedMain] INFO com.mtkj.mtpay.config.RestClientConfig - RestClient配置完成
2025-12-23 14:20:23.553 [restartedMain] INFO com.mtkj.mtpay.config.WebConfig - 配置跨域访问,路径: /api/**, 允许所有来源
2025-12-23 14:20:23.553 [restartedMain] INFO com.mtkj.mtpay.config.WebConfig - 跨域配置完成
2025-12-23 14:20:23.608 [restartedMain] INFO org.apache.coyote.http11.Http11NioProtocol - Starting ProtocolHandler ["http-nio-8082"]
2025-12-23 14:20:23.613 [restartedMain] INFO com.mtkj.mtkjpay.MtkjpayApplication - Started MtkjpayApplication in 0.857 seconds (process running for 303.216)
2025-12-23 14:20:23.615 [restartedMain] INFO com.mtkj.mtkjpay.MtkjpayApplication -
╔══════════════════════════════════════════════════════════╗
║ ║
║ ✅ MTKJ PAY 支付系统启动成功! ✅ ║
║ ║
╠══════════════════════════════════════════════════════════╣
║ 应用信息 ║
╠══════════════════════════════════════════════════════════╣
║ 应用名称: {:<45} ║
║ 运行环境: {:<45} ║
║ 服务端口: {:<45} ║
╠══════════════════════════════════════════════════════════╣
║ 访问地址 ║
╠══════════════════════════════════════════════════════════╣
║ 后端服务: {:<45} ║
║ API接口: {:<45} ║
║ Druid监控: {:<45} ║
╠══════════════════════════════════════════════════════════╣
║ 状态: 🟢 服务运行中,可以接收请求 ║
╚══════════════════════════════════════════════════════════╝
2025-12-23 14:20:23.615 [restartedMain] INFO com.mtkj.mtkjpay.MtkjpayApplication -
📌 提示:
- 前端代理地址: http://localhost:3000
- 后端API地址: http://localhost:8082//api
- 图片上传接口: http://localhost:8082//api/product/upload/image
- 商品管理接口: http://localhost:8082//api/product
2025-12-23 14:21:56.673 [http-nio-8082-exec-1] INFO o.a.c.core.ContainerBase.[Tomcat].[localhost].[/] - Initializing Spring DispatcherServlet 'dispatcherServlet'
2025-12-23 14:21:56.676 [http-nio-8082-exec-1] INFO com.mtkj.mtpay.controller.CustomerOrderController - 获取订单详情订单号MTN17664707495606021
2025-12-23 14:21:56.676 [http-nio-8082-exec-1] DEBUG c.mtkj.mtpay.service.impl.CustomerOrderServiceImpl - 查询订单,订单号: MTN17664707495606021
2025-12-23 14:21:58.404 [http-nio-8082-exec-1] DEBUG c.mtkj.mtpay.mapper.CustomerOrderMapper.selectList - ==> Preparing: SELECT id,order_no,product_id,product_name,sku_id,sku_name,quantity,unit_price,total_amount,currency,status,customer_name,customer_phone,customer_email,shipping_name,shipping_phone,shipping_country,shipping_state,shipping_city,shipping_street,shipping_postcode,payment_order_id,payment_status,remark,create_time,update_time FROM customer_order WHERE (order_no = ?)
2025-12-23 14:21:58.406 [http-nio-8082-exec-1] DEBUG c.mtkj.mtpay.mapper.CustomerOrderMapper.selectList - ==> Parameters: MTN17664707495606021(String)
2025-12-23 14:21:58.444 [http-nio-8082-exec-1] DEBUG c.mtkj.mtpay.mapper.CustomerOrderMapper.selectList - <== Total: 1
2025-12-23 14:22:00.128 [http-nio-8082-exec-5] INFO com.mtkj.mtpay.controller.PayPalController - 创建PayPal订单请求CreatePayPalOrderRequestDTO(intent=CAPTURE, referenceId=MTN17664707495606021, amount=4.22, currencyCode=SGD, itemName=名创优品毛巾女2025新款洗澡男士浴巾比全棉100纯棉吸水干发成人, itemDescription=【✅性价比首选】米白色+浅水蓝+天空灰【⭐毛巾实惠3条装】, itemSku=【✅性价比首选】米白色+浅水蓝+天空灰【⭐毛巾实惠3条装】, itemQuantity=1, itemUnitAmount=4.22, returnUrl=http://localhost:3000/paypal/success?orderNo=MTN17664707495606021, cancelUrl=http://localhost:3000/paypal/cancel?orderNo=MTN17664707495606021, shippingName=邱斌, shippingAddressLine1=丽水市莲都区万象街道晶都步行街阿姨奶茶隔壁潮童馆, shippingAddressLine2=null, shippingCity=丽水市, shippingState=浙江省, shippingPostalCode=323000, shippingCountryCode=CN, emailAddress=18969599531@163.com)
2025-12-23 14:22:00.134 [http-nio-8082-exec-5] INFO com.mtkj.mtpay.service.impl.PayPalServiceImpl - 创建PayPal订单ERP订单号: MTN17664707495606021
2025-12-23 14:22:00.134 [http-nio-8082-exec-5] INFO com.mtkj.mtpay.service.impl.PayPalServiceImpl - 获取PayPal访问令牌
2025-12-23 14:22:00.134 [http-nio-8082-exec-5] DEBUG com.mtkj.mtpay.service.impl.PayPalServiceImpl - PayPal配置检查 - Client ID: AdGYUZpvLuHR30dybOAp..., Client Secret: ENblspyRmwsOU_PWFurl...
2025-12-23 14:22:00.736 [http-nio-8082-exec-5] INFO com.mtkj.mtpay.service.impl.PayPalServiceImpl - PayPal访问令牌获取成功
2025-12-23 14:22:01.972 [http-nio-8082-exec-5] INFO com.mtkj.mtpay.service.impl.PayPalServiceImpl - PayPal订单创建成功订单ID: 5TD00278742431722, 状态: PAYER_ACTION_REQUIRED
2025-12-23 14:24:35.962 [http-nio-8082-exec-3] INFO com.mtkj.mtpay.controller.ProductController - 根据链接码获取商品详情链接码3582a1dfbb174d84aac9f465b7180b50
2025-12-23 14:24:35.962 [http-nio-8082-exec-3] DEBUG com.mtkj.mtpay.service.impl.ProductServiceImpl - 根据链接码获取商品ID链接码: 3582a1dfbb174d84aac9f465b7180b50
2025-12-23 14:24:35.962 [http-nio-8082-exec-3] DEBUG c.mtkj.mtpay.service.impl.ProductLinkServiceImpl - 根据链接码获取商品链接,链接码: 3582a1dfbb174d84aac9f465b7180b50
2025-12-23 14:24:36.003 [http-nio-8082-exec-3] DEBUG c.mtkj.mtpay.mapper.MtProductLinkMapper.selectList - ==> Preparing: SELECT id,product_id,link_code,full_url,expire_days,expire_time,status,create_time,update_time FROM mt_product_link WHERE (link_code = ?) LIMIT 1
2025-12-23 14:24:36.003 [http-nio-8082-exec-3] DEBUG c.mtkj.mtpay.mapper.MtProductLinkMapper.selectList - ==> Parameters: 3582a1dfbb174d84aac9f465b7180b50(String)
2025-12-23 14:24:36.042 [http-nio-8082-exec-3] DEBUG c.mtkj.mtpay.mapper.MtProductLinkMapper.selectList - <== Total: 1
2025-12-23 14:24:36.043 [http-nio-8082-exec-3] DEBUG com.mtkj.mtpay.service.impl.ProductServiceImpl - 根据链接码获取商品ID成功链接码: 3582a1dfbb174d84aac9f465b7180b50, 商品ID: 1
2025-12-23 14:24:36.043 [http-nio-8082-exec-3] DEBUG com.mtkj.mtpay.service.impl.ProductServiceImpl - 查询商品详情商品ID: 1
2025-12-23 14:24:36.043 [http-nio-8082-exec-3] DEBUG com.mtkj.mtpay.mapper.MtProductMapper.selectById - ==> Preparing: SELECT id,name,price,main_image,status,shop_id,create_time,update_time FROM mt_product WHERE id=?
2025-12-23 14:24:36.044 [http-nio-8082-exec-3] DEBUG com.mtkj.mtpay.mapper.MtProductMapper.selectById - ==> Parameters: 1(Long)
2025-12-23 14:24:36.085 [http-nio-8082-exec-3] DEBUG com.mtkj.mtpay.mapper.MtProductMapper.selectById - <== Total: 1
2025-12-23 14:24:36.087 [http-nio-8082-exec-3] DEBUG c.mtkj.mtpay.mapper.MtProductSkuMapper.selectList - ==> Preparing: SELECT id,product_id,sku,price,currency,stock,sales_attrs,sku_image,weight,size,specification,status,create_time,update_time FROM mt_product_sku WHERE (product_id = ? AND status = ?)
2025-12-23 14:24:36.087 [http-nio-8082-exec-3] DEBUG c.mtkj.mtpay.mapper.MtProductSkuMapper.selectList - ==> Parameters: 1(Long), ACTIVE(String)
2025-12-23 14:24:36.130 [http-nio-8082-exec-3] DEBUG c.mtkj.mtpay.mapper.MtProductSkuMapper.selectList - <== Total: 15
2025-12-23 14:24:36.130 [http-nio-8082-exec-3] DEBUG com.mtkj.mtpay.service.impl.ProductServiceImpl - 查询到商品SKU数量: 15, 商品ID: 1
2025-12-23 14:24:36.132 [http-nio-8082-exec-3] DEBUG com.mtkj.mtpay.service.impl.ProductServiceImpl - 解析商品主图(多图),数量: 5
2025-12-23 14:24:36.135 [http-nio-8082-exec-3] INFO com.mtkj.mtpay.service.impl.ProductServiceImpl - 获取商品详情成功商品ID: 1, 商品名称: 名创优品毛巾女2025新款洗澡男士浴巾比全棉100纯棉吸水干发成人, SKU数量: 15, 主图数量: 5
2025-12-23 14:27:08.300 [http-nio-8082-exec-9] INFO com.mtkj.mtpay.controller.CustomerOrderController - 获取订单详情订单号MTN17664707495606021
2025-12-23 14:27:08.300 [http-nio-8082-exec-9] DEBUG c.mtkj.mtpay.service.impl.CustomerOrderServiceImpl - 查询订单,订单号: MTN17664707495606021
2025-12-23 14:27:08.339 [http-nio-8082-exec-9] DEBUG c.mtkj.mtpay.mapper.CustomerOrderMapper.selectList - ==> Preparing: SELECT id,order_no,product_id,product_name,sku_id,sku_name,quantity,unit_price,total_amount,currency,status,customer_name,customer_phone,customer_email,shipping_name,shipping_phone,shipping_country,shipping_state,shipping_city,shipping_street,shipping_postcode,payment_order_id,payment_status,remark,create_time,update_time FROM customer_order WHERE (order_no = ?)
2025-12-23 14:27:08.340 [http-nio-8082-exec-9] DEBUG c.mtkj.mtpay.mapper.CustomerOrderMapper.selectList - ==> Parameters: MTN17664707495606021(String)
2025-12-23 14:27:08.379 [http-nio-8082-exec-9] DEBUG c.mtkj.mtpay.mapper.CustomerOrderMapper.selectList - <== Total: 1
2025-12-23 14:27:08.389 [http-nio-8082-exec-2] INFO com.mtkj.mtpay.controller.PayPalController - 查询PayPal订单订单ID5TD00278742431722
2025-12-23 14:27:08.389 [http-nio-8082-exec-2] INFO com.mtkj.mtpay.service.impl.PayPalServiceImpl - 查询PayPal订单订单ID: 5TD00278742431722
2025-12-23 14:27:09.030 [http-nio-8082-exec-2] INFO com.mtkj.mtpay.service.impl.PayPalServiceImpl - 查询PayPal订单成功订单ID: 5TD00278742431722, 状态: APPROVED
2025-12-23 14:27:09.040 [http-nio-8082-exec-6] INFO com.mtkj.mtpay.controller.PayPalController - 捕获PayPal订单订单ID5TD00278742431722, ERP订单号MTN17664707495606021
2025-12-23 14:27:09.041 [http-nio-8082-exec-6] INFO com.mtkj.mtpay.service.impl.PayPalServiceImpl - 捕获PayPal订单订单ID: 5TD00278742431722
2025-12-23 14:27:10.782 [http-nio-8082-exec-6] INFO com.mtkj.mtpay.service.impl.PayPalServiceImpl - 捕获PayPal订单成功订单ID: 5TD00278742431722, 状态: COMPLETED
2025-12-23 14:27:10.782 [http-nio-8082-exec-6] INFO c.mtkj.mtpay.service.impl.CustomerOrderServiceImpl - 更新订单支付状态,订单号: MTN17664707495606021, 支付状态: PAID, 支付订单ID: null
2025-12-23 14:27:10.784 [http-nio-8082-exec-6] DEBUG c.mtkj.mtpay.mapper.CustomerOrderMapper.selectList - ==> Preparing: SELECT id,order_no,product_id,product_name,sku_id,sku_name,quantity,unit_price,total_amount,currency,status,customer_name,customer_phone,customer_email,shipping_name,shipping_phone,shipping_country,shipping_state,shipping_city,shipping_street,shipping_postcode,payment_order_id,payment_status,remark,create_time,update_time FROM customer_order WHERE (order_no = ?)
2025-12-23 14:27:10.784 [http-nio-8082-exec-6] DEBUG c.mtkj.mtpay.mapper.CustomerOrderMapper.selectList - ==> Parameters: MTN17664707495606021(String)
2025-12-23 14:27:10.841 [http-nio-8082-exec-6] DEBUG c.mtkj.mtpay.mapper.CustomerOrderMapper.selectList - <== Total: 1
2025-12-23 14:27:10.849 [http-nio-8082-exec-6] DEBUG com.mtkj.mtpay.config.MyMetaObjectHandler - 开始更新填充...
2025-12-23 14:27:10.849 [http-nio-8082-exec-6] DEBUG c.mtkj.mtpay.mapper.CustomerOrderMapper.updateById - ==> Preparing: UPDATE customer_order SET order_no=?, product_id=?, product_name=?, sku_id=?, sku_name=?, quantity=?, unit_price=?, total_amount=?, currency=?, status=?, customer_name=?, customer_phone=?, customer_email=?, shipping_name=?, shipping_phone=?, shipping_country=?, shipping_state=?, shipping_city=?, shipping_street=?, shipping_postcode=?, payment_status=?, create_time=?, update_time=? WHERE id=?
2025-12-23 14:27:10.850 [http-nio-8082-exec-6] DEBUG c.mtkj.mtpay.mapper.CustomerOrderMapper.updateById - ==> Parameters: MTN17664707495606021(String), 1(Long), 名创优品毛巾女2025新款洗澡男士浴巾比全棉100纯棉吸水干发成人(String), 5(Long), 【✅性价比首选】米白色+浅水蓝+天空灰【⭐毛巾实惠3条装】(String), 1(Integer), 4.22(BigDecimal), 4.22(BigDecimal), SGD(String), PAID(String), 邱斌(String), 18969599531(String), 18969599531@163.com(String), 邱斌(String), 18969599531(String), CN(String), 浙江省(String), 丽水市(String), 丽水市莲都区万象街道晶都步行街阿姨奶茶隔壁潮童馆(String), 323000(String), PAID(String), 2025-12-23T14:19:10(LocalDateTime), 2025-12-23T14:19:10(LocalDateTime), 2(Long)
2025-12-23 14:27:10.937 [http-nio-8082-exec-6] DEBUG c.mtkj.mtpay.mapper.CustomerOrderMapper.updateById - <== Updates: 1
2025-12-23 14:27:10.937 [http-nio-8082-exec-6] INFO c.mtkj.mtpay.service.impl.CustomerOrderServiceImpl - 订单支付状态更新成功,订单号: MTN17664707495606021
2025-12-23 14:27:10.937 [http-nio-8082-exec-6] INFO com.mtkj.mtpay.controller.PayPalController - ERP订单支付状态已更新订单号MTN17664707495606021
2025-12-23 14:27:10.949 [http-nio-8082-exec-7] INFO com.mtkj.mtpay.controller.CustomerOrderController - 获取订单详情订单号MTN17664707495606021
2025-12-23 14:27:10.949 [http-nio-8082-exec-7] DEBUG c.mtkj.mtpay.service.impl.CustomerOrderServiceImpl - 查询订单,订单号: MTN17664707495606021
2025-12-23 14:27:10.950 [http-nio-8082-exec-7] DEBUG c.mtkj.mtpay.mapper.CustomerOrderMapper.selectList - ==> Preparing: SELECT id,order_no,product_id,product_name,sku_id,sku_name,quantity,unit_price,total_amount,currency,status,customer_name,customer_phone,customer_email,shipping_name,shipping_phone,shipping_country,shipping_state,shipping_city,shipping_street,shipping_postcode,payment_order_id,payment_status,remark,create_time,update_time FROM customer_order WHERE (order_no = ?)
2025-12-23 14:27:10.952 [http-nio-8082-exec-7] DEBUG c.mtkj.mtpay.mapper.CustomerOrderMapper.selectList - ==> Parameters: MTN17664707495606021(String)
2025-12-23 14:27:11.001 [http-nio-8082-exec-7] DEBUG c.mtkj.mtpay.mapper.CustomerOrderMapper.selectList - <== Total: 1
2025-12-23 14:27:15.238 [http-nio-8082-exec-8] INFO com.mtkj.mtpay.controller.CustomerOrderController - 获取订单详情订单号MTN17664707495606021
2025-12-23 14:27:15.238 [http-nio-8082-exec-8] DEBUG c.mtkj.mtpay.service.impl.CustomerOrderServiceImpl - 查询订单,订单号: MTN17664707495606021
2025-12-23 14:27:15.238 [http-nio-8082-exec-8] DEBUG c.mtkj.mtpay.mapper.CustomerOrderMapper.selectList - ==> Preparing: SELECT id,order_no,product_id,product_name,sku_id,sku_name,quantity,unit_price,total_amount,currency,status,customer_name,customer_phone,customer_email,shipping_name,shipping_phone,shipping_country,shipping_state,shipping_city,shipping_street,shipping_postcode,payment_order_id,payment_status,remark,create_time,update_time FROM customer_order WHERE (order_no = ?)
2025-12-23 14:27:15.239 [http-nio-8082-exec-8] DEBUG c.mtkj.mtpay.mapper.CustomerOrderMapper.selectList - ==> Parameters: MTN17664707495606021(String)
2025-12-23 14:27:15.278 [http-nio-8082-exec-8] DEBUG c.mtkj.mtpay.mapper.CustomerOrderMapper.selectList - <== Total: 1
2025-12-23 14:27:22.274 [http-nio-8082-exec-4] INFO com.mtkj.mtpay.controller.CustomerOrderController - 获取订单详情订单号MTN17664707495606021
2025-12-23 14:27:22.274 [http-nio-8082-exec-4] DEBUG c.mtkj.mtpay.service.impl.CustomerOrderServiceImpl - 查询订单,订单号: MTN17664707495606021
2025-12-23 14:27:22.276 [http-nio-8082-exec-4] DEBUG c.mtkj.mtpay.mapper.CustomerOrderMapper.selectList - ==> Preparing: SELECT id,order_no,product_id,product_name,sku_id,sku_name,quantity,unit_price,total_amount,currency,status,customer_name,customer_phone,customer_email,shipping_name,shipping_phone,shipping_country,shipping_state,shipping_city,shipping_street,shipping_postcode,payment_order_id,payment_status,remark,create_time,update_time FROM customer_order WHERE (order_no = ?)
2025-12-23 14:27:22.277 [http-nio-8082-exec-4] DEBUG c.mtkj.mtpay.mapper.CustomerOrderMapper.selectList - ==> Parameters: MTN17664707495606021(String)
2025-12-23 14:27:22.320 [http-nio-8082-exec-4] DEBUG c.mtkj.mtpay.mapper.CustomerOrderMapper.selectList - <== Total: 1
2025-12-23 14:27:22.330 [http-nio-8082-exec-10] INFO com.mtkj.mtpay.controller.PayPalController - 查询PayPal订单订单ID5TD00278742431722
2025-12-23 14:27:22.330 [http-nio-8082-exec-10] INFO com.mtkj.mtpay.service.impl.PayPalServiceImpl - 查询PayPal订单订单ID: 5TD00278742431722
2025-12-23 14:27:23.026 [http-nio-8082-exec-10] INFO com.mtkj.mtpay.service.impl.PayPalServiceImpl - 查询PayPal订单成功订单ID: 5TD00278742431722, 状态: COMPLETED
2025-12-23 14:27:25.097 [http-nio-8082-exec-1] INFO com.mtkj.mtpay.controller.ProductController - 获取商品列表
2025-12-23 14:27:25.097 [http-nio-8082-exec-1] DEBUG com.mtkj.mtpay.service.impl.ProductServiceImpl - 查询商品列表
2025-12-23 14:27:25.099 [http-nio-8082-exec-1] DEBUG com.mtkj.mtpay.mapper.MtProductMapper.selectList - ==> Preparing: SELECT id,name,price,main_image,status,shop_id,create_time,update_time FROM mt_product WHERE (status <> ?) ORDER BY create_time DESC
2025-12-23 14:27:25.100 [http-nio-8082-exec-1] DEBUG com.mtkj.mtpay.mapper.MtProductMapper.selectList - ==> Parameters: DELETED(String)
2025-12-23 14:27:25.167 [http-nio-8082-exec-1] DEBUG com.mtkj.mtpay.mapper.MtProductMapper.selectList - <== Total: 1
2025-12-23 14:27:25.167 [http-nio-8082-exec-1] DEBUG com.mtkj.mtpay.service.impl.ProductServiceImpl - 查询到商品数量: 1
2025-12-23 14:27:25.169 [http-nio-8082-exec-1] DEBUG c.mtkj.mtpay.mapper.MtProductSkuMapper.selectList - ==> Preparing: SELECT id,product_id,sku,price,currency,stock,sales_attrs,sku_image,weight,size,specification,status,create_time,update_time FROM mt_product_sku WHERE (product_id = ?)
2025-12-23 14:27:25.169 [http-nio-8082-exec-1] DEBUG c.mtkj.mtpay.mapper.MtProductSkuMapper.selectList - ==> Parameters: 1(Long)
2025-12-23 14:27:25.212 [http-nio-8082-exec-1] DEBUG c.mtkj.mtpay.mapper.MtProductSkuMapper.selectList - <== Total: 15
2025-12-23 14:27:25.219 [http-nio-8082-exec-1] INFO com.mtkj.mtpay.service.impl.ProductServiceImpl - 获取商品列表成功,商品数量: 1
2025-12-23 14:27:25.234 [http-nio-8082-exec-5] INFO com.mtkj.mtpay.controller.ProductController - 获取商品URL商品ID1
2025-12-23 14:27:25.234 [http-nio-8082-exec-5] DEBUG com.mtkj.mtpay.service.impl.ProductServiceImpl - 获取商品URL商品ID: 1
2025-12-23 14:27:25.235 [http-nio-8082-exec-5] DEBUG com.mtkj.mtpay.mapper.MtProductMapper.selectById - ==> Preparing: SELECT id,name,price,main_image,status,shop_id,create_time,update_time FROM mt_product WHERE id=?
2025-12-23 14:27:25.235 [http-nio-8082-exec-5] DEBUG com.mtkj.mtpay.mapper.MtProductMapper.selectById - ==> Parameters: 1(Long)
2025-12-23 14:27:25.272 [http-nio-8082-exec-5] DEBUG com.mtkj.mtpay.mapper.MtProductMapper.selectById - <== Total: 1
2025-12-23 14:27:25.312 [http-nio-8082-exec-5] DEBUG c.mtkj.mtpay.service.impl.ProductLinkServiceImpl - 创建或获取商品链接商品ID: 1, 有效期: 90天
2025-12-23 14:27:25.315 [http-nio-8082-exec-5] DEBUG c.mtkj.mtpay.mapper.MtProductLinkMapper.selectList - ==> Preparing: SELECT id,product_id,link_code,full_url,expire_days,expire_time,status,create_time,update_time FROM mt_product_link WHERE (product_id = ? AND status = ? AND expire_time > ?) ORDER BY create_time DESC LIMIT 1
2025-12-23 14:27:25.315 [http-nio-8082-exec-5] DEBUG c.mtkj.mtpay.mapper.MtProductLinkMapper.selectList - ==> Parameters: 1(Long), ACTIVE(String), 2025-12-23T14:27:25.313843200(LocalDateTime)
2025-12-23 14:27:25.354 [http-nio-8082-exec-5] DEBUG c.mtkj.mtpay.mapper.MtProductLinkMapper.selectList - <== Total: 1
2025-12-23 14:27:25.354 [http-nio-8082-exec-5] DEBUG c.mtkj.mtpay.service.impl.ProductLinkServiceImpl - 找到现有有效链接,链接码: 3582a1dfbb174d84aac9f465b7180b50, 商品ID: 1
2025-12-23 14:27:25.426 [http-nio-8082-exec-5] INFO com.mtkj.mtpay.service.impl.ProductServiceImpl - 获取商品URL成功商品ID: 1, 链接码: 3582a1dfbb174d84aac9f465b7180b50, URL: http://localhost:3000/product/3582a1dfbb174d84aac9f465b7180b50
2025-12-23 16:05:02.686 [Thread-17] INFO org.apache.coyote.http11.Http11NioProtocol - Stopping ProtocolHandler ["http-nio-8082"]
2025-12-23 16:05:02.889 [restartedMain] INFO com.mtkj.mtkjpay.MtkjpayApplication -
╔══════════════════════════════════════════════════════════╗
║ ║
║ MTKJ PAY 支付系统正在启动... ║
║ ║
╚══════════════════════════════════════════════════════════╝
2025-12-23 16:05:02.944 [restartedMain] INFO com.mtkj.mtkjpay.MtkjpayApplication - Starting MtkjpayApplication using Java 17.0.12 with PID 20936 (E:\MTKJPAY\mt-startup\target\classes started by 18969 in E:\MTKJPAY)
2025-12-23 16:05:02.944 [restartedMain] INFO com.mtkj.mtkjpay.MtkjpayApplication - The following 1 profile is active: "dev"
2025-12-23 16:05:03.351 [restartedMain] INFO org.apache.coyote.http11.Http11NioProtocol - Initializing ProtocolHandler ["http-nio-8082"]
2025-12-23 16:05:03.351 [restartedMain] INFO org.apache.catalina.core.StandardService - Starting service [Tomcat]
2025-12-23 16:05:03.351 [restartedMain] INFO org.apache.catalina.core.StandardEngine - Starting Servlet engine: [Apache Tomcat/10.1.16]
2025-12-23 16:05:03.368 [restartedMain] INFO o.a.c.core.ContainerBase.[Tomcat].[localhost].[/] - Initializing Spring embedded WebApplicationContext
2025-12-23 16:05:03.378 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - ═══════════════════════════════════════════════════════════
2025-12-23 16:05:03.378 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - PayPal配置加载验证:
2025-12-23 16:05:03.380 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Client ID: ✅ 已配置 (AdGYUZpvLuHR30dybOAp...)
2025-12-23 16:05:03.380 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Client Secret: ✅ 已配置 (ENblspyRmwsOU_PWFurl...)
2025-12-23 16:05:03.380 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Mode: sandbox
2025-12-23 16:05:03.380 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Enabled: true
2025-12-23 16:05:03.380 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Base URL: https://api-m.sandbox.paypal.com
2025-12-23 16:05:03.380 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - ═══════════════════════════════════════════════════════════
2025-12-23 16:05:03.391 [restartedMain] INFO com.mtkj.mtpay.config.MyBatisPlusConfig - 初始化MyBatis-Plus分页插件数据库类型: MYSQL
2025-12-23 16:05:03.391 [restartedMain] INFO com.mtkj.mtpay.config.MyBatisPlusConfig - MyBatis-Plus分页插件配置完成
2025-12-23 16:05:03.393 [restartedMain] INFO com.mtkj.mtpay.config.DruidDataSourceConfig - 初始化Druid主数据源
2025-12-23 16:05:03.393 [restartedMain] INFO com.mtkj.mtpay.config.DruidDataSourceConfig - 配置属性 - URL: jdbc:mysql://rm-j6c3u06k2afwn8hxw6o.mysql.rds.aliyuncs.com:3306/mtpay?useUnicode=true&characterEncoding=utf-8&useSSL=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai, Username: mtkj2025
2025-12-23 16:05:03.393 [restartedMain] INFO com.mtkj.mtpay.config.DruidDataSourceConfig - Druid主数据源配置完成URL: jdbc:mysql://rm-j6c3u06k2afwn8hxw6o.mysql.rds.aliyuncs.com:3306/mtpay?useUnicode=true&characterEncoding=utf-8&useSSL=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai
2025-12-23 16:05:03.696 [restartedMain] INFO com.mtkj.mtpay.config.RestClientConfig - 初始化RestClient配置JSON消息转换器
2025-12-23 16:05:03.702 [restartedMain] INFO com.mtkj.mtpay.config.RestClientConfig - RestClient配置完成
2025-12-23 16:05:03.787 [restartedMain] INFO com.mtkj.mtpay.config.WebConfig - 配置跨域访问,路径: /api/**, 允许所有来源
2025-12-23 16:05:03.788 [restartedMain] INFO com.mtkj.mtpay.config.WebConfig - 跨域配置完成
2025-12-23 16:05:03.919 [restartedMain] INFO org.apache.coyote.http11.Http11NioProtocol - Starting ProtocolHandler ["http-nio-8082"]
2025-12-23 16:05:03.928 [restartedMain] INFO com.mtkj.mtkjpay.MtkjpayApplication - Started MtkjpayApplication in 1.031 seconds (process running for 6583.53)
2025-12-23 16:05:03.932 [restartedMain] INFO com.mtkj.mtkjpay.MtkjpayApplication -
╔══════════════════════════════════════════════════════════╗
║ ║
║ ✅ MTKJ PAY 支付系统启动成功! ✅ ║
║ ║
╠══════════════════════════════════════════════════════════╣
║ 应用信息 ║
╠══════════════════════════════════════════════════════════╣
║ 应用名称: {:<45} ║
║ 运行环境: {:<45} ║
║ 服务端口: {:<45} ║
╠══════════════════════════════════════════════════════════╣
║ 访问地址 ║
╠══════════════════════════════════════════════════════════╣
║ 后端服务: {:<45} ║
║ API接口: {:<45} ║
║ Druid监控: {:<45} ║
╠══════════════════════════════════════════════════════════╣
║ 状态: 🟢 服务运行中,可以接收请求 ║
╚══════════════════════════════════════════════════════════╝
2025-12-23 16:05:03.932 [restartedMain] INFO com.mtkj.mtkjpay.MtkjpayApplication -
📌 提示:
- 前端代理地址: http://localhost:3000
- 后端API地址: http://localhost:8082//api
- 图片上传接口: http://localhost:8082//api/product/upload/image
- 商品管理接口: http://localhost:8082//api/product
2025-12-23 16:05:05.362 [Thread-24] INFO org.apache.coyote.http11.Http11NioProtocol - Stopping ProtocolHandler ["http-nio-8082"]
2025-12-23 16:05:05.480 [restartedMain] INFO com.mtkj.mtkjpay.MtkjpayApplication -
╔══════════════════════════════════════════════════════════╗
║ ║
║ MTKJ PAY 支付系统正在启动... ║
║ ║
╚══════════════════════════════════════════════════════════╝
2025-12-23 16:05:05.524 [restartedMain] INFO com.mtkj.mtkjpay.MtkjpayApplication - Starting MtkjpayApplication using Java 17.0.12 with PID 20936 (E:\MTKJPAY\mt-startup\target\classes started by 18969 in E:\MTKJPAY)
2025-12-23 16:05:05.524 [restartedMain] INFO com.mtkj.mtkjpay.MtkjpayApplication - The following 1 profile is active: "dev"
2025-12-23 16:05:05.792 [restartedMain] INFO org.apache.coyote.http11.Http11NioProtocol - Initializing ProtocolHandler ["http-nio-8082"]
2025-12-23 16:05:05.794 [restartedMain] INFO org.apache.catalina.core.StandardService - Starting service [Tomcat]
2025-12-23 16:05:05.794 [restartedMain] INFO org.apache.catalina.core.StandardEngine - Starting Servlet engine: [Apache Tomcat/10.1.16]
2025-12-23 16:05:05.860 [restartedMain] INFO o.a.c.core.ContainerBase.[Tomcat].[localhost].[/] - Initializing Spring embedded WebApplicationContext
2025-12-23 16:05:05.867 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - ═══════════════════════════════════════════════════════════
2025-12-23 16:05:05.868 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - PayPal配置加载验证:
2025-12-23 16:05:05.868 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Client ID: ✅ 已配置 (AdGYUZpvLuHR30dybOAp...)
2025-12-23 16:05:05.868 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Client Secret: ✅ 已配置 (ENblspyRmwsOU_PWFurl...)
2025-12-23 16:05:05.868 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Mode: sandbox
2025-12-23 16:05:05.868 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Enabled: true
2025-12-23 16:05:05.868 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Base URL: https://api-m.sandbox.paypal.com
2025-12-23 16:05:05.868 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - ═══════════════════════════════════════════════════════════
2025-12-23 16:05:05.874 [restartedMain] INFO com.mtkj.mtpay.config.MyBatisPlusConfig - 初始化MyBatis-Plus分页插件数据库类型: MYSQL
2025-12-23 16:05:05.874 [restartedMain] INFO com.mtkj.mtpay.config.MyBatisPlusConfig - MyBatis-Plus分页插件配置完成
2025-12-23 16:05:05.875 [restartedMain] INFO com.mtkj.mtpay.config.DruidDataSourceConfig - 初始化Druid主数据源
2025-12-23 16:05:05.875 [restartedMain] INFO com.mtkj.mtpay.config.DruidDataSourceConfig - 配置属性 - URL: jdbc:mysql://rm-j6c3u06k2afwn8hxw6o.mysql.rds.aliyuncs.com:3306/mtpay?useUnicode=true&characterEncoding=utf-8&useSSL=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai, Username: mtkj2025
2025-12-23 16:05:05.875 [restartedMain] INFO com.mtkj.mtpay.config.DruidDataSourceConfig - Druid主数据源配置完成URL: jdbc:mysql://rm-j6c3u06k2afwn8hxw6o.mysql.rds.aliyuncs.com:3306/mtpay?useUnicode=true&characterEncoding=utf-8&useSSL=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai
2025-12-23 16:05:06.097 [restartedMain] INFO com.mtkj.mtpay.config.RestClientConfig - 初始化RestClient配置JSON消息转换器
2025-12-23 16:05:06.102 [restartedMain] INFO com.mtkj.mtpay.config.RestClientConfig - RestClient配置完成
2025-12-23 16:05:06.146 [restartedMain] INFO com.mtkj.mtpay.config.WebConfig - 配置跨域访问,路径: /api/**, 允许所有来源
2025-12-23 16:05:06.147 [restartedMain] INFO com.mtkj.mtpay.config.WebConfig - 跨域配置完成
2025-12-23 16:05:06.200 [restartedMain] INFO org.apache.coyote.http11.Http11NioProtocol - Starting ProtocolHandler ["http-nio-8082"]
2025-12-23 16:05:06.205 [restartedMain] INFO com.mtkj.mtkjpay.MtkjpayApplication - Started MtkjpayApplication in 0.72 seconds (process running for 6585.808)
2025-12-23 16:05:06.208 [restartedMain] INFO com.mtkj.mtkjpay.MtkjpayApplication -
╔══════════════════════════════════════════════════════════╗
║ ║
║ ✅ MTKJ PAY 支付系统启动成功! ✅ ║
║ ║
╠══════════════════════════════════════════════════════════╣
║ 应用信息 ║
╠══════════════════════════════════════════════════════════╣
║ 应用名称: {:<45} ║
║ 运行环境: {:<45} ║
║ 服务端口: {:<45} ║
╠══════════════════════════════════════════════════════════╣
║ 访问地址 ║
╠══════════════════════════════════════════════════════════╣
║ 后端服务: {:<45} ║
║ API接口: {:<45} ║
║ Druid监控: {:<45} ║
╠══════════════════════════════════════════════════════════╣
║ 状态: 🟢 服务运行中,可以接收请求 ║
╚══════════════════════════════════════════════════════════╝
2025-12-23 16:05:06.208 [restartedMain] INFO com.mtkj.mtkjpay.MtkjpayApplication -
📌 提示:
- 前端代理地址: http://localhost:3000
- 后端API地址: http://localhost:8082//api
- 图片上传接口: http://localhost:8082//api/product/upload/image
- 商品管理接口: http://localhost:8082//api/product
2025-12-23 16:26:58.194 [background-preinit] INFO org.hibernate.validator.internal.util.Version - HV000001: Hibernate Validator 8.0.1.Final
2025-12-23 16:26:58.243 [restartedMain] INFO com.mtkj.mtkjpay.MtkjpayApplication - Starting MtkjpayApplication using Java 17.0.12 with PID 9136 (E:\MTKJPAY\mt-startup\target\classes started by 18969 in E:\MTKJPAY)
2025-12-23 16:26:58.244 [restartedMain] INFO com.mtkj.mtkjpay.MtkjpayApplication - The following 1 profile is active: "dev"
2025-12-23 16:26:59.645 [restartedMain] INFO org.apache.coyote.http11.Http11NioProtocol - Initializing ProtocolHandler ["http-nio-8082"]
2025-12-23 16:26:59.648 [restartedMain] INFO org.apache.catalina.core.StandardService - Starting service [Tomcat]
2025-12-23 16:26:59.648 [restartedMain] INFO org.apache.catalina.core.StandardEngine - Starting Servlet engine: [Apache Tomcat/10.1.16]
2025-12-23 16:26:59.698 [restartedMain] INFO o.a.c.core.ContainerBase.[Tomcat].[localhost].[/] - Initializing Spring embedded WebApplicationContext
2025-12-23 16:26:59.753 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - ═══════════════════════════════════════════════════════════
2025-12-23 16:26:59.753 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - PayPal配置加载验证:
2025-12-23 16:26:59.754 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Client ID: ✅ 已配置 (AdGYUZpvLuHR30dybOAp...)
2025-12-23 16:26:59.754 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Client Secret: ✅ 已配置 (ENblspyRmwsOU_PWFurl...)
2025-12-23 16:26:59.754 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Mode: sandbox
2025-12-23 16:26:59.754 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Enabled: true
2025-12-23 16:26:59.754 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Base URL: https://api-m.sandbox.paypal.com
2025-12-23 16:26:59.755 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - ═══════════════════════════════════════════════════════════
2025-12-23 16:26:59.771 [restartedMain] INFO com.mtkj.mtpay.config.MyBatisPlusConfig - 初始化MyBatis-Plus分页插件数据库类型: MYSQL
2025-12-23 16:26:59.774 [restartedMain] INFO com.mtkj.mtpay.config.MyBatisPlusConfig - MyBatis-Plus分页插件配置完成
2025-12-23 16:26:59.777 [restartedMain] INFO com.mtkj.mtpay.config.DruidDataSourceConfig - 初始化Druid主数据源
2025-12-23 16:26:59.777 [restartedMain] INFO com.mtkj.mtpay.config.DruidDataSourceConfig - 配置属性 - URL: jdbc:mysql://rm-j6c3u06k2afwn8hxw6o.mysql.rds.aliyuncs.com:3306/mtpay?useUnicode=true&characterEncoding=utf-8&useSSL=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai, Username: mtkj2025
2025-12-23 16:26:59.797 [restartedMain] INFO com.mtkj.mtpay.config.DruidDataSourceConfig - Druid主数据源配置完成URL: jdbc:mysql://rm-j6c3u06k2afwn8hxw6o.mysql.rds.aliyuncs.com:3306/mtpay?useUnicode=true&characterEncoding=utf-8&useSSL=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai
2025-12-23 16:27:00.296 [restartedMain] INFO com.mtkj.mtpay.config.RestClientConfig - 初始化RestClient配置JSON消息转换器
2025-12-23 16:27:00.442 [restartedMain] INFO com.mtkj.mtpay.config.RestClientConfig - RestClient配置完成
2025-12-23 16:27:00.550 [restartedMain] INFO com.mtkj.mtpay.config.WebConfig - 配置跨域访问,路径: /api/**, 允许所有来源
2025-12-23 16:27:00.554 [restartedMain] INFO com.mtkj.mtpay.config.WebConfig - 跨域配置完成
2025-12-23 16:27:00.854 [restartedMain] INFO org.apache.coyote.http11.Http11NioProtocol - Starting ProtocolHandler ["http-nio-8082"]
2025-12-23 16:27:00.873 [restartedMain] INFO com.mtkj.mtkjpay.MtkjpayApplication - Started MtkjpayApplication in 3.212 seconds (process running for 4.151)
2025-12-23 16:27:00.875 [restartedMain] INFO com.mtkj.mtkjpay.MtkjpayApplication -
╔══════════════════════════════════════════════════════════╗
║ ║
║ ✅ MTKJ PAY 支付系统启动成功! ✅ ║
║ ║
╠══════════════════════════════════════════════════════════╣
║ 应用信息 ║
╠══════════════════════════════════════════════════════════╣
║ 应用名称: {:<45} ║
║ 运行环境: {:<45} ║
║ 服务端口: {:<45} ║
╠══════════════════════════════════════════════════════════╣
║ 访问地址 ║
╠══════════════════════════════════════════════════════════╣
║ 后端服务: {:<45} ║
║ API接口: {:<45} ║
║ Druid监控: {:<45} ║
╠══════════════════════════════════════════════════════════╣
║ 状态: 🟢 服务运行中,可以接收请求 ║
╚══════════════════════════════════════════════════════════╝
2025-12-23 16:27:00.876 [restartedMain] INFO com.mtkj.mtkjpay.MtkjpayApplication -
📌 提示:
- 前端代理地址: http://localhost:3000
- 后端API地址: http://localhost:8082//api
- 图片上传接口: http://localhost:8082//api/product/upload/image
- 商品管理接口: http://localhost:8082//api/product
2025-12-23 16:27:00.878 [main] ERROR com.mtkj.mtkjpay.MtkjpayApplication -
╔══════════════════════════════════════════════════════════╗
║ ║
║ ❌ MTKJ PAY 支付系统启动失败! ❌ ║
║ ║
╚══════════════════════════════════════════════════════════╝
org.springframework.boot.devtools.restart.SilentExitExceptionHandler$SilentExitException: null
at org.springframework.boot.devtools.restart.SilentExitExceptionHandler.exitCurrentThread(SilentExitExceptionHandler.java:92)
at org.springframework.boot.devtools.restart.Restarter.immediateRestart(Restarter.java:179)
at org.springframework.boot.devtools.restart.Restarter.initialize(Restarter.java:163)
at org.springframework.boot.devtools.restart.Restarter.initialize(Restarter.java:532)
at org.springframework.boot.devtools.restart.RestartApplicationListener.onApplicationStartingEvent(RestartApplicationListener.java:98)
at org.springframework.boot.devtools.restart.RestartApplicationListener.onApplicationEvent(RestartApplicationListener.java:51)
at org.springframework.context.event.SimpleApplicationEventMulticaster.doInvokeListener(SimpleApplicationEventMulticaster.java:178)
at org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:171)
at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:149)
at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:137)
at org.springframework.boot.context.event.EventPublishingRunListener.multicastInitialEvent(EventPublishingRunListener.java:136)
at org.springframework.boot.context.event.EventPublishingRunListener.starting(EventPublishingRunListener.java:75)
at org.springframework.boot.SpringApplicationRunListeners.lambda$starting$0(SpringApplicationRunListeners.java:54)
at java.base/java.lang.Iterable.forEach(Iterable.java:75)
at org.springframework.boot.SpringApplicationRunListeners.doWithListeners(SpringApplicationRunListeners.java:118)
at org.springframework.boot.SpringApplicationRunListeners.starting(SpringApplicationRunListeners.java:54)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:315)
at com.mtkj.mtkjpay.MtkjpayApplication.main(MtkjpayApplication.java:33)
2025-12-23 16:27:18.774 [http-nio-8082-exec-1] INFO o.a.c.core.ContainerBase.[Tomcat].[localhost].[/] - Initializing Spring DispatcherServlet 'dispatcherServlet'
2025-12-23 16:27:18.816 [http-nio-8082-exec-1] INFO com.mtkj.mtpay.controller.ProductController - 根据链接码获取商品详情链接码3582a1dfbb174d84aac9f465b7180b50
2025-12-23 16:27:18.816 [http-nio-8082-exec-1] DEBUG com.mtkj.mtpay.service.impl.ProductServiceImpl - 根据链接码获取商品ID链接码: 3582a1dfbb174d84aac9f465b7180b50
2025-12-23 16:27:18.816 [http-nio-8082-exec-1] DEBUG c.mtkj.mtpay.service.impl.ProductLinkServiceImpl - 根据链接码获取商品链接,链接码: 3582a1dfbb174d84aac9f465b7180b50
2025-12-23 16:27:20.805 [http-nio-8082-exec-1] DEBUG c.mtkj.mtpay.mapper.MtProductLinkMapper.selectList - ==> Preparing: SELECT id,product_id,link_code,full_url,expire_days,expire_time,status,create_time,update_time FROM mt_product_link WHERE (link_code = ?) LIMIT 1
2025-12-23 16:27:20.822 [http-nio-8082-exec-1] DEBUG c.mtkj.mtpay.mapper.MtProductLinkMapper.selectList - ==> Parameters: 3582a1dfbb174d84aac9f465b7180b50(String)
2025-12-23 16:27:20.877 [http-nio-8082-exec-1] DEBUG c.mtkj.mtpay.mapper.MtProductLinkMapper.selectList - <== Total: 1
2025-12-23 16:27:20.878 [http-nio-8082-exec-1] DEBUG com.mtkj.mtpay.service.impl.ProductServiceImpl - 根据链接码获取商品ID成功链接码: 3582a1dfbb174d84aac9f465b7180b50, 商品ID: 1
2025-12-23 16:27:20.880 [http-nio-8082-exec-1] DEBUG com.mtkj.mtpay.service.impl.ProductServiceImpl - 查询商品详情商品ID: 1
2025-12-23 16:27:20.880 [http-nio-8082-exec-1] DEBUG com.mtkj.mtpay.mapper.MtProductMapper.selectById - ==> Preparing: SELECT id,name,price,main_image,status,shop_id,create_time,update_time FROM mt_product WHERE id=?
2025-12-23 16:27:20.881 [http-nio-8082-exec-1] DEBUG com.mtkj.mtpay.mapper.MtProductMapper.selectById - ==> Parameters: 1(Long)
2025-12-23 16:27:20.921 [http-nio-8082-exec-1] DEBUG com.mtkj.mtpay.mapper.MtProductMapper.selectById - <== Total: 1
2025-12-23 16:27:20.923 [http-nio-8082-exec-1] DEBUG c.mtkj.mtpay.mapper.MtProductSkuMapper.selectList - ==> Preparing: SELECT id,product_id,sku,price,currency,stock,sales_attrs,sku_image,weight,size,specification,status,create_time,update_time FROM mt_product_sku WHERE (product_id = ? AND status = ?)
2025-12-23 16:27:20.923 [http-nio-8082-exec-1] DEBUG c.mtkj.mtpay.mapper.MtProductSkuMapper.selectList - ==> Parameters: 1(Long), ACTIVE(String)
2025-12-23 16:27:20.972 [http-nio-8082-exec-1] DEBUG c.mtkj.mtpay.mapper.MtProductSkuMapper.selectList - <== Total: 15
2025-12-23 16:27:20.973 [http-nio-8082-exec-1] DEBUG com.mtkj.mtpay.service.impl.ProductServiceImpl - 查询到商品SKU数量: 15, 商品ID: 1
2025-12-23 16:27:20.988 [http-nio-8082-exec-1] DEBUG com.mtkj.mtpay.service.impl.ProductServiceImpl - 解析商品主图(多图),数量: 5
2025-12-23 16:27:20.990 [http-nio-8082-exec-1] INFO com.mtkj.mtpay.service.impl.ProductServiceImpl - 获取商品详情成功商品ID: 1, 商品名称: 名创优品毛巾女2025新款洗澡男士浴巾比全棉100纯棉吸水干发成人, SKU数量: 15, 主图数量: 5
2025-12-23 16:27:43.929 [http-nio-8082-exec-2] INFO com.mtkj.mtpay.controller.CustomerOrderController - 创建客户订单请求CreateCustomerOrderRequestDTO(productId=1, skuId=11, quantity=1, customerName=邱斌, customerPhone=18969599531, customerEmail=18969599531@163.com, shippingName=邱斌, shippingPhone=18969599531, shippingCountry=CN, shippingState=浙江省, shippingCity=丽水市, shippingStreet=丽水市莲都区万象街道晶都步行街阿姨奶茶隔壁潮童馆, shippingPostcode=323000, remark=null)
2025-12-23 16:27:43.977 [http-nio-8082-exec-2] INFO c.mtkj.mtpay.service.impl.CustomerOrderServiceImpl - 创建客户订单商品ID: 1, SKU ID: 11, 数量: 1
2025-12-23 16:27:43.978 [http-nio-8082-exec-2] DEBUG com.mtkj.mtpay.mapper.MtProductMapper.selectById - ==> Preparing: SELECT id,name,price,main_image,status,shop_id,create_time,update_time FROM mt_product WHERE id=?
2025-12-23 16:27:43.979 [http-nio-8082-exec-2] DEBUG com.mtkj.mtpay.mapper.MtProductMapper.selectById - ==> Parameters: 1(Long)
2025-12-23 16:27:44.019 [http-nio-8082-exec-2] DEBUG com.mtkj.mtpay.mapper.MtProductMapper.selectById - <== Total: 1
2025-12-23 16:27:44.019 [http-nio-8082-exec-2] DEBUG c.mtkj.mtpay.mapper.MtProductSkuMapper.selectById - ==> Preparing: SELECT id,product_id,sku,price,currency,stock,sales_attrs,sku_image,weight,size,specification,status,create_time,update_time FROM mt_product_sku WHERE id=?
2025-12-23 16:27:44.020 [http-nio-8082-exec-2] DEBUG c.mtkj.mtpay.mapper.MtProductSkuMapper.selectById - ==> Parameters: 11(Long)
2025-12-23 16:27:44.061 [http-nio-8082-exec-2] DEBUG c.mtkj.mtpay.mapper.MtProductSkuMapper.selectById - <== Total: 1
2025-12-23 16:27:44.062 [http-nio-8082-exec-2] DEBUG com.mtkj.mtpay.util.OrderIdGenerator - 生成商户订单号: MTN17664784640621176
2025-12-23 16:27:44.068 [http-nio-8082-exec-2] DEBUG com.mtkj.mtpay.config.MyMetaObjectHandler - 开始插入填充...
2025-12-23 16:27:44.070 [http-nio-8082-exec-2] DEBUG com.mtkj.mtpay.mapper.CustomerOrderMapper.insert - ==> Preparing: INSERT INTO customer_order ( order_no, product_id, product_name, sku_id, sku_name, quantity, unit_price, total_amount, currency, status, customer_name, customer_phone, customer_email, shipping_name, shipping_phone, shipping_country, shipping_state, shipping_city, shipping_street, shipping_postcode, payment_status, create_time, update_time ) VALUES ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ? )
2025-12-23 16:27:44.071 [http-nio-8082-exec-2] DEBUG com.mtkj.mtpay.mapper.CustomerOrderMapper.insert - ==> Parameters: MTN17664784640621176(String), 1(Long), 名创优品毛巾女2025新款洗澡男士浴巾比全棉100纯棉吸水干发成人(String), 11(Long), 【✅性价比首选】米白色+米白色+浅水灰【⭐毛巾实惠3条装】(String), 1(Integer), 13.31(BigDecimal), 13.31(BigDecimal), MYR(String), PENDING(String), 邱斌(String), 18969599531(String), 18969599531@163.com(String), 邱斌(String), 18969599531(String), CN(String), 浙江省(String), 丽水市(String), 丽水市莲都区万象街道晶都步行街阿姨奶茶隔壁潮童馆(String), 323000(String), UNPAID(String), 2025-12-23T16:27:44.068179300(LocalDateTime), 2025-12-23T16:27:44.070207700(LocalDateTime)
2025-12-23 16:27:44.153 [http-nio-8082-exec-2] DEBUG com.mtkj.mtpay.mapper.CustomerOrderMapper.insert - <== Updates: 1
2025-12-23 16:27:44.155 [http-nio-8082-exec-2] INFO c.mtkj.mtpay.service.impl.CustomerOrderServiceImpl - 客户订单创建成功订单ID: 3, 订单号: MTN17664784640621176
2025-12-23 16:27:44.371 [http-nio-8082-exec-3] INFO com.mtkj.mtpay.controller.CustomerOrderController - 获取订单详情订单号MTN17664784640621176
2025-12-23 16:27:44.371 [http-nio-8082-exec-3] DEBUG c.mtkj.mtpay.service.impl.CustomerOrderServiceImpl - 查询订单,订单号: MTN17664784640621176
2025-12-23 16:27:44.374 [http-nio-8082-exec-3] DEBUG c.mtkj.mtpay.mapper.CustomerOrderMapper.selectList - ==> Preparing: SELECT id,order_no,product_id,product_name,sku_id,sku_name,quantity,unit_price,total_amount,currency,status,customer_name,customer_phone,customer_email,shipping_name,shipping_phone,shipping_country,shipping_state,shipping_city,shipping_street,shipping_postcode,payment_order_id,payment_status,remark,create_time,update_time FROM customer_order WHERE (order_no = ?)
2025-12-23 16:27:44.375 [http-nio-8082-exec-3] DEBUG c.mtkj.mtpay.mapper.CustomerOrderMapper.selectList - ==> Parameters: MTN17664784640621176(String)
2025-12-23 16:27:44.416 [http-nio-8082-exec-3] DEBUG c.mtkj.mtpay.mapper.CustomerOrderMapper.selectList - <== Total: 1
2025-12-23 16:27:49.324 [http-nio-8082-exec-4] INFO com.mtkj.mtpay.controller.PayPalController - 创建PayPal订单请求CreatePayPalOrderRequestDTO(intent=CAPTURE, referenceId=MTN17664784640621176, amount=13.31, currencyCode=MYR, itemName=名创优品毛巾女2025新款洗澡男士浴巾比全棉100纯棉吸水干发成人, itemDescription=【✅性价比首选】米白色+米白色+浅水灰【⭐毛巾实惠3条装】, itemSku=【✅性价比首选】米白色+米白色+浅水灰【⭐毛巾实惠3条装】, itemQuantity=1, itemUnitAmount=13.31, returnUrl=http://localhost:3000/paypal/success?orderNo=MTN17664784640621176, cancelUrl=http://localhost:3000/paypal/cancel?orderNo=MTN17664784640621176, shippingName=邱斌, shippingAddressLine1=丽水市莲都区万象街道晶都步行街阿姨奶茶隔壁潮童馆, shippingAddressLine2=null, shippingCity=丽水市, shippingState=浙江省, shippingPostalCode=323000, shippingCountryCode=CN, emailAddress=18969599531@163.com)
2025-12-23 16:27:49.331 [http-nio-8082-exec-4] INFO com.mtkj.mtpay.service.impl.PayPalServiceImpl - 创建PayPal订单ERP订单号: MTN17664784640621176
2025-12-23 16:27:49.332 [http-nio-8082-exec-4] INFO com.mtkj.mtpay.service.impl.PayPalServiceImpl - 获取PayPal访问令牌
2025-12-23 16:27:49.332 [http-nio-8082-exec-4] DEBUG com.mtkj.mtpay.service.impl.PayPalServiceImpl - PayPal配置检查 - Client ID: AdGYUZpvLuHR30dybOAp..., Client Secret: ENblspyRmwsOU_PWFurl...
2025-12-23 16:27:50.283 [http-nio-8082-exec-4] INFO com.mtkj.mtpay.service.impl.PayPalServiceImpl - PayPal访问令牌获取成功
2025-12-23 16:27:50.283 [http-nio-8082-exec-4] INFO c.mtkj.mtpay.service.impl.ExchangeRateServiceImpl - 刷新汇率缓存...
2025-12-23 16:27:51.315 [http-nio-8082-exec-4] INFO c.mtkj.mtpay.service.impl.ExchangeRateServiceImpl - 汇率缓存刷新成功,共 166 种货币
2025-12-23 16:27:51.315 [http-nio-8082-exec-4] DEBUG c.mtkj.mtpay.service.impl.ExchangeRateServiceImpl - 示例汇率 - MYR: 4.078, CNY: 7.0465, EUR: 0.851
2025-12-23 16:27:51.316 [http-nio-8082-exec-4] INFO com.mtkj.mtpay.service.impl.PayPalServiceImpl - 货币转换13.31 MYR -> USD 3.26 (汇率: 0.24521824423737124)
2025-12-23 16:27:51.316 [http-nio-8082-exec-4] WARN com.mtkj.mtpay.service.impl.PayPalServiceImpl - ⚠️ 货币转换13.31 MYR -> 3.26 USD (汇率: 0.24521824423737124)
2025-12-23 16:27:51.318 [http-nio-8082-exec-4] INFO com.mtkj.mtpay.service.impl.PayPalServiceImpl - 货币转换13.31 MYR -> USD 3.26 (汇率: 0.24521824423737124)
2025-12-23 16:27:51.318 [http-nio-8082-exec-4] INFO com.mtkj.mtpay.service.impl.PayPalServiceImpl - 货币转换13.31 MYR -> USD 3.26 (汇率: 0.24521824423737124)
2025-12-23 16:27:52.282 [http-nio-8082-exec-4] INFO com.mtkj.mtpay.service.impl.PayPalServiceImpl - PayPal订单创建成功订单ID: 93733213VS267103D, 状态: PAYER_ACTION_REQUIRED
2025-12-23 16:28:20.601 [http-nio-8082-exec-6] INFO com.mtkj.mtpay.controller.CustomerOrderController - 获取订单详情订单号MTN17664784640621176
2025-12-23 16:28:20.601 [http-nio-8082-exec-6] DEBUG c.mtkj.mtpay.service.impl.CustomerOrderServiceImpl - 查询订单,订单号: MTN17664784640621176
2025-12-23 16:28:20.603 [http-nio-8082-exec-6] DEBUG c.mtkj.mtpay.mapper.CustomerOrderMapper.selectList - ==> Preparing: SELECT id,order_no,product_id,product_name,sku_id,sku_name,quantity,unit_price,total_amount,currency,status,customer_name,customer_phone,customer_email,shipping_name,shipping_phone,shipping_country,shipping_state,shipping_city,shipping_street,shipping_postcode,payment_order_id,payment_status,remark,create_time,update_time FROM customer_order WHERE (order_no = ?)
2025-12-23 16:28:20.603 [http-nio-8082-exec-6] DEBUG c.mtkj.mtpay.mapper.CustomerOrderMapper.selectList - ==> Parameters: MTN17664784640621176(String)
2025-12-23 16:28:20.667 [http-nio-8082-exec-6] DEBUG c.mtkj.mtpay.mapper.CustomerOrderMapper.selectList - <== Total: 1
2025-12-23 16:28:20.679 [http-nio-8082-exec-5] INFO com.mtkj.mtpay.controller.PayPalController - 查询PayPal订单订单ID93733213VS267103D
2025-12-23 16:28:20.679 [http-nio-8082-exec-5] INFO com.mtkj.mtpay.service.impl.PayPalServiceImpl - 查询PayPal订单订单ID: 93733213VS267103D
2025-12-23 16:28:21.570 [http-nio-8082-exec-5] INFO com.mtkj.mtpay.service.impl.PayPalServiceImpl - 查询PayPal订单成功订单ID: 93733213VS267103D, 状态: APPROVED
2025-12-23 16:28:21.581 [http-nio-8082-exec-7] INFO com.mtkj.mtpay.controller.PayPalController - 捕获PayPal订单订单ID93733213VS267103D, ERP订单号MTN17664784640621176
2025-12-23 16:28:21.581 [http-nio-8082-exec-7] INFO com.mtkj.mtpay.service.impl.PayPalServiceImpl - 捕获PayPal订单订单ID: 93733213VS267103D
2025-12-23 16:28:22.734 [http-nio-8082-exec-7] INFO com.mtkj.mtpay.service.impl.PayPalServiceImpl - 捕获PayPal订单成功订单ID: 93733213VS267103D, 状态: COMPLETED
2025-12-23 16:28:22.735 [http-nio-8082-exec-7] INFO c.mtkj.mtpay.service.impl.CustomerOrderServiceImpl - 更新订单支付状态,订单号: MTN17664784640621176, 支付状态: PAID, 支付订单ID: null
2025-12-23 16:28:22.736 [http-nio-8082-exec-7] DEBUG c.mtkj.mtpay.mapper.CustomerOrderMapper.selectList - ==> Preparing: SELECT id,order_no,product_id,product_name,sku_id,sku_name,quantity,unit_price,total_amount,currency,status,customer_name,customer_phone,customer_email,shipping_name,shipping_phone,shipping_country,shipping_state,shipping_city,shipping_street,shipping_postcode,payment_order_id,payment_status,remark,create_time,update_time FROM customer_order WHERE (order_no = ?)
2025-12-23 16:28:22.737 [http-nio-8082-exec-7] DEBUG c.mtkj.mtpay.mapper.CustomerOrderMapper.selectList - ==> Parameters: MTN17664784640621176(String)
2025-12-23 16:28:22.778 [http-nio-8082-exec-7] DEBUG c.mtkj.mtpay.mapper.CustomerOrderMapper.selectList - <== Total: 1
2025-12-23 16:28:22.783 [http-nio-8082-exec-7] DEBUG com.mtkj.mtpay.config.MyMetaObjectHandler - 开始更新填充...
2025-12-23 16:28:22.783 [http-nio-8082-exec-7] DEBUG c.mtkj.mtpay.mapper.CustomerOrderMapper.updateById - ==> Preparing: UPDATE customer_order SET order_no=?, product_id=?, product_name=?, sku_id=?, sku_name=?, quantity=?, unit_price=?, total_amount=?, currency=?, status=?, customer_name=?, customer_phone=?, customer_email=?, shipping_name=?, shipping_phone=?, shipping_country=?, shipping_state=?, shipping_city=?, shipping_street=?, shipping_postcode=?, payment_status=?, create_time=?, update_time=? WHERE id=?
2025-12-23 16:28:22.784 [http-nio-8082-exec-7] DEBUG c.mtkj.mtpay.mapper.CustomerOrderMapper.updateById - ==> Parameters: MTN17664784640621176(String), 1(Long), 名创优品毛巾女2025新款洗澡男士浴巾比全棉100纯棉吸水干发成人(String), 11(Long), 【✅性价比首选】米白色+米白色+浅水灰【⭐毛巾实惠3条装】(String), 1(Integer), 13.31(BigDecimal), 13.31(BigDecimal), MYR(String), PAID(String), 邱斌(String), 18969599531(String), 18969599531@163.com(String), 邱斌(String), 18969599531(String), CN(String), 浙江省(String), 丽水市(String), 丽水市莲都区万象街道晶都步行街阿姨奶茶隔壁潮童馆(String), 323000(String), PAID(String), 2025-12-23T16:27:44(LocalDateTime), 2025-12-23T16:27:44(LocalDateTime), 3(Long)
2025-12-23 16:28:22.873 [http-nio-8082-exec-7] DEBUG c.mtkj.mtpay.mapper.CustomerOrderMapper.updateById - <== Updates: 1
2025-12-23 16:28:22.874 [http-nio-8082-exec-7] INFO c.mtkj.mtpay.service.impl.CustomerOrderServiceImpl - 订单支付状态更新成功,订单号: MTN17664784640621176
2025-12-23 16:28:22.874 [http-nio-8082-exec-7] INFO com.mtkj.mtpay.controller.PayPalController - ERP订单支付状态已更新订单号MTN17664784640621176
2025-12-23 16:28:22.885 [http-nio-8082-exec-9] INFO com.mtkj.mtpay.controller.CustomerOrderController - 获取订单详情订单号MTN17664784640621176
2025-12-23 16:28:22.885 [http-nio-8082-exec-9] DEBUG c.mtkj.mtpay.service.impl.CustomerOrderServiceImpl - 查询订单,订单号: MTN17664784640621176
2025-12-23 16:28:22.885 [http-nio-8082-exec-9] DEBUG c.mtkj.mtpay.mapper.CustomerOrderMapper.selectList - ==> Preparing: SELECT id,order_no,product_id,product_name,sku_id,sku_name,quantity,unit_price,total_amount,currency,status,customer_name,customer_phone,customer_email,shipping_name,shipping_phone,shipping_country,shipping_state,shipping_city,shipping_street,shipping_postcode,payment_order_id,payment_status,remark,create_time,update_time FROM customer_order WHERE (order_no = ?)
2025-12-23 16:28:22.887 [http-nio-8082-exec-9] DEBUG c.mtkj.mtpay.mapper.CustomerOrderMapper.selectList - ==> Parameters: MTN17664784640621176(String)
2025-12-23 16:28:22.927 [http-nio-8082-exec-9] DEBUG c.mtkj.mtpay.mapper.CustomerOrderMapper.selectList - <== Total: 1
2025-12-23 16:28:25.471 [http-nio-8082-exec-8] INFO com.mtkj.mtpay.controller.CustomerOrderController - 获取订单详情订单号MTN17664784640621176
2025-12-23 16:28:25.471 [http-nio-8082-exec-8] DEBUG c.mtkj.mtpay.service.impl.CustomerOrderServiceImpl - 查询订单,订单号: MTN17664784640621176
2025-12-23 16:28:25.471 [http-nio-8082-exec-8] DEBUG c.mtkj.mtpay.mapper.CustomerOrderMapper.selectList - ==> Preparing: SELECT id,order_no,product_id,product_name,sku_id,sku_name,quantity,unit_price,total_amount,currency,status,customer_name,customer_phone,customer_email,shipping_name,shipping_phone,shipping_country,shipping_state,shipping_city,shipping_street,shipping_postcode,payment_order_id,payment_status,remark,create_time,update_time FROM customer_order WHERE (order_no = ?)
2025-12-23 16:28:25.473 [http-nio-8082-exec-8] DEBUG c.mtkj.mtpay.mapper.CustomerOrderMapper.selectList - ==> Parameters: MTN17664784640621176(String)
2025-12-23 16:28:25.521 [http-nio-8082-exec-8] DEBUG c.mtkj.mtpay.mapper.CustomerOrderMapper.selectList - <== Total: 1
2025-12-23 16:28:28.721 [http-nio-8082-exec-10] INFO com.mtkj.mtpay.controller.CustomerOrderController - 获取订单详情订单号MTN17664784640621176
2025-12-23 16:28:28.721 [http-nio-8082-exec-10] DEBUG c.mtkj.mtpay.service.impl.CustomerOrderServiceImpl - 查询订单,订单号: MTN17664784640621176
2025-12-23 16:28:28.721 [http-nio-8082-exec-10] DEBUG c.mtkj.mtpay.mapper.CustomerOrderMapper.selectList - ==> Preparing: SELECT id,order_no,product_id,product_name,sku_id,sku_name,quantity,unit_price,total_amount,currency,status,customer_name,customer_phone,customer_email,shipping_name,shipping_phone,shipping_country,shipping_state,shipping_city,shipping_street,shipping_postcode,payment_order_id,payment_status,remark,create_time,update_time FROM customer_order WHERE (order_no = ?)
2025-12-23 16:28:28.722 [http-nio-8082-exec-10] DEBUG c.mtkj.mtpay.mapper.CustomerOrderMapper.selectList - ==> Parameters: MTN17664784640621176(String)
2025-12-23 16:28:28.762 [http-nio-8082-exec-10] DEBUG c.mtkj.mtpay.mapper.CustomerOrderMapper.selectList - <== Total: 1
2025-12-23 16:28:28.770 [http-nio-8082-exec-1] INFO com.mtkj.mtpay.controller.PayPalController - 查询PayPal订单订单ID93733213VS267103D
2025-12-23 16:28:28.770 [http-nio-8082-exec-1] INFO com.mtkj.mtpay.service.impl.PayPalServiceImpl - 查询PayPal订单订单ID: 93733213VS267103D
2025-12-23 16:28:29.879 [http-nio-8082-exec-1] INFO com.mtkj.mtpay.service.impl.PayPalServiceImpl - 查询PayPal订单成功订单ID: 93733213VS267103D, 状态: COMPLETED
2025-12-23 16:28:31.776 [http-nio-8082-exec-2] INFO com.mtkj.mtpay.controller.ProductController - 获取商品列表
2025-12-23 16:28:31.776 [http-nio-8082-exec-2] DEBUG com.mtkj.mtpay.service.impl.ProductServiceImpl - 查询商品列表
2025-12-23 16:28:31.779 [http-nio-8082-exec-2] DEBUG com.mtkj.mtpay.mapper.MtProductMapper.selectList - ==> Preparing: SELECT id,name,price,main_image,status,shop_id,create_time,update_time FROM mt_product WHERE (status <> ?) ORDER BY create_time DESC
2025-12-23 16:28:31.779 [http-nio-8082-exec-2] DEBUG com.mtkj.mtpay.mapper.MtProductMapper.selectList - ==> Parameters: DELETED(String)
2025-12-23 16:28:31.821 [http-nio-8082-exec-2] DEBUG com.mtkj.mtpay.mapper.MtProductMapper.selectList - <== Total: 1
2025-12-23 16:28:31.821 [http-nio-8082-exec-2] DEBUG com.mtkj.mtpay.service.impl.ProductServiceImpl - 查询到商品数量: 1
2025-12-23 16:28:31.823 [http-nio-8082-exec-2] DEBUG c.mtkj.mtpay.mapper.MtProductSkuMapper.selectList - ==> Preparing: SELECT id,product_id,sku,price,currency,stock,sales_attrs,sku_image,weight,size,specification,status,create_time,update_time FROM mt_product_sku WHERE (product_id = ?)
2025-12-23 16:28:31.824 [http-nio-8082-exec-2] DEBUG c.mtkj.mtpay.mapper.MtProductSkuMapper.selectList - ==> Parameters: 1(Long)
2025-12-23 16:28:31.869 [http-nio-8082-exec-2] DEBUG c.mtkj.mtpay.mapper.MtProductSkuMapper.selectList - <== Total: 15
2025-12-23 16:28:31.875 [http-nio-8082-exec-2] INFO com.mtkj.mtpay.service.impl.ProductServiceImpl - 获取商品列表成功,商品数量: 1
2025-12-23 16:28:31.891 [http-nio-8082-exec-3] INFO com.mtkj.mtpay.controller.ProductController - 获取商品URL商品ID1
2025-12-23 16:28:31.891 [http-nio-8082-exec-3] DEBUG com.mtkj.mtpay.service.impl.ProductServiceImpl - 获取商品URL商品ID: 1
2025-12-23 16:28:31.893 [http-nio-8082-exec-3] DEBUG com.mtkj.mtpay.mapper.MtProductMapper.selectById - ==> Preparing: SELECT id,name,price,main_image,status,shop_id,create_time,update_time FROM mt_product WHERE id=?
2025-12-23 16:28:31.894 [http-nio-8082-exec-3] DEBUG com.mtkj.mtpay.mapper.MtProductMapper.selectById - ==> Parameters: 1(Long)
2025-12-23 16:28:31.937 [http-nio-8082-exec-3] DEBUG com.mtkj.mtpay.mapper.MtProductMapper.selectById - <== Total: 1
2025-12-23 16:28:31.976 [http-nio-8082-exec-3] DEBUG c.mtkj.mtpay.service.impl.ProductLinkServiceImpl - 创建或获取商品链接商品ID: 1, 有效期: 90天
2025-12-23 16:28:31.978 [http-nio-8082-exec-3] DEBUG c.mtkj.mtpay.mapper.MtProductLinkMapper.selectList - ==> Preparing: SELECT id,product_id,link_code,full_url,expire_days,expire_time,status,create_time,update_time FROM mt_product_link WHERE (product_id = ? AND status = ? AND expire_time > ?) ORDER BY create_time DESC LIMIT 1
2025-12-23 16:28:31.979 [http-nio-8082-exec-3] DEBUG c.mtkj.mtpay.mapper.MtProductLinkMapper.selectList - ==> Parameters: 1(Long), ACTIVE(String), 2025-12-23T16:28:31.977350200(LocalDateTime)
2025-12-23 16:28:32.020 [http-nio-8082-exec-3] DEBUG c.mtkj.mtpay.mapper.MtProductLinkMapper.selectList - <== Total: 1
2025-12-23 16:28:32.020 [http-nio-8082-exec-3] DEBUG c.mtkj.mtpay.service.impl.ProductLinkServiceImpl - 找到现有有效链接,链接码: 3582a1dfbb174d84aac9f465b7180b50, 商品ID: 1
2025-12-23 16:28:32.105 [http-nio-8082-exec-3] INFO com.mtkj.mtpay.service.impl.ProductServiceImpl - 获取商品URL成功商品ID: 1, 链接码: 3582a1dfbb174d84aac9f465b7180b50, URL: http://localhost:3000/product/3582a1dfbb174d84aac9f465b7180b50
2025-12-23 16:57:00.555 [background-preinit] INFO org.hibernate.validator.internal.util.Version - HV000001: Hibernate Validator 8.0.1.Final
2025-12-23 16:57:00.605 [restartedMain] INFO com.mtkj.mtkjpay.MtkjpayApplication - Starting MtkjpayApplication using Java 17.0.12 with PID 28732 (E:\MTKJPAY\mt-startup\target\classes started by 18969 in E:\MTKJPAY)
2025-12-23 16:57:00.606 [restartedMain] INFO com.mtkj.mtkjpay.MtkjpayApplication - The following 1 profile is active: "dev"
2025-12-23 16:57:01.848 [restartedMain] INFO org.apache.coyote.http11.Http11NioProtocol - Initializing ProtocolHandler ["http-nio-8082"]
2025-12-23 16:57:01.850 [restartedMain] INFO org.apache.catalina.core.StandardService - Starting service [Tomcat]
2025-12-23 16:57:01.850 [restartedMain] INFO org.apache.catalina.core.StandardEngine - Starting Servlet engine: [Apache Tomcat/10.1.16]
2025-12-23 16:57:01.956 [restartedMain] INFO o.a.c.core.ContainerBase.[Tomcat].[localhost].[/] - Initializing Spring embedded WebApplicationContext
2025-12-23 16:57:02.031 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - ═══════════════════════════════════════════════════════════
2025-12-23 16:57:02.031 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - PayPal配置加载验证:
2025-12-23 16:57:02.032 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Client ID: ✅ 已配置 (AdGYUZpvLuHR30dybOAp...)
2025-12-23 16:57:02.032 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Client Secret: ✅ 已配置 (ENblspyRmwsOU_PWFurl...)
2025-12-23 16:57:02.032 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Mode: sandbox
2025-12-23 16:57:02.032 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Enabled: true
2025-12-23 16:57:02.032 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Base URL: https://api-m.sandbox.paypal.com
2025-12-23 16:57:02.032 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - ═══════════════════════════════════════════════════════════
2025-12-23 16:57:02.051 [restartedMain] INFO com.mtkj.mtpay.config.MyBatisPlusConfig - 初始化MyBatis-Plus分页插件数据库类型: MYSQL
2025-12-23 16:57:02.056 [restartedMain] INFO com.mtkj.mtpay.config.MyBatisPlusConfig - MyBatis-Plus分页插件配置完成
2025-12-23 16:57:02.060 [restartedMain] INFO com.mtkj.mtpay.config.DruidDataSourceConfig - 初始化Druid主数据源
2025-12-23 16:57:02.061 [restartedMain] INFO com.mtkj.mtpay.config.DruidDataSourceConfig - 配置属性 - URL: jdbc:mysql://rm-j6c3u06k2afwn8hxw6o.mysql.rds.aliyuncs.com:3306/mtpay?useUnicode=true&characterEncoding=utf-8&useSSL=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai, Username: mtkj2025
2025-12-23 16:57:02.087 [restartedMain] INFO com.mtkj.mtpay.config.DruidDataSourceConfig - Druid主数据源配置完成URL: jdbc:mysql://rm-j6c3u06k2afwn8hxw6o.mysql.rds.aliyuncs.com:3306/mtpay?useUnicode=true&characterEncoding=utf-8&useSSL=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai
2025-12-23 16:57:02.564 [restartedMain] INFO com.mtkj.mtpay.config.RestClientConfig - 初始化RestClient配置JSON消息转换器
2025-12-23 16:57:02.703 [restartedMain] INFO com.mtkj.mtpay.config.RestClientConfig - RestClient配置完成
2025-12-23 16:57:02.808 [restartedMain] INFO com.mtkj.mtpay.config.WebConfig - 配置跨域访问,路径: /api/**, 允许所有来源
2025-12-23 16:57:02.810 [restartedMain] INFO com.mtkj.mtpay.config.WebConfig - 跨域配置完成
2025-12-23 16:57:03.143 [restartedMain] INFO org.apache.coyote.http11.Http11NioProtocol - Starting ProtocolHandler ["http-nio-8082"]
2025-12-23 16:57:03.161 [restartedMain] INFO com.mtkj.mtkjpay.MtkjpayApplication - Started MtkjpayApplication in 3.187 seconds (process running for 3.971)
2025-12-23 16:57:03.163 [restartedMain] INFO com.mtkj.mtkjpay.MtkjpayApplication -
╔══════════════════════════════════════════════════════════╗
║ ║
║ ✅ MTKJ PAY 支付系统启动成功! ✅ ║
║ ║
╠══════════════════════════════════════════════════════════╣
║ 应用信息 ║
╠══════════════════════════════════════════════════════════╣
║ 应用名称: {:<45} ║
║ 运行环境: {:<45} ║
║ 服务端口: {:<45} ║
╠══════════════════════════════════════════════════════════╣
║ 访问地址 ║
╠══════════════════════════════════════════════════════════╣
║ 后端服务: {:<45} ║
║ API接口: {:<45} ║
║ Druid监控: {:<45} ║
╠══════════════════════════════════════════════════════════╣
║ 状态: 🟢 服务运行中,可以接收请求 ║
╚══════════════════════════════════════════════════════════╝
2025-12-23 16:57:03.163 [restartedMain] INFO com.mtkj.mtkjpay.MtkjpayApplication -
📌 提示:
- 前端代理地址: http://localhost:3000
- 后端API地址: http://localhost:8082//api
- 图片上传接口: http://localhost:8082//api/product/upload/image
- 商品管理接口: http://localhost:8082//api/product
2025-12-23 16:57:03.165 [main] ERROR com.mtkj.mtkjpay.MtkjpayApplication -
╔══════════════════════════════════════════════════════════╗
║ ║
║ ❌ MTKJ PAY 支付系统启动失败! ❌ ║
║ ║
╚══════════════════════════════════════════════════════════╝
org.springframework.boot.devtools.restart.SilentExitExceptionHandler$SilentExitException: null
at org.springframework.boot.devtools.restart.SilentExitExceptionHandler.exitCurrentThread(SilentExitExceptionHandler.java:92)
at org.springframework.boot.devtools.restart.Restarter.immediateRestart(Restarter.java:179)
at org.springframework.boot.devtools.restart.Restarter.initialize(Restarter.java:163)
at org.springframework.boot.devtools.restart.Restarter.initialize(Restarter.java:532)
at org.springframework.boot.devtools.restart.RestartApplicationListener.onApplicationStartingEvent(RestartApplicationListener.java:98)
at org.springframework.boot.devtools.restart.RestartApplicationListener.onApplicationEvent(RestartApplicationListener.java:51)
at org.springframework.context.event.SimpleApplicationEventMulticaster.doInvokeListener(SimpleApplicationEventMulticaster.java:178)
at org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:171)
at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:149)
at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:137)
at org.springframework.boot.context.event.EventPublishingRunListener.multicastInitialEvent(EventPublishingRunListener.java:136)
at org.springframework.boot.context.event.EventPublishingRunListener.starting(EventPublishingRunListener.java:75)
at org.springframework.boot.SpringApplicationRunListeners.lambda$starting$0(SpringApplicationRunListeners.java:54)
at java.base/java.lang.Iterable.forEach(Iterable.java:75)
at org.springframework.boot.SpringApplicationRunListeners.doWithListeners(SpringApplicationRunListeners.java:118)
at org.springframework.boot.SpringApplicationRunListeners.starting(SpringApplicationRunListeners.java:54)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:315)
at com.mtkj.mtkjpay.MtkjpayApplication.main(MtkjpayApplication.java:33)
2025-12-23 16:57:24.560 [http-nio-8082-exec-1] INFO o.a.c.core.ContainerBase.[Tomcat].[localhost].[/] - Initializing Spring DispatcherServlet 'dispatcherServlet'
2025-12-23 16:57:24.722 [http-nio-8082-exec-1] INFO com.mtkj.mtpay.controller.CustomerOrderController - 创建客户订单请求CreateCustomerOrderRequestDTO(productId=1, skuId=4, quantity=1, customerName=邱斌, customerPhone=18969599531, customerEmail=18969599531@163.com, shippingName=邱斌, shippingPhone=18969599531, shippingCountry=CN, shippingState=浙江省, shippingCity=丽水市, shippingStreet=丽水市莲都区万象街道晶都步行街阿姨奶茶隔壁潮童馆, shippingPostcode=323000, remark=null)
2025-12-23 16:57:26.752 [http-nio-8082-exec-1] INFO c.mtkj.mtpay.service.impl.CustomerOrderServiceImpl - 创建客户订单商品ID: 1, SKU ID: 4, 数量: 1
2025-12-23 16:57:26.772 [http-nio-8082-exec-1] DEBUG com.mtkj.mtpay.mapper.MtProductMapper.selectById - ==> Preparing: SELECT id,name,price,main_image,status,shop_id,create_time,update_time FROM mt_product WHERE id=?
2025-12-23 16:57:26.787 [http-nio-8082-exec-1] DEBUG com.mtkj.mtpay.mapper.MtProductMapper.selectById - ==> Parameters: 1(Long)
2025-12-23 16:57:26.840 [http-nio-8082-exec-1] DEBUG com.mtkj.mtpay.mapper.MtProductMapper.selectById - <== Total: 1
2025-12-23 16:57:26.842 [http-nio-8082-exec-1] DEBUG c.mtkj.mtpay.mapper.MtProductSkuMapper.selectById - ==> Preparing: SELECT id,product_id,sku,price,currency,stock,sales_attrs,sku_image,weight,size,specification,status,create_time,update_time FROM mt_product_sku WHERE id=?
2025-12-23 16:57:26.842 [http-nio-8082-exec-1] DEBUG c.mtkj.mtpay.mapper.MtProductSkuMapper.selectById - ==> Parameters: 4(Long)
2025-12-23 16:57:26.884 [http-nio-8082-exec-1] DEBUG c.mtkj.mtpay.mapper.MtProductSkuMapper.selectById - <== Total: 1
2025-12-23 16:57:26.885 [http-nio-8082-exec-1] DEBUG com.mtkj.mtpay.util.OrderIdGenerator - 生成商户订单号: MTN17664802468857276
2025-12-23 16:57:26.927 [http-nio-8082-exec-1] DEBUG com.mtkj.mtpay.config.MyMetaObjectHandler - 开始插入填充...
2025-12-23 16:57:26.928 [http-nio-8082-exec-1] DEBUG com.mtkj.mtpay.mapper.CustomerOrderMapper.insert - ==> Preparing: INSERT INTO customer_order ( order_no, product_id, product_name, sku_id, sku_name, quantity, unit_price, total_amount, currency, original_currency, original_amount, payment_currency, payment_amount, exchange_rate, status, customer_name, customer_phone, customer_email, shipping_name, shipping_phone, shipping_country, shipping_state, shipping_city, shipping_street, shipping_postcode, payment_status, create_time, update_time ) VALUES ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ? )
2025-12-23 16:57:26.931 [http-nio-8082-exec-1] DEBUG com.mtkj.mtpay.mapper.CustomerOrderMapper.insert - ==> Parameters: MTN17664802468857276(String), 1(Long), 名创优品毛巾女2025新款洗澡男士浴巾比全棉100纯棉吸水干发成人(String), 4(Long), 【✅性价比首选】米白色+浅水蓝+天空灰【⭐毛巾实惠3条装】(String), 1(Integer), 85774.69(BigDecimal), 85774.69(BigDecimal), VND(String), VND(String), 85774.69(BigDecimal), VND(String), 85774.69(BigDecimal), 1(BigDecimal), PENDING(String), 邱斌(String), 18969599531(String), 18969599531@163.com(String), 邱斌(String), 18969599531(String), CN(String), 浙江省(String), 丽水市(String), 丽水市莲都区万象街道晶都步行街阿姨奶茶隔壁潮童馆(String), 323000(String), UNPAID(String), 2025-12-23T16:57:26.927026900(LocalDateTime), 2025-12-23T16:57:26.928129100(LocalDateTime)
2025-12-23 16:57:27.014 [http-nio-8082-exec-1] DEBUG com.mtkj.mtpay.mapper.CustomerOrderMapper.insert - <== Updates: 1
2025-12-23 16:57:27.016 [http-nio-8082-exec-1] INFO c.mtkj.mtpay.service.impl.CustomerOrderServiceImpl - 客户订单创建成功订单ID: 4, 订单号: MTN17664802468857276
2025-12-23 16:57:27.244 [http-nio-8082-exec-2] INFO com.mtkj.mtpay.controller.CustomerOrderController - 获取订单详情订单号MTN17664802468857276
2025-12-23 16:57:27.244 [http-nio-8082-exec-2] DEBUG c.mtkj.mtpay.service.impl.CustomerOrderServiceImpl - 查询订单,订单号: MTN17664802468857276
2025-12-23 16:57:27.282 [http-nio-8082-exec-2] DEBUG c.mtkj.mtpay.mapper.CustomerOrderMapper.selectList - ==> Preparing: SELECT id,order_no,product_id,product_name,sku_id,sku_name,quantity,unit_price,total_amount,currency,original_currency,original_amount,payment_currency,payment_amount,exchange_rate,rate_locked_at,status,customer_name,customer_phone,customer_email,shipping_name,shipping_phone,shipping_country,shipping_state,shipping_city,shipping_street,shipping_postcode,payment_order_id,payment_status,remark,create_time,update_time FROM customer_order WHERE (order_no = ?)
2025-12-23 16:57:27.282 [http-nio-8082-exec-2] DEBUG c.mtkj.mtpay.mapper.CustomerOrderMapper.selectList - ==> Parameters: MTN17664802468857276(String)
2025-12-23 16:57:27.328 [http-nio-8082-exec-2] DEBUG c.mtkj.mtpay.mapper.CustomerOrderMapper.selectList - <== Total: 1
2025-12-23 16:57:34.549 [http-nio-8082-exec-3] INFO com.mtkj.mtpay.controller.PayPalController - 创建PayPal订单请求CreatePayPalOrderRequestDTO(intent=CAPTURE, referenceId=MTN17664802468857276, amount=85774.69, currencyCode=VND, itemName=名创优品毛巾女2025新款洗澡男士浴巾比全棉100纯棉吸水干发成人, itemDescription=【✅性价比首选】米白色+浅水蓝+天空灰【⭐毛巾实惠3条装】, itemSku=【✅性价比首选】米白色+浅水蓝+天空灰【⭐毛巾实惠3条装】, itemQuantity=1, itemUnitAmount=85774.69, returnUrl=http://localhost:3000/paypal/success?orderNo=MTN17664802468857276, cancelUrl=http://localhost:3000/paypal/cancel?orderNo=MTN17664802468857276, shippingName=邱斌, shippingAddressLine1=丽水市莲都区万象街道晶都步行街阿姨奶茶隔壁潮童馆, shippingAddressLine2=null, shippingCity=丽水市, shippingState=浙江省, shippingPostalCode=323000, shippingCountryCode=CN, emailAddress=18969599531@163.com)
2025-12-23 16:57:34.556 [http-nio-8082-exec-3] INFO c.mtkj.mtpay.service.impl.ExchangeRateServiceImpl - 刷新汇率缓存...
2025-12-23 16:57:35.336 [http-nio-8082-exec-3] INFO c.mtkj.mtpay.service.impl.ExchangeRateServiceImpl - 汇率缓存刷新成功,共 166 种货币
2025-12-23 16:57:35.336 [http-nio-8082-exec-3] DEBUG c.mtkj.mtpay.service.impl.ExchangeRateServiceImpl - 示例汇率 - MYR: 4.078, CNY: 7.0465, EUR: 0.851
2025-12-23 16:57:35.337 [http-nio-8082-exec-3] INFO com.mtkj.mtpay.service.impl.PayPalServiceImpl - 货币转换85774.69 VND -> USD 3.27 (汇率: 3.811582412514102E-5)
2025-12-23 16:57:35.337 [http-nio-8082-exec-3] INFO com.mtkj.mtpay.service.impl.PayPalServiceImpl - 创建PayPal订单ERP订单号: MTN17664802468857276
2025-12-23 16:57:35.337 [http-nio-8082-exec-3] INFO com.mtkj.mtpay.service.impl.PayPalServiceImpl - 获取PayPal访问令牌
2025-12-23 16:57:35.337 [http-nio-8082-exec-3] DEBUG com.mtkj.mtpay.service.impl.PayPalServiceImpl - PayPal配置检查 - Client ID: AdGYUZpvLuHR30dybOAp..., Client Secret: ENblspyRmwsOU_PWFurl...
2025-12-23 16:57:36.527 [http-nio-8082-exec-3] INFO com.mtkj.mtpay.service.impl.PayPalServiceImpl - PayPal访问令牌获取成功
2025-12-23 16:57:36.527 [http-nio-8082-exec-3] INFO com.mtkj.mtpay.service.impl.PayPalServiceImpl - 货币转换85774.69 VND -> USD 3.27 (汇率: 3.811582412514102E-5)
2025-12-23 16:57:36.528 [http-nio-8082-exec-3] INFO com.mtkj.mtpay.service.impl.PayPalServiceImpl - 货币转换85774.69 VND -> USD 3.27 (汇率: 3.811582412514102E-5)
2025-12-23 16:57:36.528 [http-nio-8082-exec-3] WARN com.mtkj.mtpay.service.impl.PayPalServiceImpl - ⚠️ 货币转换85774.69 VND -> 3.27 USD (汇率: 3.811582412514102E-5)
2025-12-23 16:57:36.528 [http-nio-8082-exec-3] INFO com.mtkj.mtpay.service.impl.PayPalServiceImpl - 货币转换85774.69 VND -> USD 3.27 (汇率: 3.811582412514102E-5)
2025-12-23 16:57:36.528 [http-nio-8082-exec-3] INFO com.mtkj.mtpay.service.impl.PayPalServiceImpl - 货币转换85774.69 VND -> USD 3.27 (汇率: 3.811582412514102E-5)
2025-12-23 16:57:37.513 [http-nio-8082-exec-3] INFO com.mtkj.mtpay.service.impl.PayPalServiceImpl - PayPal订单创建成功订单ID: 50360319W56604523, 状态: PAYER_ACTION_REQUIRED
2025-12-23 16:57:37.515 [http-nio-8082-exec-3] INFO com.mtkj.mtpay.service.impl.PayPalServiceImpl - 货币转换信息 - 原始: 85774.69 VND, 支付: 3.27 USD (汇率: 3.811582412514102E-5)
2025-12-23 16:57:37.516 [http-nio-8082-exec-3] INFO c.mtkj.mtpay.service.impl.CustomerOrderServiceImpl - 更新订单货币转换信息,订单号: MTN17664802468857276, 原始: 85774.69 VND, 支付: 3.269372998428492 USD (汇率: 0.00003811582412514102)
2025-12-23 16:57:37.517 [http-nio-8082-exec-3] DEBUG c.mtkj.mtpay.mapper.CustomerOrderMapper.selectList - ==> Preparing: SELECT id,order_no,product_id,product_name,sku_id,sku_name,quantity,unit_price,total_amount,currency,original_currency,original_amount,payment_currency,payment_amount,exchange_rate,rate_locked_at,status,customer_name,customer_phone,customer_email,shipping_name,shipping_phone,shipping_country,shipping_state,shipping_city,shipping_street,shipping_postcode,payment_order_id,payment_status,remark,create_time,update_time FROM customer_order WHERE (order_no = ?)
2025-12-23 16:57:37.518 [http-nio-8082-exec-3] DEBUG c.mtkj.mtpay.mapper.CustomerOrderMapper.selectList - ==> Parameters: MTN17664802468857276(String)
2025-12-23 16:57:37.562 [http-nio-8082-exec-3] DEBUG c.mtkj.mtpay.mapper.CustomerOrderMapper.selectList - <== Total: 1
2025-12-23 16:57:37.571 [http-nio-8082-exec-3] DEBUG com.mtkj.mtpay.config.MyMetaObjectHandler - 开始更新填充...
2025-12-23 16:57:37.571 [http-nio-8082-exec-3] DEBUG c.mtkj.mtpay.mapper.CustomerOrderMapper.updateById - ==> Preparing: UPDATE customer_order SET order_no=?, product_id=?, product_name=?, sku_id=?, sku_name=?, quantity=?, unit_price=?, total_amount=?, currency=?, original_currency=?, original_amount=?, payment_currency=?, payment_amount=?, exchange_rate=?, rate_locked_at=?, status=?, customer_name=?, customer_phone=?, customer_email=?, shipping_name=?, shipping_phone=?, shipping_country=?, shipping_state=?, shipping_city=?, shipping_street=?, shipping_postcode=?, payment_status=?, create_time=?, update_time=? WHERE id=?
2025-12-23 16:57:37.572 [http-nio-8082-exec-3] DEBUG c.mtkj.mtpay.mapper.CustomerOrderMapper.updateById - ==> Parameters: MTN17664802468857276(String), 1(Long), 名创优品毛巾女2025新款洗澡男士浴巾比全棉100纯棉吸水干发成人(String), 4(Long), 【✅性价比首选】米白色+浅水蓝+天空灰【⭐毛巾实惠3条装】(String), 1(Integer), 85774.69(BigDecimal), 85774.69(BigDecimal), VND(String), VND(String), 85774.69(BigDecimal), USD(String), 3.269372998428492(BigDecimal), 0.00003811582412514102(BigDecimal), 2025-12-23T16:57:37.563031(LocalDateTime), PENDING(String), 邱斌(String), 18969599531(String), 18969599531@163.com(String), 邱斌(String), 18969599531(String), CN(String), 浙江省(String), 丽水市(String), 丽水市莲都区万象街道晶都步行街阿姨奶茶隔壁潮童馆(String), 323000(String), UNPAID(String), 2025-12-23T16:57:27(LocalDateTime), 2025-12-23T16:57:27(LocalDateTime), 4(Long)
2025-12-23 16:57:37.647 [http-nio-8082-exec-3] DEBUG c.mtkj.mtpay.mapper.CustomerOrderMapper.updateById - <== Updates: 1
2025-12-23 16:57:37.647 [http-nio-8082-exec-3] INFO c.mtkj.mtpay.service.impl.CustomerOrderServiceImpl - 订单货币转换信息更新成功,订单号: MTN17664802468857276
2025-12-23 16:57:53.318 [http-nio-8082-exec-4] INFO com.mtkj.mtpay.controller.CustomerOrderController - 获取订单详情订单号MTN17664802468857276
2025-12-23 16:57:53.319 [http-nio-8082-exec-4] DEBUG c.mtkj.mtpay.service.impl.CustomerOrderServiceImpl - 查询订单,订单号: MTN17664802468857276
2025-12-23 16:57:53.319 [http-nio-8082-exec-4] DEBUG c.mtkj.mtpay.mapper.CustomerOrderMapper.selectList - ==> Preparing: SELECT id,order_no,product_id,product_name,sku_id,sku_name,quantity,unit_price,total_amount,currency,original_currency,original_amount,payment_currency,payment_amount,exchange_rate,rate_locked_at,status,customer_name,customer_phone,customer_email,shipping_name,shipping_phone,shipping_country,shipping_state,shipping_city,shipping_street,shipping_postcode,payment_order_id,payment_status,remark,create_time,update_time FROM customer_order WHERE (order_no = ?)
2025-12-23 16:57:53.320 [http-nio-8082-exec-4] DEBUG c.mtkj.mtpay.mapper.CustomerOrderMapper.selectList - ==> Parameters: MTN17664802468857276(String)
2025-12-23 16:57:55.437 [http-nio-8082-exec-4] DEBUG c.mtkj.mtpay.mapper.CustomerOrderMapper.selectList - <== Total: 1
2025-12-23 16:59:26.207 [http-nio-8082-exec-5] INFO com.mtkj.mtpay.controller.CustomerOrderController - 获取订单详情订单号MTN17664802468857276
2025-12-23 16:59:26.208 [http-nio-8082-exec-5] DEBUG c.mtkj.mtpay.service.impl.CustomerOrderServiceImpl - 查询订单,订单号: MTN17664802468857276
2025-12-23 16:59:26.250 [http-nio-8082-exec-5] DEBUG c.mtkj.mtpay.mapper.CustomerOrderMapper.selectList - ==> Preparing: SELECT id,order_no,product_id,product_name,sku_id,sku_name,quantity,unit_price,total_amount,currency,original_currency,original_amount,payment_currency,payment_amount,exchange_rate,rate_locked_at,status,customer_name,customer_phone,customer_email,shipping_name,shipping_phone,shipping_country,shipping_state,shipping_city,shipping_street,shipping_postcode,payment_order_id,payment_status,remark,create_time,update_time FROM customer_order WHERE (order_no = ?)
2025-12-23 16:59:26.253 [http-nio-8082-exec-5] DEBUG c.mtkj.mtpay.mapper.CustomerOrderMapper.selectList - ==> Parameters: MTN17664802468857276(String)
2025-12-23 16:59:26.292 [http-nio-8082-exec-5] DEBUG c.mtkj.mtpay.mapper.CustomerOrderMapper.selectList - <== Total: 1
2025-12-23 17:00:17.700 [http-nio-8082-exec-6] INFO com.mtkj.mtpay.controller.ProductController - 根据链接码获取商品详情链接码3582a1dfbb174d84aac9f465b7180b50
2025-12-23 17:00:17.700 [http-nio-8082-exec-6] DEBUG com.mtkj.mtpay.service.impl.ProductServiceImpl - 根据链接码获取商品ID链接码: 3582a1dfbb174d84aac9f465b7180b50
2025-12-23 17:00:17.700 [http-nio-8082-exec-6] DEBUG c.mtkj.mtpay.service.impl.ProductLinkServiceImpl - 根据链接码获取商品链接,链接码: 3582a1dfbb174d84aac9f465b7180b50
2025-12-23 17:00:17.702 [http-nio-8082-exec-6] DEBUG c.mtkj.mtpay.mapper.MtProductLinkMapper.selectList - ==> Preparing: SELECT id,product_id,link_code,full_url,expire_days,expire_time,status,create_time,update_time FROM mt_product_link WHERE (link_code = ?) LIMIT 1
2025-12-23 17:00:17.702 [http-nio-8082-exec-6] DEBUG c.mtkj.mtpay.mapper.MtProductLinkMapper.selectList - ==> Parameters: 3582a1dfbb174d84aac9f465b7180b50(String)
2025-12-23 17:00:17.743 [http-nio-8082-exec-6] DEBUG c.mtkj.mtpay.mapper.MtProductLinkMapper.selectList - <== Total: 1
2025-12-23 17:00:17.743 [http-nio-8082-exec-6] DEBUG com.mtkj.mtpay.service.impl.ProductServiceImpl - 根据链接码获取商品ID成功链接码: 3582a1dfbb174d84aac9f465b7180b50, 商品ID: 1
2025-12-23 17:00:17.743 [http-nio-8082-exec-6] DEBUG com.mtkj.mtpay.service.impl.ProductServiceImpl - 查询商品详情商品ID: 1
2025-12-23 17:00:17.743 [http-nio-8082-exec-6] DEBUG com.mtkj.mtpay.mapper.MtProductMapper.selectById - ==> Preparing: SELECT id,name,price,main_image,status,shop_id,create_time,update_time FROM mt_product WHERE id=?
2025-12-23 17:00:17.743 [http-nio-8082-exec-6] DEBUG com.mtkj.mtpay.mapper.MtProductMapper.selectById - ==> Parameters: 1(Long)
2025-12-23 17:00:17.791 [http-nio-8082-exec-6] DEBUG com.mtkj.mtpay.mapper.MtProductMapper.selectById - <== Total: 1
2025-12-23 17:00:17.794 [http-nio-8082-exec-6] DEBUG c.mtkj.mtpay.mapper.MtProductSkuMapper.selectList - ==> Preparing: SELECT id,product_id,sku,price,currency,stock,sales_attrs,sku_image,weight,size,specification,status,create_time,update_time FROM mt_product_sku WHERE (product_id = ? AND status = ?)
2025-12-23 17:00:17.795 [http-nio-8082-exec-6] DEBUG c.mtkj.mtpay.mapper.MtProductSkuMapper.selectList - ==> Parameters: 1(Long), ACTIVE(String)
2025-12-23 17:00:17.872 [http-nio-8082-exec-6] DEBUG c.mtkj.mtpay.mapper.MtProductSkuMapper.selectList - <== Total: 15
2025-12-23 17:00:17.872 [http-nio-8082-exec-6] DEBUG com.mtkj.mtpay.service.impl.ProductServiceImpl - 查询到商品SKU数量: 15, 商品ID: 1
2025-12-23 17:00:17.874 [http-nio-8082-exec-6] DEBUG com.mtkj.mtpay.service.impl.ProductServiceImpl - 解析商品主图(多图),数量: 5
2025-12-23 17:00:17.878 [http-nio-8082-exec-6] INFO com.mtkj.mtpay.service.impl.ProductServiceImpl - 获取商品详情成功商品ID: 1, 商品名称: 名创优品毛巾女2025新款洗澡男士浴巾比全棉100纯棉吸水干发成人, SKU数量: 15, 主图数量: 5
2025-12-23 17:00:34.413 [http-nio-8082-exec-7] INFO com.mtkj.mtpay.controller.CustomerOrderController - 创建客户订单请求CreateCustomerOrderRequestDTO(productId=1, skuId=3, quantity=1, customerName=邱斌, customerPhone=18969599531, customerEmail=18969599531@163.com, shippingName=邱斌, shippingPhone=18969599531, shippingCountry=CN, shippingState=浙江省, shippingCity=丽水市, shippingStreet=丽水市莲都区万象街道晶都步行街阿姨奶茶隔壁潮童馆, shippingPostcode=323000, remark=null)
2025-12-23 17:00:34.456 [http-nio-8082-exec-7] INFO c.mtkj.mtpay.service.impl.CustomerOrderServiceImpl - 创建客户订单商品ID: 1, SKU ID: 3, 数量: 1
2025-12-23 17:00:34.458 [http-nio-8082-exec-7] DEBUG com.mtkj.mtpay.mapper.MtProductMapper.selectById - ==> Preparing: SELECT id,name,price,main_image,status,shop_id,create_time,update_time FROM mt_product WHERE id=?
2025-12-23 17:00:34.458 [http-nio-8082-exec-7] DEBUG com.mtkj.mtpay.mapper.MtProductMapper.selectById - ==> Parameters: 1(Long)
2025-12-23 17:00:34.498 [http-nio-8082-exec-7] DEBUG com.mtkj.mtpay.mapper.MtProductMapper.selectById - <== Total: 1
2025-12-23 17:00:34.498 [http-nio-8082-exec-7] DEBUG c.mtkj.mtpay.mapper.MtProductSkuMapper.selectById - ==> Preparing: SELECT id,product_id,sku,price,currency,stock,sales_attrs,sku_image,weight,size,specification,status,create_time,update_time FROM mt_product_sku WHERE id=?
2025-12-23 17:00:34.498 [http-nio-8082-exec-7] DEBUG c.mtkj.mtpay.mapper.MtProductSkuMapper.selectById - ==> Parameters: 3(Long)
2025-12-23 17:00:34.543 [http-nio-8082-exec-7] DEBUG c.mtkj.mtpay.mapper.MtProductSkuMapper.selectById - <== Total: 1
2025-12-23 17:00:34.543 [http-nio-8082-exec-7] DEBUG com.mtkj.mtpay.util.OrderIdGenerator - 生成商户订单号: MTN17664804345432354
2025-12-23 17:00:34.543 [http-nio-8082-exec-7] DEBUG com.mtkj.mtpay.config.MyMetaObjectHandler - 开始插入填充...
2025-12-23 17:00:34.543 [http-nio-8082-exec-7] DEBUG com.mtkj.mtpay.mapper.CustomerOrderMapper.insert - ==> Preparing: INSERT INTO customer_order ( order_no, product_id, product_name, sku_id, sku_name, quantity, unit_price, total_amount, currency, original_currency, original_amount, payment_currency, payment_amount, exchange_rate, status, customer_name, customer_phone, customer_email, shipping_name, shipping_phone, shipping_country, shipping_state, shipping_city, shipping_street, shipping_postcode, payment_status, create_time, update_time ) VALUES ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ? )
2025-12-23 17:00:34.546 [http-nio-8082-exec-7] DEBUG com.mtkj.mtpay.mapper.CustomerOrderMapper.insert - ==> Parameters: MTN17664804345432354(String), 1(Long), 名创优品毛巾女2025新款洗澡男士浴巾比全棉100纯棉吸水干发成人(String), 3(Long), 【✅性价比首选】米白色+浅水蓝+天空灰【⭐毛巾实惠3条装】(String), 1(Integer), 101.90(BigDecimal), 101.90(BigDecimal), THB(String), THB(String), 101.90(BigDecimal), THB(String), 101.90(BigDecimal), 1(BigDecimal), PENDING(String), 邱斌(String), 18969599531(String), 18969599531@163.com(String), 邱斌(String), 18969599531(String), CN(String), 浙江省(String), 丽水市(String), 丽水市莲都区万象街道晶都步行街阿姨奶茶隔壁潮童馆(String), 323000(String), UNPAID(String), 2025-12-23T17:00:34.543943(LocalDateTime), 2025-12-23T17:00:34.543943(LocalDateTime)
2025-12-23 17:00:34.632 [http-nio-8082-exec-7] DEBUG com.mtkj.mtpay.mapper.CustomerOrderMapper.insert - <== Updates: 1
2025-12-23 17:00:34.632 [http-nio-8082-exec-7] INFO c.mtkj.mtpay.service.impl.CustomerOrderServiceImpl - 客户订单创建成功订单ID: 5, 订单号: MTN17664804345432354
2025-12-23 17:00:34.814 [http-nio-8082-exec-8] INFO com.mtkj.mtpay.controller.CustomerOrderController - 获取订单详情订单号MTN17664804345432354
2025-12-23 17:00:34.814 [http-nio-8082-exec-8] DEBUG c.mtkj.mtpay.service.impl.CustomerOrderServiceImpl - 查询订单,订单号: MTN17664804345432354
2025-12-23 17:00:34.814 [http-nio-8082-exec-8] DEBUG c.mtkj.mtpay.mapper.CustomerOrderMapper.selectList - ==> Preparing: SELECT id,order_no,product_id,product_name,sku_id,sku_name,quantity,unit_price,total_amount,currency,original_currency,original_amount,payment_currency,payment_amount,exchange_rate,rate_locked_at,status,customer_name,customer_phone,customer_email,shipping_name,shipping_phone,shipping_country,shipping_state,shipping_city,shipping_street,shipping_postcode,payment_order_id,payment_status,remark,create_time,update_time FROM customer_order WHERE (order_no = ?)
2025-12-23 17:00:34.814 [http-nio-8082-exec-8] DEBUG c.mtkj.mtpay.mapper.CustomerOrderMapper.selectList - ==> Parameters: MTN17664804345432354(String)
2025-12-23 17:00:34.854 [http-nio-8082-exec-8] DEBUG c.mtkj.mtpay.mapper.CustomerOrderMapper.selectList - <== Total: 1
2025-12-23 17:01:01.897 [http-nio-8082-exec-9] INFO com.mtkj.mtpay.controller.PayPalController - 创建PayPal订单请求CreatePayPalOrderRequestDTO(intent=CAPTURE, referenceId=MTN17664804345432354, amount=101.9, currencyCode=THB, itemName=名创优品毛巾女2025新款洗澡男士浴巾比全棉100纯棉吸水干发成人, itemDescription=【✅性价比首选】米白色+浅水蓝+天空灰【⭐毛巾实惠3条装】, itemSku=【✅性价比首选】米白色+浅水蓝+天空灰【⭐毛巾实惠3条装】, itemQuantity=1, itemUnitAmount=101.9, returnUrl=http://localhost:3000/paypal/success?orderNo=MTN17664804345432354, cancelUrl=http://localhost:3000/paypal/cancel?orderNo=MTN17664804345432354, shippingName=邱斌, shippingAddressLine1=丽水市莲都区万象街道晶都步行街阿姨奶茶隔壁潮童馆, shippingAddressLine2=null, shippingCity=丽水市, shippingState=浙江省, shippingPostalCode=323000, shippingCountryCode=CN, emailAddress=18969599531@163.com)
2025-12-23 17:01:01.897 [http-nio-8082-exec-9] INFO com.mtkj.mtpay.service.impl.PayPalServiceImpl - 创建PayPal订单ERP订单号: MTN17664804345432354
2025-12-23 17:01:03.472 [http-nio-8082-exec-9] INFO com.mtkj.mtpay.service.impl.PayPalServiceImpl - PayPal订单创建成功订单ID: 3S4372349M166181N, 状态: PAYER_ACTION_REQUIRED
2025-12-23 17:01:03.475 [http-nio-8082-exec-9] INFO com.mtkj.mtpay.service.impl.PayPalServiceImpl - 货币转换信息 - 原始: 101.9 THB, 支付: 101.90 THB (汇率: 1.0)
2025-12-23 17:01:03.475 [http-nio-8082-exec-9] INFO c.mtkj.mtpay.service.impl.CustomerOrderServiceImpl - 更新订单货币转换信息,订单号: MTN17664804345432354, 原始: 101.9 THB, 支付: 101.9 THB (汇率: 1.0)
2025-12-23 17:01:03.477 [http-nio-8082-exec-9] DEBUG c.mtkj.mtpay.mapper.CustomerOrderMapper.selectList - ==> Preparing: SELECT id,order_no,product_id,product_name,sku_id,sku_name,quantity,unit_price,total_amount,currency,original_currency,original_amount,payment_currency,payment_amount,exchange_rate,rate_locked_at,status,customer_name,customer_phone,customer_email,shipping_name,shipping_phone,shipping_country,shipping_state,shipping_city,shipping_street,shipping_postcode,payment_order_id,payment_status,remark,create_time,update_time FROM customer_order WHERE (order_no = ?)
2025-12-23 17:01:03.477 [http-nio-8082-exec-9] DEBUG c.mtkj.mtpay.mapper.CustomerOrderMapper.selectList - ==> Parameters: MTN17664804345432354(String)
2025-12-23 17:01:03.519 [http-nio-8082-exec-9] DEBUG c.mtkj.mtpay.mapper.CustomerOrderMapper.selectList - <== Total: 1
2025-12-23 17:01:03.519 [http-nio-8082-exec-9] DEBUG com.mtkj.mtpay.config.MyMetaObjectHandler - 开始更新填充...
2025-12-23 17:01:03.519 [http-nio-8082-exec-9] DEBUG c.mtkj.mtpay.mapper.CustomerOrderMapper.updateById - ==> Preparing: UPDATE customer_order SET order_no=?, product_id=?, product_name=?, sku_id=?, sku_name=?, quantity=?, unit_price=?, total_amount=?, currency=?, original_currency=?, original_amount=?, payment_currency=?, payment_amount=?, exchange_rate=?, rate_locked_at=?, status=?, customer_name=?, customer_phone=?, customer_email=?, shipping_name=?, shipping_phone=?, shipping_country=?, shipping_state=?, shipping_city=?, shipping_street=?, shipping_postcode=?, payment_status=?, create_time=?, update_time=? WHERE id=?
2025-12-23 17:01:03.522 [http-nio-8082-exec-9] DEBUG c.mtkj.mtpay.mapper.CustomerOrderMapper.updateById - ==> Parameters: MTN17664804345432354(String), 1(Long), 名创优品毛巾女2025新款洗澡男士浴巾比全棉100纯棉吸水干发成人(String), 3(Long), 【✅性价比首选】米白色+浅水蓝+天空灰【⭐毛巾实惠3条装】(String), 1(Integer), 101.90(BigDecimal), 101.90(BigDecimal), THB(String), THB(String), 101.9(BigDecimal), THB(String), 101.9(BigDecimal), 1.0(BigDecimal), 2025-12-23T17:01:03.519660300(LocalDateTime), PENDING(String), 邱斌(String), 18969599531(String), 18969599531@163.com(String), 邱斌(String), 18969599531(String), CN(String), 浙江省(String), 丽水市(String), 丽水市莲都区万象街道晶都步行街阿姨奶茶隔壁潮童馆(String), 323000(String), UNPAID(String), 2025-12-23T17:00:35(LocalDateTime), 2025-12-23T17:00:35(LocalDateTime), 5(Long)
2025-12-23 17:01:03.601 [http-nio-8082-exec-9] DEBUG c.mtkj.mtpay.mapper.CustomerOrderMapper.updateById - <== Updates: 1
2025-12-23 17:01:03.601 [http-nio-8082-exec-9] INFO c.mtkj.mtpay.service.impl.CustomerOrderServiceImpl - 订单货币转换信息更新成功,订单号: MTN17664804345432354
2025-12-23 17:01:19.246 [http-nio-8082-exec-10] INFO com.mtkj.mtpay.controller.CustomerOrderController - 获取订单详情订单号MTN17664804345432354
2025-12-23 17:01:19.246 [http-nio-8082-exec-10] DEBUG c.mtkj.mtpay.service.impl.CustomerOrderServiceImpl - 查询订单,订单号: MTN17664804345432354
2025-12-23 17:01:19.248 [http-nio-8082-exec-10] DEBUG c.mtkj.mtpay.mapper.CustomerOrderMapper.selectList - ==> Preparing: SELECT id,order_no,product_id,product_name,sku_id,sku_name,quantity,unit_price,total_amount,currency,original_currency,original_amount,payment_currency,payment_amount,exchange_rate,rate_locked_at,status,customer_name,customer_phone,customer_email,shipping_name,shipping_phone,shipping_country,shipping_state,shipping_city,shipping_street,shipping_postcode,payment_order_id,payment_status,remark,create_time,update_time FROM customer_order WHERE (order_no = ?)
2025-12-23 17:01:19.248 [http-nio-8082-exec-10] DEBUG c.mtkj.mtpay.mapper.CustomerOrderMapper.selectList - ==> Parameters: MTN17664804345432354(String)
2025-12-23 17:01:19.289 [http-nio-8082-exec-10] DEBUG c.mtkj.mtpay.mapper.CustomerOrderMapper.selectList - <== Total: 1
2025-12-23 17:01:23.530 [http-nio-8082-exec-1] INFO com.mtkj.mtpay.controller.ProductController - 获取商品列表
2025-12-23 17:01:23.530 [http-nio-8082-exec-1] DEBUG com.mtkj.mtpay.service.impl.ProductServiceImpl - 查询商品列表
2025-12-23 17:01:23.533 [http-nio-8082-exec-1] DEBUG com.mtkj.mtpay.mapper.MtProductMapper.selectList - ==> Preparing: SELECT id,name,price,main_image,status,shop_id,create_time,update_time FROM mt_product WHERE (status <> ?) ORDER BY create_time DESC
2025-12-23 17:01:23.533 [http-nio-8082-exec-1] DEBUG com.mtkj.mtpay.mapper.MtProductMapper.selectList - ==> Parameters: DELETED(String)
2025-12-23 17:01:23.620 [http-nio-8082-exec-1] DEBUG com.mtkj.mtpay.mapper.MtProductMapper.selectList - <== Total: 1
2025-12-23 17:01:23.620 [http-nio-8082-exec-1] DEBUG com.mtkj.mtpay.service.impl.ProductServiceImpl - 查询到商品数量: 1
2025-12-23 17:01:23.623 [http-nio-8082-exec-1] DEBUG c.mtkj.mtpay.mapper.MtProductSkuMapper.selectList - ==> Preparing: SELECT id,product_id,sku,price,currency,stock,sales_attrs,sku_image,weight,size,specification,status,create_time,update_time FROM mt_product_sku WHERE (product_id = ?)
2025-12-23 17:01:23.623 [http-nio-8082-exec-1] DEBUG c.mtkj.mtpay.mapper.MtProductSkuMapper.selectList - ==> Parameters: 1(Long)
2025-12-23 17:01:23.693 [http-nio-8082-exec-1] DEBUG c.mtkj.mtpay.mapper.MtProductSkuMapper.selectList - <== Total: 15
2025-12-23 17:01:23.698 [http-nio-8082-exec-1] INFO com.mtkj.mtpay.service.impl.ProductServiceImpl - 获取商品列表成功,商品数量: 1
2025-12-23 17:01:23.712 [http-nio-8082-exec-2] INFO com.mtkj.mtpay.controller.ProductController - 获取商品URL商品ID1
2025-12-23 17:01:23.712 [http-nio-8082-exec-2] DEBUG com.mtkj.mtpay.service.impl.ProductServiceImpl - 获取商品URL商品ID: 1
2025-12-23 17:01:23.712 [http-nio-8082-exec-2] DEBUG com.mtkj.mtpay.mapper.MtProductMapper.selectById - ==> Preparing: SELECT id,name,price,main_image,status,shop_id,create_time,update_time FROM mt_product WHERE id=?
2025-12-23 17:01:23.712 [http-nio-8082-exec-2] DEBUG com.mtkj.mtpay.mapper.MtProductMapper.selectById - ==> Parameters: 1(Long)
2025-12-23 17:01:23.754 [http-nio-8082-exec-2] DEBUG com.mtkj.mtpay.mapper.MtProductMapper.selectById - <== Total: 1
2025-12-23 17:01:23.796 [http-nio-8082-exec-2] DEBUG c.mtkj.mtpay.service.impl.ProductLinkServiceImpl - 创建或获取商品链接商品ID: 1, 有效期: 90天
2025-12-23 17:01:23.796 [http-nio-8082-exec-2] DEBUG c.mtkj.mtpay.mapper.MtProductLinkMapper.selectList - ==> Preparing: SELECT id,product_id,link_code,full_url,expire_days,expire_time,status,create_time,update_time FROM mt_product_link WHERE (product_id = ? AND status = ? AND expire_time > ?) ORDER BY create_time DESC LIMIT 1
2025-12-23 17:01:23.796 [http-nio-8082-exec-2] DEBUG c.mtkj.mtpay.mapper.MtProductLinkMapper.selectList - ==> Parameters: 1(Long), ACTIVE(String), 2025-12-23T17:01:23.796504200(LocalDateTime)
2025-12-23 17:01:23.835 [http-nio-8082-exec-2] DEBUG c.mtkj.mtpay.mapper.MtProductLinkMapper.selectList - <== Total: 1
2025-12-23 17:01:23.838 [http-nio-8082-exec-2] DEBUG c.mtkj.mtpay.service.impl.ProductLinkServiceImpl - 找到现有有效链接,链接码: 3582a1dfbb174d84aac9f465b7180b50, 商品ID: 1
2025-12-23 17:01:24.192 [http-nio-8082-exec-2] INFO com.mtkj.mtpay.service.impl.ProductServiceImpl - 获取商品URL成功商品ID: 1, 链接码: 3582a1dfbb174d84aac9f465b7180b50, URL: http://localhost:3000/product/3582a1dfbb174d84aac9f465b7180b50
2025-12-23 17:01:51.181 [http-nio-8082-exec-3] INFO com.mtkj.mtpay.controller.PaymentController - 查询订单状态,商户订单号: MTN17664579642691703
2025-12-23 17:01:51.181 [http-nio-8082-exec-3] DEBUG c.mtkj.mtpay.service.impl.PaymentOrderServiceImpl - 查询支付订单,商户订单号: MTN17664579642691703
2025-12-23 17:01:51.185 [http-nio-8082-exec-3] DEBUG c.mtkj.mtpay.mapper.PaymentOrderMapper.selectList - ==> Preparing: SELECT id,merchant_transaction_id,transaction_id,client_id,acc_id,amount,currency,payment_type,payment_brand,status,token,payment_url,merchant_user_id,shopper_result_url,shopper_cancel_url,notification_url,remark,create_time,update_time FROM payment_order WHERE (merchant_transaction_id = ?)
2025-12-23 17:01:51.186 [http-nio-8082-exec-3] DEBUG c.mtkj.mtpay.mapper.PaymentOrderMapper.selectList - ==> Parameters: MTN17664579642691703(String)
2025-12-23 17:01:51.223 [http-nio-8082-exec-3] DEBUG c.mtkj.mtpay.mapper.PaymentOrderMapper.selectList - <== Total: 0
2025-12-23 17:01:51.226 [http-nio-8082-exec-3] DEBUG c.mtkj.mtpay.service.impl.PaymentOrderServiceImpl - 未找到支付订单,商户订单号: MTN17664579642691703
2025-12-23 17:01:53.532 [http-nio-8082-exec-4] INFO com.mtkj.mtpay.controller.PaymentController - 查询订单状态,商户订单号: MTN17664579642691703
2025-12-23 17:01:53.532 [http-nio-8082-exec-4] DEBUG c.mtkj.mtpay.service.impl.PaymentOrderServiceImpl - 查询支付订单,商户订单号: MTN17664579642691703
2025-12-23 17:01:53.532 [http-nio-8082-exec-4] DEBUG c.mtkj.mtpay.mapper.PaymentOrderMapper.selectList - ==> Preparing: SELECT id,merchant_transaction_id,transaction_id,client_id,acc_id,amount,currency,payment_type,payment_brand,status,token,payment_url,merchant_user_id,shopper_result_url,shopper_cancel_url,notification_url,remark,create_time,update_time FROM payment_order WHERE (merchant_transaction_id = ?)
2025-12-23 17:01:53.532 [http-nio-8082-exec-4] DEBUG c.mtkj.mtpay.mapper.PaymentOrderMapper.selectList - ==> Parameters: MTN17664579642691703(String)
2025-12-23 17:01:53.574 [http-nio-8082-exec-4] DEBUG c.mtkj.mtpay.mapper.PaymentOrderMapper.selectList - <== Total: 0
2025-12-23 17:01:53.574 [http-nio-8082-exec-4] DEBUG c.mtkj.mtpay.service.impl.PaymentOrderServiceImpl - 未找到支付订单,商户订单号: MTN17664579642691703
2025-12-23 17:02:31.994 [http-nio-8082-exec-5] INFO com.mtkj.mtpay.controller.ProductController - 获取商品列表
2025-12-23 17:02:31.994 [http-nio-8082-exec-5] DEBUG com.mtkj.mtpay.service.impl.ProductServiceImpl - 查询商品列表
2025-12-23 17:02:31.995 [http-nio-8082-exec-5] DEBUG com.mtkj.mtpay.mapper.MtProductMapper.selectList - ==> Preparing: SELECT id,name,price,main_image,status,shop_id,create_time,update_time FROM mt_product WHERE (status <> ?) ORDER BY create_time DESC
2025-12-23 17:02:31.995 [http-nio-8082-exec-5] DEBUG com.mtkj.mtpay.mapper.MtProductMapper.selectList - ==> Parameters: DELETED(String)
2025-12-23 17:02:32.032 [http-nio-8082-exec-5] DEBUG com.mtkj.mtpay.mapper.MtProductMapper.selectList - <== Total: 1
2025-12-23 17:02:32.032 [http-nio-8082-exec-5] DEBUG com.mtkj.mtpay.service.impl.ProductServiceImpl - 查询到商品数量: 1
2025-12-23 17:02:32.034 [http-nio-8082-exec-5] DEBUG c.mtkj.mtpay.mapper.MtProductSkuMapper.selectList - ==> Preparing: SELECT id,product_id,sku,price,currency,stock,sales_attrs,sku_image,weight,size,specification,status,create_time,update_time FROM mt_product_sku WHERE (product_id = ?)
2025-12-23 17:02:32.034 [http-nio-8082-exec-5] DEBUG c.mtkj.mtpay.mapper.MtProductSkuMapper.selectList - ==> Parameters: 1(Long)
2025-12-23 17:02:32.072 [http-nio-8082-exec-5] DEBUG c.mtkj.mtpay.mapper.MtProductSkuMapper.selectList - <== Total: 15
2025-12-23 17:02:32.072 [http-nio-8082-exec-5] INFO com.mtkj.mtpay.service.impl.ProductServiceImpl - 获取商品列表成功,商品数量: 1
2025-12-23 17:02:32.083 [http-nio-8082-exec-6] INFO com.mtkj.mtpay.controller.ProductController - 获取商品URL商品ID1
2025-12-23 17:02:32.083 [http-nio-8082-exec-6] DEBUG com.mtkj.mtpay.service.impl.ProductServiceImpl - 获取商品URL商品ID: 1
2025-12-23 17:02:32.083 [http-nio-8082-exec-6] DEBUG com.mtkj.mtpay.mapper.MtProductMapper.selectById - ==> Preparing: SELECT id,name,price,main_image,status,shop_id,create_time,update_time FROM mt_product WHERE id=?
2025-12-23 17:02:32.084 [http-nio-8082-exec-6] DEBUG com.mtkj.mtpay.mapper.MtProductMapper.selectById - ==> Parameters: 1(Long)
2025-12-23 17:02:32.122 [http-nio-8082-exec-6] DEBUG com.mtkj.mtpay.mapper.MtProductMapper.selectById - <== Total: 1
2025-12-23 17:02:32.159 [http-nio-8082-exec-6] DEBUG c.mtkj.mtpay.service.impl.ProductLinkServiceImpl - 创建或获取商品链接商品ID: 1, 有效期: 90天
2025-12-23 17:02:32.160 [http-nio-8082-exec-6] DEBUG c.mtkj.mtpay.mapper.MtProductLinkMapper.selectList - ==> Preparing: SELECT id,product_id,link_code,full_url,expire_days,expire_time,status,create_time,update_time FROM mt_product_link WHERE (product_id = ? AND status = ? AND expire_time > ?) ORDER BY create_time DESC LIMIT 1
2025-12-23 17:02:32.161 [http-nio-8082-exec-6] DEBUG c.mtkj.mtpay.mapper.MtProductLinkMapper.selectList - ==> Parameters: 1(Long), ACTIVE(String), 2025-12-23T17:02:32.159110100(LocalDateTime)
2025-12-23 17:02:32.197 [http-nio-8082-exec-6] DEBUG c.mtkj.mtpay.mapper.MtProductLinkMapper.selectList - <== Total: 1
2025-12-23 17:02:32.197 [http-nio-8082-exec-6] DEBUG c.mtkj.mtpay.service.impl.ProductLinkServiceImpl - 找到现有有效链接,链接码: 3582a1dfbb174d84aac9f465b7180b50, 商品ID: 1
2025-12-23 17:02:32.271 [http-nio-8082-exec-6] INFO com.mtkj.mtpay.service.impl.ProductServiceImpl - 获取商品URL成功商品ID: 1, 链接码: 3582a1dfbb174d84aac9f465b7180b50, URL: http://localhost:3000/product/3582a1dfbb174d84aac9f465b7180b50
2025-12-23 17:02:36.615 [http-nio-8082-exec-7] INFO com.mtkj.mtpay.controller.ProductController - 获取商品列表
2025-12-23 17:02:36.615 [http-nio-8082-exec-7] DEBUG com.mtkj.mtpay.service.impl.ProductServiceImpl - 查询商品列表
2025-12-23 17:02:36.616 [http-nio-8082-exec-7] DEBUG com.mtkj.mtpay.mapper.MtProductMapper.selectList - ==> Preparing: SELECT id,name,price,main_image,status,shop_id,create_time,update_time FROM mt_product WHERE (status <> ?) ORDER BY create_time DESC
2025-12-23 17:02:36.616 [http-nio-8082-exec-7] DEBUG com.mtkj.mtpay.mapper.MtProductMapper.selectList - ==> Parameters: DELETED(String)
2025-12-23 17:02:36.654 [http-nio-8082-exec-7] DEBUG com.mtkj.mtpay.mapper.MtProductMapper.selectList - <== Total: 1
2025-12-23 17:02:36.654 [http-nio-8082-exec-7] DEBUG com.mtkj.mtpay.service.impl.ProductServiceImpl - 查询到商品数量: 1
2025-12-23 17:02:36.655 [http-nio-8082-exec-7] DEBUG c.mtkj.mtpay.mapper.MtProductSkuMapper.selectList - ==> Preparing: SELECT id,product_id,sku,price,currency,stock,sales_attrs,sku_image,weight,size,specification,status,create_time,update_time FROM mt_product_sku WHERE (product_id = ?)
2025-12-23 17:02:36.655 [http-nio-8082-exec-7] DEBUG c.mtkj.mtpay.mapper.MtProductSkuMapper.selectList - ==> Parameters: 1(Long)
2025-12-23 17:02:36.695 [http-nio-8082-exec-7] DEBUG c.mtkj.mtpay.mapper.MtProductSkuMapper.selectList - <== Total: 15
2025-12-23 17:02:36.695 [http-nio-8082-exec-7] INFO com.mtkj.mtpay.service.impl.ProductServiceImpl - 获取商品列表成功,商品数量: 1
2025-12-23 17:02:36.703 [http-nio-8082-exec-8] INFO com.mtkj.mtpay.controller.ProductController - 获取商品URL商品ID1
2025-12-23 17:02:36.705 [http-nio-8082-exec-8] DEBUG com.mtkj.mtpay.service.impl.ProductServiceImpl - 获取商品URL商品ID: 1
2025-12-23 17:02:36.705 [http-nio-8082-exec-8] DEBUG com.mtkj.mtpay.mapper.MtProductMapper.selectById - ==> Preparing: SELECT id,name,price,main_image,status,shop_id,create_time,update_time FROM mt_product WHERE id=?
2025-12-23 17:02:36.705 [http-nio-8082-exec-8] DEBUG com.mtkj.mtpay.mapper.MtProductMapper.selectById - ==> Parameters: 1(Long)
2025-12-23 17:02:36.743 [http-nio-8082-exec-8] DEBUG com.mtkj.mtpay.mapper.MtProductMapper.selectById - <== Total: 1
2025-12-23 17:02:36.780 [http-nio-8082-exec-8] DEBUG c.mtkj.mtpay.service.impl.ProductLinkServiceImpl - 创建或获取商品链接商品ID: 1, 有效期: 90天
2025-12-23 17:02:36.780 [http-nio-8082-exec-8] DEBUG c.mtkj.mtpay.mapper.MtProductLinkMapper.selectList - ==> Preparing: SELECT id,product_id,link_code,full_url,expire_days,expire_time,status,create_time,update_time FROM mt_product_link WHERE (product_id = ? AND status = ? AND expire_time > ?) ORDER BY create_time DESC LIMIT 1
2025-12-23 17:02:36.781 [http-nio-8082-exec-8] DEBUG c.mtkj.mtpay.mapper.MtProductLinkMapper.selectList - ==> Parameters: 1(Long), ACTIVE(String), 2025-12-23T17:02:36.780207600(LocalDateTime)
2025-12-23 17:02:36.818 [http-nio-8082-exec-8] DEBUG c.mtkj.mtpay.mapper.MtProductLinkMapper.selectList - <== Total: 1
2025-12-23 17:02:36.818 [http-nio-8082-exec-8] DEBUG c.mtkj.mtpay.service.impl.ProductLinkServiceImpl - 找到现有有效链接,链接码: 3582a1dfbb174d84aac9f465b7180b50, 商品ID: 1
2025-12-23 17:02:36.891 [http-nio-8082-exec-8] INFO com.mtkj.mtpay.service.impl.ProductServiceImpl - 获取商品URL成功商品ID: 1, 链接码: 3582a1dfbb174d84aac9f465b7180b50, URL: http://localhost:3000/product/3582a1dfbb174d84aac9f465b7180b50
2025-12-23 17:02:50.110 [http-nio-8082-exec-9] INFO com.mtkj.mtpay.controller.ProductController - 根据链接码获取商品详情链接码3582a1dfbb174d84aac9f465b7180b50
2025-12-23 17:02:50.110 [http-nio-8082-exec-9] DEBUG com.mtkj.mtpay.service.impl.ProductServiceImpl - 根据链接码获取商品ID链接码: 3582a1dfbb174d84aac9f465b7180b50
2025-12-23 17:02:50.110 [http-nio-8082-exec-9] DEBUG c.mtkj.mtpay.service.impl.ProductLinkServiceImpl - 根据链接码获取商品链接,链接码: 3582a1dfbb174d84aac9f465b7180b50
2025-12-23 17:02:50.110 [http-nio-8082-exec-9] DEBUG c.mtkj.mtpay.mapper.MtProductLinkMapper.selectList - ==> Preparing: SELECT id,product_id,link_code,full_url,expire_days,expire_time,status,create_time,update_time FROM mt_product_link WHERE (link_code = ?) LIMIT 1
2025-12-23 17:02:50.111 [http-nio-8082-exec-9] DEBUG c.mtkj.mtpay.mapper.MtProductLinkMapper.selectList - ==> Parameters: 3582a1dfbb174d84aac9f465b7180b50(String)
2025-12-23 17:02:50.149 [http-nio-8082-exec-9] DEBUG c.mtkj.mtpay.mapper.MtProductLinkMapper.selectList - <== Total: 1
2025-12-23 17:02:50.149 [http-nio-8082-exec-9] DEBUG com.mtkj.mtpay.service.impl.ProductServiceImpl - 根据链接码获取商品ID成功链接码: 3582a1dfbb174d84aac9f465b7180b50, 商品ID: 1
2025-12-23 17:02:50.149 [http-nio-8082-exec-9] DEBUG com.mtkj.mtpay.service.impl.ProductServiceImpl - 查询商品详情商品ID: 1
2025-12-23 17:02:50.150 [http-nio-8082-exec-9] DEBUG com.mtkj.mtpay.mapper.MtProductMapper.selectById - ==> Preparing: SELECT id,name,price,main_image,status,shop_id,create_time,update_time FROM mt_product WHERE id=?
2025-12-23 17:02:50.150 [http-nio-8082-exec-9] DEBUG com.mtkj.mtpay.mapper.MtProductMapper.selectById - ==> Parameters: 1(Long)
2025-12-23 17:02:50.189 [http-nio-8082-exec-9] DEBUG com.mtkj.mtpay.mapper.MtProductMapper.selectById - <== Total: 1
2025-12-23 17:02:50.189 [http-nio-8082-exec-9] DEBUG c.mtkj.mtpay.mapper.MtProductSkuMapper.selectList - ==> Preparing: SELECT id,product_id,sku,price,currency,stock,sales_attrs,sku_image,weight,size,specification,status,create_time,update_time FROM mt_product_sku WHERE (product_id = ? AND status = ?)
2025-12-23 17:02:50.189 [http-nio-8082-exec-9] DEBUG c.mtkj.mtpay.mapper.MtProductSkuMapper.selectList - ==> Parameters: 1(Long), ACTIVE(String)
2025-12-23 17:02:50.228 [http-nio-8082-exec-9] DEBUG c.mtkj.mtpay.mapper.MtProductSkuMapper.selectList - <== Total: 15
2025-12-23 17:02:50.228 [http-nio-8082-exec-9] DEBUG com.mtkj.mtpay.service.impl.ProductServiceImpl - 查询到商品SKU数量: 15, 商品ID: 1
2025-12-23 17:02:50.228 [http-nio-8082-exec-9] DEBUG com.mtkj.mtpay.service.impl.ProductServiceImpl - 解析商品主图(多图),数量: 5
2025-12-23 17:02:50.229 [http-nio-8082-exec-9] INFO com.mtkj.mtpay.service.impl.ProductServiceImpl - 获取商品详情成功商品ID: 1, 商品名称: 名创优品毛巾女2025新款洗澡男士浴巾比全棉100纯棉吸水干发成人, SKU数量: 15, 主图数量: 5
2025-12-23 17:03:03.299 [http-nio-8082-exec-10] INFO com.mtkj.mtpay.controller.CustomerOrderController - 创建客户订单请求CreateCustomerOrderRequestDTO(productId=1, skuId=1, quantity=1, customerName=邱斌, customerPhone=18969599531, customerEmail=18969599531@163.com, shippingName=邱斌, shippingPhone=18969599531, shippingCountry=CN, shippingState=浙江省, shippingCity=丽水市, shippingStreet=丽水市莲都区万象街道晶都步行街阿姨奶茶隔壁潮童馆, shippingPostcode=323000, remark=null)
2025-12-23 17:03:03.337 [http-nio-8082-exec-10] INFO c.mtkj.mtpay.service.impl.CustomerOrderServiceImpl - 创建客户订单商品ID: 1, SKU ID: 1, 数量: 1
2025-12-23 17:03:03.337 [http-nio-8082-exec-10] DEBUG com.mtkj.mtpay.mapper.MtProductMapper.selectById - ==> Preparing: SELECT id,name,price,main_image,status,shop_id,create_time,update_time FROM mt_product WHERE id=?
2025-12-23 17:03:03.337 [http-nio-8082-exec-10] DEBUG com.mtkj.mtpay.mapper.MtProductMapper.selectById - ==> Parameters: 1(Long)
2025-12-23 17:03:03.374 [http-nio-8082-exec-10] DEBUG com.mtkj.mtpay.mapper.MtProductMapper.selectById - <== Total: 1
2025-12-23 17:03:03.374 [http-nio-8082-exec-10] DEBUG c.mtkj.mtpay.mapper.MtProductSkuMapper.selectById - ==> Preparing: SELECT id,product_id,sku,price,currency,stock,sales_attrs,sku_image,weight,size,specification,status,create_time,update_time FROM mt_product_sku WHERE id=?
2025-12-23 17:03:03.374 [http-nio-8082-exec-10] DEBUG c.mtkj.mtpay.mapper.MtProductSkuMapper.selectById - ==> Parameters: 1(Long)
2025-12-23 17:03:03.414 [http-nio-8082-exec-10] DEBUG c.mtkj.mtpay.mapper.MtProductSkuMapper.selectById - <== Total: 1
2025-12-23 17:03:03.415 [http-nio-8082-exec-10] DEBUG com.mtkj.mtpay.util.OrderIdGenerator - 生成商户订单号: MTN17664805834146146
2025-12-23 17:03:03.415 [http-nio-8082-exec-10] DEBUG com.mtkj.mtpay.config.MyMetaObjectHandler - 开始插入填充...
2025-12-23 17:03:03.415 [http-nio-8082-exec-10] DEBUG com.mtkj.mtpay.mapper.CustomerOrderMapper.insert - ==> Preparing: INSERT INTO customer_order ( order_no, product_id, product_name, sku_id, sku_name, quantity, unit_price, total_amount, currency, original_currency, original_amount, payment_currency, payment_amount, exchange_rate, status, customer_name, customer_phone, customer_email, shipping_name, shipping_phone, shipping_country, shipping_state, shipping_city, shipping_street, shipping_postcode, payment_status, create_time, update_time ) VALUES ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ? )
2025-12-23 17:03:03.416 [http-nio-8082-exec-10] DEBUG com.mtkj.mtpay.mapper.CustomerOrderMapper.insert - ==> Parameters: MTN17664805834146146(String), 1(Long), 名创优品毛巾女2025新款洗澡男士浴巾比全棉100纯棉吸水干发成人(String), 1(Long), 【✅性价比首选】米白色+浅水蓝+天空灰【⭐毛巾实惠3条装】(String), 1(Integer), 13.31(BigDecimal), 13.31(BigDecimal), MYR(String), MYR(String), 13.31(BigDecimal), MYR(String), 13.31(BigDecimal), 1(BigDecimal), PENDING(String), 邱斌(String), 18969599531(String), 18969599531@163.com(String), 邱斌(String), 18969599531(String), CN(String), 浙江省(String), 丽水市(String), 丽水市莲都区万象街道晶都步行街阿姨奶茶隔壁潮童馆(String), 323000(String), UNPAID(String), 2025-12-23T17:03:03.415515200(LocalDateTime), 2025-12-23T17:03:03.415515200(LocalDateTime)
2025-12-23 17:03:03.494 [http-nio-8082-exec-10] DEBUG com.mtkj.mtpay.mapper.CustomerOrderMapper.insert - <== Updates: 1
2025-12-23 17:03:03.494 [http-nio-8082-exec-10] INFO c.mtkj.mtpay.service.impl.CustomerOrderServiceImpl - 客户订单创建成功订单ID: 6, 订单号: MTN17664805834146146
2025-12-23 17:03:03.698 [http-nio-8082-exec-1] INFO com.mtkj.mtpay.controller.CustomerOrderController - 获取订单详情订单号MTN17664805834146146
2025-12-23 17:03:03.698 [http-nio-8082-exec-1] DEBUG c.mtkj.mtpay.service.impl.CustomerOrderServiceImpl - 查询订单,订单号: MTN17664805834146146
2025-12-23 17:03:03.699 [http-nio-8082-exec-1] DEBUG c.mtkj.mtpay.mapper.CustomerOrderMapper.selectList - ==> Preparing: SELECT id,order_no,product_id,product_name,sku_id,sku_name,quantity,unit_price,total_amount,currency,original_currency,original_amount,payment_currency,payment_amount,exchange_rate,rate_locked_at,status,customer_name,customer_phone,customer_email,shipping_name,shipping_phone,shipping_country,shipping_state,shipping_city,shipping_street,shipping_postcode,payment_order_id,payment_status,remark,create_time,update_time FROM customer_order WHERE (order_no = ?)
2025-12-23 17:03:03.700 [http-nio-8082-exec-1] DEBUG c.mtkj.mtpay.mapper.CustomerOrderMapper.selectList - ==> Parameters: MTN17664805834146146(String)
2025-12-23 17:03:03.736 [http-nio-8082-exec-1] DEBUG c.mtkj.mtpay.mapper.CustomerOrderMapper.selectList - <== Total: 1
2025-12-23 17:03:13.427 [http-nio-8082-exec-2] INFO com.mtkj.mtpay.controller.ProductController - 根据链接码获取商品详情链接码3582a1dfbb174d84aac9f465b7180b50
2025-12-23 17:03:13.427 [http-nio-8082-exec-2] DEBUG com.mtkj.mtpay.service.impl.ProductServiceImpl - 根据链接码获取商品ID链接码: 3582a1dfbb174d84aac9f465b7180b50
2025-12-23 17:03:13.427 [http-nio-8082-exec-2] DEBUG c.mtkj.mtpay.service.impl.ProductLinkServiceImpl - 根据链接码获取商品链接,链接码: 3582a1dfbb174d84aac9f465b7180b50
2025-12-23 17:03:13.427 [http-nio-8082-exec-2] DEBUG c.mtkj.mtpay.mapper.MtProductLinkMapper.selectList - ==> Preparing: SELECT id,product_id,link_code,full_url,expire_days,expire_time,status,create_time,update_time FROM mt_product_link WHERE (link_code = ?) LIMIT 1
2025-12-23 17:03:13.427 [http-nio-8082-exec-2] DEBUG c.mtkj.mtpay.mapper.MtProductLinkMapper.selectList - ==> Parameters: 3582a1dfbb174d84aac9f465b7180b50(String)
2025-12-23 17:03:13.464 [http-nio-8082-exec-2] DEBUG c.mtkj.mtpay.mapper.MtProductLinkMapper.selectList - <== Total: 1
2025-12-23 17:03:13.465 [http-nio-8082-exec-2] DEBUG com.mtkj.mtpay.service.impl.ProductServiceImpl - 根据链接码获取商品ID成功链接码: 3582a1dfbb174d84aac9f465b7180b50, 商品ID: 1
2025-12-23 17:03:13.465 [http-nio-8082-exec-2] DEBUG com.mtkj.mtpay.service.impl.ProductServiceImpl - 查询商品详情商品ID: 1
2025-12-23 17:03:13.465 [http-nio-8082-exec-2] DEBUG com.mtkj.mtpay.mapper.MtProductMapper.selectById - ==> Preparing: SELECT id,name,price,main_image,status,shop_id,create_time,update_time FROM mt_product WHERE id=?
2025-12-23 17:03:13.465 [http-nio-8082-exec-2] DEBUG com.mtkj.mtpay.mapper.MtProductMapper.selectById - ==> Parameters: 1(Long)
2025-12-23 17:03:13.501 [http-nio-8082-exec-2] DEBUG com.mtkj.mtpay.mapper.MtProductMapper.selectById - <== Total: 1
2025-12-23 17:03:13.502 [http-nio-8082-exec-2] DEBUG c.mtkj.mtpay.mapper.MtProductSkuMapper.selectList - ==> Preparing: SELECT id,product_id,sku,price,currency,stock,sales_attrs,sku_image,weight,size,specification,status,create_time,update_time FROM mt_product_sku WHERE (product_id = ? AND status = ?)
2025-12-23 17:03:13.502 [http-nio-8082-exec-2] DEBUG c.mtkj.mtpay.mapper.MtProductSkuMapper.selectList - ==> Parameters: 1(Long), ACTIVE(String)
2025-12-23 17:03:13.540 [http-nio-8082-exec-2] DEBUG c.mtkj.mtpay.mapper.MtProductSkuMapper.selectList - <== Total: 15
2025-12-23 17:03:13.541 [http-nio-8082-exec-2] DEBUG com.mtkj.mtpay.service.impl.ProductServiceImpl - 查询到商品SKU数量: 15, 商品ID: 1
2025-12-23 17:03:13.541 [http-nio-8082-exec-2] DEBUG com.mtkj.mtpay.service.impl.ProductServiceImpl - 解析商品主图(多图),数量: 5
2025-12-23 17:03:13.541 [http-nio-8082-exec-2] INFO com.mtkj.mtpay.service.impl.ProductServiceImpl - 获取商品详情成功商品ID: 1, 商品名称: 名创优品毛巾女2025新款洗澡男士浴巾比全棉100纯棉吸水干发成人, SKU数量: 15, 主图数量: 5
2025-12-23 17:03:24.440 [http-nio-8082-exec-3] INFO com.mtkj.mtpay.controller.CustomerOrderController - 创建客户订单请求CreateCustomerOrderRequestDTO(productId=1, skuId=14, quantity=1, customerName=邱斌, customerPhone=18969599531, customerEmail=18969599531@163.com, shippingName=邱斌, shippingPhone=18969599531, shippingCountry=CN, shippingState=浙江省, shippingCity=丽水市, shippingStreet=丽水市莲都区万象街道晶都步行街阿姨奶茶隔壁潮童馆, shippingPostcode=323000, remark=null)
2025-12-23 17:03:24.482 [http-nio-8082-exec-3] INFO c.mtkj.mtpay.service.impl.CustomerOrderServiceImpl - 创建客户订单商品ID: 1, SKU ID: 14, 数量: 1
2025-12-23 17:03:24.482 [http-nio-8082-exec-3] DEBUG com.mtkj.mtpay.mapper.MtProductMapper.selectById - ==> Preparing: SELECT id,name,price,main_image,status,shop_id,create_time,update_time FROM mt_product WHERE id=?
2025-12-23 17:03:24.482 [http-nio-8082-exec-3] DEBUG com.mtkj.mtpay.mapper.MtProductMapper.selectById - ==> Parameters: 1(Long)
2025-12-23 17:03:24.519 [http-nio-8082-exec-3] DEBUG com.mtkj.mtpay.mapper.MtProductMapper.selectById - <== Total: 1
2025-12-23 17:03:24.520 [http-nio-8082-exec-3] DEBUG c.mtkj.mtpay.mapper.MtProductSkuMapper.selectById - ==> Preparing: SELECT id,product_id,sku,price,currency,stock,sales_attrs,sku_image,weight,size,specification,status,create_time,update_time FROM mt_product_sku WHERE id=?
2025-12-23 17:03:24.520 [http-nio-8082-exec-3] DEBUG c.mtkj.mtpay.mapper.MtProductSkuMapper.selectById - ==> Parameters: 14(Long)
2025-12-23 17:03:24.567 [http-nio-8082-exec-3] DEBUG c.mtkj.mtpay.mapper.MtProductSkuMapper.selectById - <== Total: 1
2025-12-23 17:03:24.567 [http-nio-8082-exec-3] DEBUG com.mtkj.mtpay.util.OrderIdGenerator - 生成商户订单号: MTN17664806045675429
2025-12-23 17:03:24.568 [http-nio-8082-exec-3] DEBUG com.mtkj.mtpay.config.MyMetaObjectHandler - 开始插入填充...
2025-12-23 17:03:24.568 [http-nio-8082-exec-3] DEBUG com.mtkj.mtpay.mapper.CustomerOrderMapper.insert - ==> Preparing: INSERT INTO customer_order ( order_no, product_id, product_name, sku_id, sku_name, quantity, unit_price, total_amount, currency, original_currency, original_amount, payment_currency, payment_amount, exchange_rate, status, customer_name, customer_phone, customer_email, shipping_name, shipping_phone, shipping_country, shipping_state, shipping_city, shipping_street, shipping_postcode, payment_status, create_time, update_time ) VALUES ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ? )
2025-12-23 17:03:24.575 [http-nio-8082-exec-3] DEBUG com.mtkj.mtpay.mapper.CustomerOrderMapper.insert - ==> Parameters: MTN17664806045675429(String), 1(Long), 名创优品毛巾女2025新款洗澡男士浴巾比全棉100纯棉吸水干发成人(String), 14(Long), 【✅性价比首选】米白色+米白色+浅水灰【⭐毛巾实惠3条装】(String), 1(Integer), 85774.69(BigDecimal), 85774.69(BigDecimal), VND(String), VND(String), 85774.69(BigDecimal), VND(String), 85774.69(BigDecimal), 1(BigDecimal), PENDING(String), 邱斌(String), 18969599531(String), 18969599531@163.com(String), 邱斌(String), 18969599531(String), CN(String), 浙江省(String), 丽水市(String), 丽水市莲都区万象街道晶都步行街阿姨奶茶隔壁潮童馆(String), 323000(String), UNPAID(String), 2025-12-23T17:03:24.568058500(LocalDateTime), 2025-12-23T17:03:24.568058500(LocalDateTime)
2025-12-23 17:03:24.651 [http-nio-8082-exec-3] DEBUG com.mtkj.mtpay.mapper.CustomerOrderMapper.insert - <== Updates: 1
2025-12-23 17:03:24.651 [http-nio-8082-exec-3] INFO c.mtkj.mtpay.service.impl.CustomerOrderServiceImpl - 客户订单创建成功订单ID: 7, 订单号: MTN17664806045675429
2025-12-23 17:03:24.851 [http-nio-8082-exec-4] INFO com.mtkj.mtpay.controller.CustomerOrderController - 获取订单详情订单号MTN17664806045675429
2025-12-23 17:03:24.852 [http-nio-8082-exec-4] DEBUG c.mtkj.mtpay.service.impl.CustomerOrderServiceImpl - 查询订单,订单号: MTN17664806045675429
2025-12-23 17:03:24.854 [http-nio-8082-exec-4] DEBUG c.mtkj.mtpay.mapper.CustomerOrderMapper.selectList - ==> Preparing: SELECT id,order_no,product_id,product_name,sku_id,sku_name,quantity,unit_price,total_amount,currency,original_currency,original_amount,payment_currency,payment_amount,exchange_rate,rate_locked_at,status,customer_name,customer_phone,customer_email,shipping_name,shipping_phone,shipping_country,shipping_state,shipping_city,shipping_street,shipping_postcode,payment_order_id,payment_status,remark,create_time,update_time FROM customer_order WHERE (order_no = ?)
2025-12-23 17:03:24.854 [http-nio-8082-exec-4] DEBUG c.mtkj.mtpay.mapper.CustomerOrderMapper.selectList - ==> Parameters: MTN17664806045675429(String)
2025-12-23 17:03:24.893 [http-nio-8082-exec-4] DEBUG c.mtkj.mtpay.mapper.CustomerOrderMapper.selectList - <== Total: 1
2025-12-23 17:03:31.637 [http-nio-8082-exec-5] INFO com.mtkj.mtpay.controller.PayPalController - 创建PayPal订单请求CreatePayPalOrderRequestDTO(intent=CAPTURE, referenceId=MTN17664806045675429, amount=85774.69, currencyCode=VND, itemName=名创优品毛巾女2025新款洗澡男士浴巾比全棉100纯棉吸水干发成人, itemDescription=【✅性价比首选】米白色+米白色+浅水灰【⭐毛巾实惠3条装】, itemSku=【✅性价比首选】米白色+米白色+浅水灰【⭐毛巾实惠3条装】, itemQuantity=1, itemUnitAmount=85774.69, returnUrl=http://localhost:3000/paypal/success?orderNo=MTN17664806045675429, cancelUrl=http://localhost:3000/paypal/cancel?orderNo=MTN17664806045675429, shippingName=邱斌, shippingAddressLine1=丽水市莲都区万象街道晶都步行街阿姨奶茶隔壁潮童馆, shippingAddressLine2=null, shippingCity=丽水市, shippingState=浙江省, shippingPostalCode=323000, shippingCountryCode=CN, emailAddress=18969599531@163.com)
2025-12-23 17:03:31.637 [http-nio-8082-exec-5] INFO com.mtkj.mtpay.service.impl.PayPalServiceImpl - 货币转换85774.69 VND -> USD 3.27 (汇率: 3.811582412514102E-5)
2025-12-23 17:03:31.637 [http-nio-8082-exec-5] INFO com.mtkj.mtpay.service.impl.PayPalServiceImpl - 创建PayPal订单ERP订单号: MTN17664806045675429
2025-12-23 17:03:31.637 [http-nio-8082-exec-5] INFO com.mtkj.mtpay.service.impl.PayPalServiceImpl - 货币转换85774.69 VND -> USD 3.27 (汇率: 3.811582412514102E-5)
2025-12-23 17:03:31.637 [http-nio-8082-exec-5] INFO com.mtkj.mtpay.service.impl.PayPalServiceImpl - 货币转换85774.69 VND -> USD 3.27 (汇率: 3.811582412514102E-5)
2025-12-23 17:03:31.637 [http-nio-8082-exec-5] WARN com.mtkj.mtpay.service.impl.PayPalServiceImpl - ⚠️ 货币转换85774.69 VND -> 3.27 USD (汇率: 3.811582412514102E-5)
2025-12-23 17:03:31.638 [http-nio-8082-exec-5] INFO com.mtkj.mtpay.service.impl.PayPalServiceImpl - 货币转换85774.69 VND -> USD 3.27 (汇率: 3.811582412514102E-5)
2025-12-23 17:03:31.638 [http-nio-8082-exec-5] INFO com.mtkj.mtpay.service.impl.PayPalServiceImpl - 货币转换85774.69 VND -> USD 3.27 (汇率: 3.811582412514102E-5)
2025-12-23 17:03:32.862 [http-nio-8082-exec-5] INFO com.mtkj.mtpay.service.impl.PayPalServiceImpl - PayPal订单创建成功订单ID: 5N901603L42039013, 状态: PAYER_ACTION_REQUIRED
2025-12-23 17:03:32.862 [http-nio-8082-exec-5] INFO com.mtkj.mtpay.service.impl.PayPalServiceImpl - 货币转换信息 - 原始: 85774.69 VND, 支付: 3.27 USD (汇率: 3.811582412514102E-5)
2025-12-23 17:03:32.863 [http-nio-8082-exec-5] INFO c.mtkj.mtpay.service.impl.CustomerOrderServiceImpl - 更新订单货币转换信息,订单号: MTN17664806045675429, 原始: 85774.69 VND, 支付: 3.269372998428492 USD (汇率: 0.00003811582412514102)
2025-12-23 17:03:32.863 [http-nio-8082-exec-5] DEBUG c.mtkj.mtpay.mapper.CustomerOrderMapper.selectList - ==> Preparing: SELECT id,order_no,product_id,product_name,sku_id,sku_name,quantity,unit_price,total_amount,currency,original_currency,original_amount,payment_currency,payment_amount,exchange_rate,rate_locked_at,status,customer_name,customer_phone,customer_email,shipping_name,shipping_phone,shipping_country,shipping_state,shipping_city,shipping_street,shipping_postcode,payment_order_id,payment_status,remark,create_time,update_time FROM customer_order WHERE (order_no = ?)
2025-12-23 17:03:32.863 [http-nio-8082-exec-5] DEBUG c.mtkj.mtpay.mapper.CustomerOrderMapper.selectList - ==> Parameters: MTN17664806045675429(String)
2025-12-23 17:03:32.903 [http-nio-8082-exec-5] DEBUG c.mtkj.mtpay.mapper.CustomerOrderMapper.selectList - <== Total: 1
2025-12-23 17:03:32.904 [http-nio-8082-exec-5] DEBUG com.mtkj.mtpay.config.MyMetaObjectHandler - 开始更新填充...
2025-12-23 17:03:32.904 [http-nio-8082-exec-5] DEBUG c.mtkj.mtpay.mapper.CustomerOrderMapper.updateById - ==> Preparing: UPDATE customer_order SET order_no=?, product_id=?, product_name=?, sku_id=?, sku_name=?, quantity=?, unit_price=?, total_amount=?, currency=?, original_currency=?, original_amount=?, payment_currency=?, payment_amount=?, exchange_rate=?, rate_locked_at=?, status=?, customer_name=?, customer_phone=?, customer_email=?, shipping_name=?, shipping_phone=?, shipping_country=?, shipping_state=?, shipping_city=?, shipping_street=?, shipping_postcode=?, payment_status=?, create_time=?, update_time=? WHERE id=?
2025-12-23 17:03:32.904 [http-nio-8082-exec-5] DEBUG c.mtkj.mtpay.mapper.CustomerOrderMapper.updateById - ==> Parameters: MTN17664806045675429(String), 1(Long), 名创优品毛巾女2025新款洗澡男士浴巾比全棉100纯棉吸水干发成人(String), 14(Long), 【✅性价比首选】米白色+米白色+浅水灰【⭐毛巾实惠3条装】(String), 1(Integer), 85774.69(BigDecimal), 85774.69(BigDecimal), VND(String), VND(String), 85774.69(BigDecimal), USD(String), 3.269372998428492(BigDecimal), 0.00003811582412514102(BigDecimal), 2025-12-23T17:03:32.903716600(LocalDateTime), PENDING(String), 邱斌(String), 18969599531(String), 18969599531@163.com(String), 邱斌(String), 18969599531(String), CN(String), 浙江省(String), 丽水市(String), 丽水市莲都区万象街道晶都步行街阿姨奶茶隔壁潮童馆(String), 323000(String), UNPAID(String), 2025-12-23T17:03:25(LocalDateTime), 2025-12-23T17:03:25(LocalDateTime), 7(Long)
2025-12-23 17:03:32.981 [http-nio-8082-exec-5] DEBUG c.mtkj.mtpay.mapper.CustomerOrderMapper.updateById - <== Updates: 1
2025-12-23 17:03:32.981 [http-nio-8082-exec-5] INFO c.mtkj.mtpay.service.impl.CustomerOrderServiceImpl - 订单货币转换信息更新成功,订单号: MTN17664806045675429
2025-12-23 17:03:38.614 [http-nio-8082-exec-6] INFO com.mtkj.mtpay.controller.CustomerOrderController - 获取订单详情订单号MTN17664806045675429
2025-12-23 17:03:38.614 [http-nio-8082-exec-6] DEBUG c.mtkj.mtpay.service.impl.CustomerOrderServiceImpl - 查询订单,订单号: MTN17664806045675429
2025-12-23 17:03:38.616 [http-nio-8082-exec-6] DEBUG c.mtkj.mtpay.mapper.CustomerOrderMapper.selectList - ==> Preparing: SELECT id,order_no,product_id,product_name,sku_id,sku_name,quantity,unit_price,total_amount,currency,original_currency,original_amount,payment_currency,payment_amount,exchange_rate,rate_locked_at,status,customer_name,customer_phone,customer_email,shipping_name,shipping_phone,shipping_country,shipping_state,shipping_city,shipping_street,shipping_postcode,payment_order_id,payment_status,remark,create_time,update_time FROM customer_order WHERE (order_no = ?)
2025-12-23 17:03:38.616 [http-nio-8082-exec-6] DEBUG c.mtkj.mtpay.mapper.CustomerOrderMapper.selectList - ==> Parameters: MTN17664806045675429(String)
2025-12-23 17:03:38.654 [http-nio-8082-exec-6] DEBUG c.mtkj.mtpay.mapper.CustomerOrderMapper.selectList - <== Total: 1
2025-12-23 17:03:43.520 [http-nio-8082-exec-7] INFO com.mtkj.mtpay.controller.PayPalController - 创建PayPal订单请求CreatePayPalOrderRequestDTO(intent=CAPTURE, referenceId=MTN17664806045675429, amount=85774.69, currencyCode=VND, itemName=名创优品毛巾女2025新款洗澡男士浴巾比全棉100纯棉吸水干发成人, itemDescription=【✅性价比首选】米白色+米白色+浅水灰【⭐毛巾实惠3条装】, itemSku=【✅性价比首选】米白色+米白色+浅水灰【⭐毛巾实惠3条装】, itemQuantity=1, itemUnitAmount=85774.69, returnUrl=http://localhost:3000/paypal/success?orderNo=MTN17664806045675429, cancelUrl=http://localhost:3000/paypal/cancel?orderNo=MTN17664806045675429, shippingName=邱斌, shippingAddressLine1=丽水市莲都区万象街道晶都步行街阿姨奶茶隔壁潮童馆, shippingAddressLine2=null, shippingCity=丽水市, shippingState=浙江省, shippingPostalCode=323000, shippingCountryCode=CN, emailAddress=18969599531@163.com)
2025-12-23 17:03:43.520 [http-nio-8082-exec-7] INFO com.mtkj.mtpay.service.impl.PayPalServiceImpl - 货币转换85774.69 VND -> USD 3.27 (汇率: 3.811582412514102E-5)
2025-12-23 17:03:43.520 [http-nio-8082-exec-7] INFO com.mtkj.mtpay.service.impl.PayPalServiceImpl - 创建PayPal订单ERP订单号: MTN17664806045675429
2025-12-23 17:03:43.520 [http-nio-8082-exec-7] INFO com.mtkj.mtpay.service.impl.PayPalServiceImpl - 货币转换85774.69 VND -> USD 3.27 (汇率: 3.811582412514102E-5)
2025-12-23 17:03:43.520 [http-nio-8082-exec-7] INFO com.mtkj.mtpay.service.impl.PayPalServiceImpl - 货币转换85774.69 VND -> USD 3.27 (汇率: 3.811582412514102E-5)
2025-12-23 17:03:43.520 [http-nio-8082-exec-7] WARN com.mtkj.mtpay.service.impl.PayPalServiceImpl - ⚠️ 货币转换85774.69 VND -> 3.27 USD (汇率: 3.811582412514102E-5)
2025-12-23 17:03:43.520 [http-nio-8082-exec-7] INFO com.mtkj.mtpay.service.impl.PayPalServiceImpl - 货币转换85774.69 VND -> USD 3.27 (汇率: 3.811582412514102E-5)
2025-12-23 17:03:43.521 [http-nio-8082-exec-7] INFO com.mtkj.mtpay.service.impl.PayPalServiceImpl - 货币转换85774.69 VND -> USD 3.27 (汇率: 3.811582412514102E-5)
2025-12-23 17:03:45.041 [http-nio-8082-exec-7] INFO com.mtkj.mtpay.service.impl.PayPalServiceImpl - PayPal订单创建成功订单ID: 8PR84473WU774554W, 状态: PAYER_ACTION_REQUIRED
2025-12-23 17:03:45.043 [http-nio-8082-exec-7] INFO com.mtkj.mtpay.service.impl.PayPalServiceImpl - 货币转换信息 - 原始: 85774.69 VND, 支付: 3.27 USD (汇率: 3.811582412514102E-5)
2025-12-23 17:03:45.043 [http-nio-8082-exec-7] INFO c.mtkj.mtpay.service.impl.CustomerOrderServiceImpl - 更新订单货币转换信息,订单号: MTN17664806045675429, 原始: 85774.69 VND, 支付: 3.269372998428492 USD (汇率: 0.00003811582412514102)
2025-12-23 17:03:45.044 [http-nio-8082-exec-7] DEBUG c.mtkj.mtpay.mapper.CustomerOrderMapper.selectList - ==> Preparing: SELECT id,order_no,product_id,product_name,sku_id,sku_name,quantity,unit_price,total_amount,currency,original_currency,original_amount,payment_currency,payment_amount,exchange_rate,rate_locked_at,status,customer_name,customer_phone,customer_email,shipping_name,shipping_phone,shipping_country,shipping_state,shipping_city,shipping_street,shipping_postcode,payment_order_id,payment_status,remark,create_time,update_time FROM customer_order WHERE (order_no = ?)
2025-12-23 17:03:45.044 [http-nio-8082-exec-7] DEBUG c.mtkj.mtpay.mapper.CustomerOrderMapper.selectList - ==> Parameters: MTN17664806045675429(String)
2025-12-23 17:03:45.084 [http-nio-8082-exec-7] DEBUG c.mtkj.mtpay.mapper.CustomerOrderMapper.selectList - <== Total: 1
2025-12-23 17:03:45.084 [http-nio-8082-exec-7] DEBUG com.mtkj.mtpay.config.MyMetaObjectHandler - 开始更新填充...
2025-12-23 17:03:45.084 [http-nio-8082-exec-7] DEBUG c.mtkj.mtpay.mapper.CustomerOrderMapper.updateById - ==> Preparing: UPDATE customer_order SET order_no=?, product_id=?, product_name=?, sku_id=?, sku_name=?, quantity=?, unit_price=?, total_amount=?, currency=?, original_currency=?, original_amount=?, payment_currency=?, payment_amount=?, exchange_rate=?, rate_locked_at=?, status=?, customer_name=?, customer_phone=?, customer_email=?, shipping_name=?, shipping_phone=?, shipping_country=?, shipping_state=?, shipping_city=?, shipping_street=?, shipping_postcode=?, payment_status=?, create_time=?, update_time=? WHERE id=?
2025-12-23 17:03:45.085 [http-nio-8082-exec-7] DEBUG c.mtkj.mtpay.mapper.CustomerOrderMapper.updateById - ==> Parameters: MTN17664806045675429(String), 1(Long), 名创优品毛巾女2025新款洗澡男士浴巾比全棉100纯棉吸水干发成人(String), 14(Long), 【✅性价比首选】米白色+米白色+浅水灰【⭐毛巾实惠3条装】(String), 1(Integer), 85774.69(BigDecimal), 85774.69(BigDecimal), VND(String), VND(String), 85774.69(BigDecimal), USD(String), 3.269372998428492(BigDecimal), 0.00003811582412514102(BigDecimal), 2025-12-23T17:03:45.084578200(LocalDateTime), PENDING(String), 邱斌(String), 18969599531(String), 18969599531@163.com(String), 邱斌(String), 18969599531(String), CN(String), 浙江省(String), 丽水市(String), 丽水市莲都区万象街道晶都步行街阿姨奶茶隔壁潮童馆(String), 323000(String), UNPAID(String), 2025-12-23T17:03:25(LocalDateTime), 2025-12-23T17:03:25(LocalDateTime), 7(Long)
2025-12-23 17:03:45.159 [http-nio-8082-exec-7] DEBUG c.mtkj.mtpay.mapper.CustomerOrderMapper.updateById - <== Updates: 1
2025-12-23 17:03:45.159 [http-nio-8082-exec-7] INFO c.mtkj.mtpay.service.impl.CustomerOrderServiceImpl - 订单货币转换信息更新成功,订单号: MTN17664806045675429
2025-12-23 17:03:49.726 [http-nio-8082-exec-8] INFO com.mtkj.mtpay.controller.CustomerOrderController - 获取订单详情订单号MTN17664806045675429
2025-12-23 17:03:49.726 [http-nio-8082-exec-8] DEBUG c.mtkj.mtpay.service.impl.CustomerOrderServiceImpl - 查询订单,订单号: MTN17664806045675429
2025-12-23 17:03:49.727 [http-nio-8082-exec-8] DEBUG c.mtkj.mtpay.mapper.CustomerOrderMapper.selectList - ==> Preparing: SELECT id,order_no,product_id,product_name,sku_id,sku_name,quantity,unit_price,total_amount,currency,original_currency,original_amount,payment_currency,payment_amount,exchange_rate,rate_locked_at,status,customer_name,customer_phone,customer_email,shipping_name,shipping_phone,shipping_country,shipping_state,shipping_city,shipping_street,shipping_postcode,payment_order_id,payment_status,remark,create_time,update_time FROM customer_order WHERE (order_no = ?)
2025-12-23 17:03:49.728 [http-nio-8082-exec-8] DEBUG c.mtkj.mtpay.mapper.CustomerOrderMapper.selectList - ==> Parameters: MTN17664806045675429(String)
2025-12-23 17:03:49.766 [http-nio-8082-exec-8] DEBUG c.mtkj.mtpay.mapper.CustomerOrderMapper.selectList - <== Total: 1
2025-12-23 17:04:01.633 [http-nio-8082-exec-9] INFO com.mtkj.mtpay.controller.CustomerOrderController - 创建客户订单请求CreateCustomerOrderRequestDTO(productId=1, skuId=14, quantity=1, customerName=邱斌, customerPhone=18969599531, customerEmail=18969599531@163.com, shippingName=邱斌, shippingPhone=18969599531, shippingCountry=CN, shippingState=浙江省, shippingCity=丽水市, shippingStreet=丽水市莲都区万象街道晶都步行街阿姨奶茶隔壁潮童馆, shippingPostcode=323000, remark=null)
2025-12-23 17:04:01.673 [http-nio-8082-exec-9] INFO c.mtkj.mtpay.service.impl.CustomerOrderServiceImpl - 创建客户订单商品ID: 1, SKU ID: 14, 数量: 1
2025-12-23 17:04:01.673 [http-nio-8082-exec-9] DEBUG com.mtkj.mtpay.mapper.MtProductMapper.selectById - ==> Preparing: SELECT id,name,price,main_image,status,shop_id,create_time,update_time FROM mt_product WHERE id=?
2025-12-23 17:04:01.673 [http-nio-8082-exec-9] DEBUG com.mtkj.mtpay.mapper.MtProductMapper.selectById - ==> Parameters: 1(Long)
2025-12-23 17:04:01.711 [http-nio-8082-exec-9] DEBUG com.mtkj.mtpay.mapper.MtProductMapper.selectById - <== Total: 1
2025-12-23 17:04:01.711 [http-nio-8082-exec-9] DEBUG c.mtkj.mtpay.mapper.MtProductSkuMapper.selectById - ==> Preparing: SELECT id,product_id,sku,price,currency,stock,sales_attrs,sku_image,weight,size,specification,status,create_time,update_time FROM mt_product_sku WHERE id=?
2025-12-23 17:04:01.712 [http-nio-8082-exec-9] DEBUG c.mtkj.mtpay.mapper.MtProductSkuMapper.selectById - ==> Parameters: 14(Long)
2025-12-23 17:04:01.751 [http-nio-8082-exec-9] DEBUG c.mtkj.mtpay.mapper.MtProductSkuMapper.selectById - <== Total: 1
2025-12-23 17:04:01.751 [http-nio-8082-exec-9] DEBUG com.mtkj.mtpay.util.OrderIdGenerator - 生成商户订单号: MTN17664806417517040
2025-12-23 17:04:01.752 [http-nio-8082-exec-9] DEBUG com.mtkj.mtpay.config.MyMetaObjectHandler - 开始插入填充...
2025-12-23 17:04:01.752 [http-nio-8082-exec-9] DEBUG com.mtkj.mtpay.mapper.CustomerOrderMapper.insert - ==> Preparing: INSERT INTO customer_order ( order_no, product_id, product_name, sku_id, sku_name, quantity, unit_price, total_amount, currency, original_currency, original_amount, payment_currency, payment_amount, exchange_rate, status, customer_name, customer_phone, customer_email, shipping_name, shipping_phone, shipping_country, shipping_state, shipping_city, shipping_street, shipping_postcode, payment_status, create_time, update_time ) VALUES ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ? )
2025-12-23 17:04:01.752 [http-nio-8082-exec-9] DEBUG com.mtkj.mtpay.mapper.CustomerOrderMapper.insert - ==> Parameters: MTN17664806417517040(String), 1(Long), 名创优品毛巾女2025新款洗澡男士浴巾比全棉100纯棉吸水干发成人(String), 14(Long), 【✅性价比首选】米白色+米白色+浅水灰【⭐毛巾实惠3条装】(String), 1(Integer), 85774.69(BigDecimal), 85774.69(BigDecimal), VND(String), VND(String), 85774.69(BigDecimal), VND(String), 85774.69(BigDecimal), 1(BigDecimal), PENDING(String), 邱斌(String), 18969599531(String), 18969599531@163.com(String), 邱斌(String), 18969599531(String), CN(String), 浙江省(String), 丽水市(String), 丽水市莲都区万象街道晶都步行街阿姨奶茶隔壁潮童馆(String), 323000(String), UNPAID(String), 2025-12-23T17:04:01.752024600(LocalDateTime), 2025-12-23T17:04:01.752024600(LocalDateTime)
2025-12-23 17:04:01.832 [http-nio-8082-exec-9] DEBUG com.mtkj.mtpay.mapper.CustomerOrderMapper.insert - <== Updates: 1
2025-12-23 17:04:01.832 [http-nio-8082-exec-9] INFO c.mtkj.mtpay.service.impl.CustomerOrderServiceImpl - 客户订单创建成功订单ID: 8, 订单号: MTN17664806417517040
2025-12-23 17:04:02.035 [http-nio-8082-exec-10] INFO com.mtkj.mtpay.controller.CustomerOrderController - 获取订单详情订单号MTN17664806417517040
2025-12-23 17:04:02.035 [http-nio-8082-exec-10] DEBUG c.mtkj.mtpay.service.impl.CustomerOrderServiceImpl - 查询订单,订单号: MTN17664806417517040
2025-12-23 17:04:02.036 [http-nio-8082-exec-10] DEBUG c.mtkj.mtpay.mapper.CustomerOrderMapper.selectList - ==> Preparing: SELECT id,order_no,product_id,product_name,sku_id,sku_name,quantity,unit_price,total_amount,currency,original_currency,original_amount,payment_currency,payment_amount,exchange_rate,rate_locked_at,status,customer_name,customer_phone,customer_email,shipping_name,shipping_phone,shipping_country,shipping_state,shipping_city,shipping_street,shipping_postcode,payment_order_id,payment_status,remark,create_time,update_time FROM customer_order WHERE (order_no = ?)
2025-12-23 17:04:02.036 [http-nio-8082-exec-10] DEBUG c.mtkj.mtpay.mapper.CustomerOrderMapper.selectList - ==> Parameters: MTN17664806417517040(String)
2025-12-23 17:04:02.107 [http-nio-8082-exec-10] DEBUG c.mtkj.mtpay.mapper.CustomerOrderMapper.selectList - <== Total: 1
2025-12-23 17:06:44.410 [http-nio-8082-exec-1] INFO com.mtkj.mtpay.controller.CustomerOrderController - 获取订单详情订单号MTN17664806417517040
2025-12-23 17:06:44.411 [http-nio-8082-exec-1] DEBUG c.mtkj.mtpay.service.impl.CustomerOrderServiceImpl - 查询订单,订单号: MTN17664806417517040
2025-12-23 17:06:44.447 [http-nio-8082-exec-1] DEBUG c.mtkj.mtpay.mapper.CustomerOrderMapper.selectList - ==> Preparing: SELECT id,order_no,product_id,product_name,sku_id,sku_name,quantity,unit_price,total_amount,currency,original_currency,original_amount,payment_currency,payment_amount,exchange_rate,rate_locked_at,status,customer_name,customer_phone,customer_email,shipping_name,shipping_phone,shipping_country,shipping_state,shipping_city,shipping_street,shipping_postcode,payment_order_id,payment_status,remark,create_time,update_time FROM customer_order WHERE (order_no = ?)
2025-12-23 17:06:44.447 [http-nio-8082-exec-1] DEBUG c.mtkj.mtpay.mapper.CustomerOrderMapper.selectList - ==> Parameters: MTN17664806417517040(String)
2025-12-23 17:06:44.485 [http-nio-8082-exec-1] DEBUG c.mtkj.mtpay.mapper.CustomerOrderMapper.selectList - <== Total: 1
2025-12-23 17:06:47.904 [http-nio-8082-exec-2] INFO com.mtkj.mtpay.controller.CustomerOrderController - 获取订单详情订单号MTN17664806417517040
2025-12-23 17:06:47.904 [http-nio-8082-exec-2] DEBUG c.mtkj.mtpay.service.impl.CustomerOrderServiceImpl - 查询订单,订单号: MTN17664806417517040
2025-12-23 17:06:47.906 [http-nio-8082-exec-2] DEBUG c.mtkj.mtpay.mapper.CustomerOrderMapper.selectList - ==> Preparing: SELECT id,order_no,product_id,product_name,sku_id,sku_name,quantity,unit_price,total_amount,currency,original_currency,original_amount,payment_currency,payment_amount,exchange_rate,rate_locked_at,status,customer_name,customer_phone,customer_email,shipping_name,shipping_phone,shipping_country,shipping_state,shipping_city,shipping_street,shipping_postcode,payment_order_id,payment_status,remark,create_time,update_time FROM customer_order WHERE (order_no = ?)
2025-12-23 17:06:47.906 [http-nio-8082-exec-2] DEBUG c.mtkj.mtpay.mapper.CustomerOrderMapper.selectList - ==> Parameters: MTN17664806417517040(String)
2025-12-23 17:06:47.955 [http-nio-8082-exec-2] DEBUG c.mtkj.mtpay.mapper.CustomerOrderMapper.selectList - <== Total: 1
2025-12-23 17:06:54.483 [http-nio-8082-exec-3] INFO com.mtkj.mtpay.controller.CustomerOrderController - 获取订单详情订单号MTN17664806417517040
2025-12-23 17:06:54.483 [http-nio-8082-exec-3] DEBUG c.mtkj.mtpay.service.impl.CustomerOrderServiceImpl - 查询订单,订单号: MTN17664806417517040
2025-12-23 17:06:54.485 [http-nio-8082-exec-3] DEBUG c.mtkj.mtpay.mapper.CustomerOrderMapper.selectList - ==> Preparing: SELECT id,order_no,product_id,product_name,sku_id,sku_name,quantity,unit_price,total_amount,currency,original_currency,original_amount,payment_currency,payment_amount,exchange_rate,rate_locked_at,status,customer_name,customer_phone,customer_email,shipping_name,shipping_phone,shipping_country,shipping_state,shipping_city,shipping_street,shipping_postcode,payment_order_id,payment_status,remark,create_time,update_time FROM customer_order WHERE (order_no = ?)
2025-12-23 17:06:54.485 [http-nio-8082-exec-3] DEBUG c.mtkj.mtpay.mapper.CustomerOrderMapper.selectList - ==> Parameters: MTN17664806417517040(String)
2025-12-23 17:06:54.526 [http-nio-8082-exec-3] DEBUG c.mtkj.mtpay.mapper.CustomerOrderMapper.selectList - <== Total: 1
2025-12-23 17:06:54.545 [http-nio-8082-exec-4] ERROR com.mtkj.mtpay.exception.GlobalExceptionHandler - 系统异常
org.springframework.web.HttpRequestMethodNotSupportedException: Request method 'POST' is not supported
at org.springframework.web.servlet.mvc.method.RequestMappingInfoHandlerMapping.handleNoMatch(RequestMappingInfoHandlerMapping.java:265)
at org.springframework.web.servlet.handler.AbstractHandlerMethodMapping.lookupHandlerMethod(AbstractHandlerMethodMapping.java:441)
at org.springframework.web.servlet.handler.AbstractHandlerMethodMapping.getHandlerInternal(AbstractHandlerMethodMapping.java:382)
at org.springframework.web.servlet.mvc.method.RequestMappingInfoHandlerMapping.getHandlerInternal(RequestMappingInfoHandlerMapping.java:126)
at org.springframework.web.servlet.mvc.method.RequestMappingInfoHandlerMapping.getHandlerInternal(RequestMappingInfoHandlerMapping.java:68)
at org.springframework.web.servlet.handler.AbstractHandlerMapping.getHandler(AbstractHandlerMapping.java:507)
at org.springframework.web.servlet.DispatcherServlet.getHandler(DispatcherServlet.java:1283)
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1065)
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:979)
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1014)
at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:914)
at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:590)
at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:885)
at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:658)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:205)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:149)
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:51)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:174)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:149)
at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:174)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:149)
at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:174)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:149)
at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:174)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:149)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:167)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:90)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:482)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:115)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:93)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:340)
at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:391)
at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63)
at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:896)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1744)
at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52)
at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191)
at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.base/java.lang.Thread.run(Thread.java:842)
2025-12-23 17:06:54.547 [http-nio-8082-exec-4] WARN o.s.w.s.m.m.a.ExceptionHandlerExceptionResolver - Resolved [org.springframework.web.HttpRequestMethodNotSupportedException: Request method 'POST' is not supported]
2025-12-23 17:07:40.517 [http-nio-8082-exec-5] INFO com.mtkj.mtpay.controller.CustomerOrderController - 创建客户订单请求CreateCustomerOrderRequestDTO(productId=1, skuId=14, quantity=1, customerName=邱斌, customerPhone=18969599531, customerEmail=18969599531@163.com, shippingName=邱斌, shippingPhone=18969599531, shippingCountry=CN, shippingState=浙江省, shippingCity=丽水市, shippingStreet=丽水市莲都区万象街道晶都步行街阿姨奶茶隔壁潮童馆, shippingPostcode=323000, remark=null)
2025-12-23 17:07:40.556 [http-nio-8082-exec-5] INFO c.mtkj.mtpay.service.impl.CustomerOrderServiceImpl - 创建客户订单商品ID: 1, SKU ID: 14, 数量: 1
2025-12-23 17:07:40.557 [http-nio-8082-exec-5] DEBUG com.mtkj.mtpay.mapper.MtProductMapper.selectById - ==> Preparing: SELECT id,name,price,main_image,status,shop_id,create_time,update_time FROM mt_product WHERE id=?
2025-12-23 17:07:40.557 [http-nio-8082-exec-5] DEBUG com.mtkj.mtpay.mapper.MtProductMapper.selectById - ==> Parameters: 1(Long)
2025-12-23 17:07:40.598 [http-nio-8082-exec-5] DEBUG com.mtkj.mtpay.mapper.MtProductMapper.selectById - <== Total: 1
2025-12-23 17:07:40.598 [http-nio-8082-exec-5] DEBUG c.mtkj.mtpay.mapper.MtProductSkuMapper.selectById - ==> Preparing: SELECT id,product_id,sku,price,currency,stock,sales_attrs,sku_image,weight,size,specification,status,create_time,update_time FROM mt_product_sku WHERE id=?
2025-12-23 17:07:40.598 [http-nio-8082-exec-5] DEBUG c.mtkj.mtpay.mapper.MtProductSkuMapper.selectById - ==> Parameters: 14(Long)
2025-12-23 17:07:40.638 [http-nio-8082-exec-5] DEBUG c.mtkj.mtpay.mapper.MtProductSkuMapper.selectById - <== Total: 1
2025-12-23 17:07:40.638 [http-nio-8082-exec-5] DEBUG com.mtkj.mtpay.util.OrderIdGenerator - 生成商户订单号: MTN17664808606381071
2025-12-23 17:07:40.640 [http-nio-8082-exec-5] DEBUG com.mtkj.mtpay.config.MyMetaObjectHandler - 开始插入填充...
2025-12-23 17:07:40.640 [http-nio-8082-exec-5] DEBUG com.mtkj.mtpay.mapper.CustomerOrderMapper.insert - ==> Preparing: INSERT INTO customer_order ( order_no, product_id, product_name, sku_id, sku_name, quantity, unit_price, total_amount, currency, original_currency, original_amount, payment_currency, payment_amount, exchange_rate, status, customer_name, customer_phone, customer_email, shipping_name, shipping_phone, shipping_country, shipping_state, shipping_city, shipping_street, shipping_postcode, payment_status, create_time, update_time ) VALUES ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ? )
2025-12-23 17:07:40.640 [http-nio-8082-exec-5] DEBUG com.mtkj.mtpay.mapper.CustomerOrderMapper.insert - ==> Parameters: MTN17664808606381071(String), 1(Long), 名创优品毛巾女2025新款洗澡男士浴巾比全棉100纯棉吸水干发成人(String), 14(Long), 【✅性价比首选】米白色+米白色+浅水灰【⭐毛巾实惠3条装】(String), 1(Integer), 85774.69(BigDecimal), 85774.69(BigDecimal), VND(String), VND(String), 85774.69(BigDecimal), VND(String), 85774.69(BigDecimal), 1(BigDecimal), PENDING(String), 邱斌(String), 18969599531(String), 18969599531@163.com(String), 邱斌(String), 18969599531(String), CN(String), 浙江省(String), 丽水市(String), 丽水市莲都区万象街道晶都步行街阿姨奶茶隔壁潮童馆(String), 323000(String), UNPAID(String), 2025-12-23T17:07:40.640373100(LocalDateTime), 2025-12-23T17:07:40.640373100(LocalDateTime)
2025-12-23 17:07:40.726 [http-nio-8082-exec-5] DEBUG com.mtkj.mtpay.mapper.CustomerOrderMapper.insert - <== Updates: 1
2025-12-23 17:07:40.726 [http-nio-8082-exec-5] INFO c.mtkj.mtpay.service.impl.CustomerOrderServiceImpl - 客户订单创建成功订单ID: 9, 订单号: MTN17664808606381071
2025-12-23 17:07:40.870 [http-nio-8082-exec-6] INFO com.mtkj.mtpay.controller.CustomerOrderController - 获取订单详情订单号MTN17664808606381071
2025-12-23 17:07:40.870 [http-nio-8082-exec-6] DEBUG c.mtkj.mtpay.service.impl.CustomerOrderServiceImpl - 查询订单,订单号: MTN17664808606381071
2025-12-23 17:07:40.870 [http-nio-8082-exec-6] DEBUG c.mtkj.mtpay.mapper.CustomerOrderMapper.selectList - ==> Preparing: SELECT id,order_no,product_id,product_name,sku_id,sku_name,quantity,unit_price,total_amount,currency,original_currency,original_amount,payment_currency,payment_amount,exchange_rate,rate_locked_at,status,customer_name,customer_phone,customer_email,shipping_name,shipping_phone,shipping_country,shipping_state,shipping_city,shipping_street,shipping_postcode,payment_order_id,payment_status,remark,create_time,update_time FROM customer_order WHERE (order_no = ?)
2025-12-23 17:07:40.870 [http-nio-8082-exec-6] DEBUG c.mtkj.mtpay.mapper.CustomerOrderMapper.selectList - ==> Parameters: MTN17664808606381071(String)
2025-12-23 17:07:40.909 [http-nio-8082-exec-6] DEBUG c.mtkj.mtpay.mapper.CustomerOrderMapper.selectList - <== Total: 1
2025-12-23 17:07:40.917 [http-nio-8082-exec-7] ERROR com.mtkj.mtpay.exception.GlobalExceptionHandler - 系统异常
org.springframework.web.HttpRequestMethodNotSupportedException: Request method 'POST' is not supported
at org.springframework.web.servlet.mvc.method.RequestMappingInfoHandlerMapping.handleNoMatch(RequestMappingInfoHandlerMapping.java:265)
at org.springframework.web.servlet.handler.AbstractHandlerMethodMapping.lookupHandlerMethod(AbstractHandlerMethodMapping.java:441)
at org.springframework.web.servlet.handler.AbstractHandlerMethodMapping.getHandlerInternal(AbstractHandlerMethodMapping.java:382)
at org.springframework.web.servlet.mvc.method.RequestMappingInfoHandlerMapping.getHandlerInternal(RequestMappingInfoHandlerMapping.java:126)
at org.springframework.web.servlet.mvc.method.RequestMappingInfoHandlerMapping.getHandlerInternal(RequestMappingInfoHandlerMapping.java:68)
at org.springframework.web.servlet.handler.AbstractHandlerMapping.getHandler(AbstractHandlerMapping.java:507)
at org.springframework.web.servlet.DispatcherServlet.getHandler(DispatcherServlet.java:1283)
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1065)
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:979)
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1014)
at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:914)
at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:590)
at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:885)
at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:658)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:205)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:149)
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:51)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:174)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:149)
at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:174)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:149)
at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:174)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:149)
at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:174)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:149)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:167)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:90)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:482)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:115)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:93)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:340)
at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:391)
at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63)
at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:896)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1744)
at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52)
at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191)
at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.base/java.lang.Thread.run(Thread.java:842)
2025-12-23 17:07:40.917 [http-nio-8082-exec-7] WARN o.s.w.s.m.m.a.ExceptionHandlerExceptionResolver - Resolved [org.springframework.web.HttpRequestMethodNotSupportedException: Request method 'POST' is not supported]
2025-12-23 17:08:41.343 [Thread-8] INFO org.apache.coyote.http11.Http11NioProtocol - Stopping ProtocolHandler ["http-nio-8082"]
2025-12-23 17:08:41.454 [restartedMain] INFO com.mtkj.mtkjpay.MtkjpayApplication -
╔══════════════════════════════════════════════════════════╗
║ ║
║ MTKJ PAY 支付系统正在启动... ║
║ ║
╚══════════════════════════════════════════════════════════╝
2025-12-23 17:08:41.515 [restartedMain] INFO com.mtkj.mtkjpay.MtkjpayApplication - Starting MtkjpayApplication using Java 17.0.12 with PID 28732 (E:\MTKJPAY\mt-startup\target\classes started by 18969 in E:\MTKJPAY)
2025-12-23 17:08:41.515 [restartedMain] INFO com.mtkj.mtkjpay.MtkjpayApplication - The following 1 profile is active: "dev"
2025-12-23 17:08:42.038 [restartedMain] INFO org.apache.coyote.http11.Http11NioProtocol - Initializing ProtocolHandler ["http-nio-8082"]
2025-12-23 17:08:42.038 [restartedMain] INFO org.apache.catalina.core.StandardService - Starting service [Tomcat]
2025-12-23 17:08:42.038 [restartedMain] INFO org.apache.catalina.core.StandardEngine - Starting Servlet engine: [Apache Tomcat/10.1.16]
2025-12-23 17:08:42.072 [restartedMain] INFO o.a.c.core.ContainerBase.[Tomcat].[localhost].[/] - Initializing Spring embedded WebApplicationContext
2025-12-23 17:08:42.083 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - ═══════════════════════════════════════════════════════════
2025-12-23 17:08:42.083 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - PayPal配置加载验证:
2025-12-23 17:08:42.083 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Client ID: ✅ 已配置 (AdGYUZpvLuHR30dybOAp...)
2025-12-23 17:08:42.083 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Client Secret: ✅ 已配置 (ENblspyRmwsOU_PWFurl...)
2025-12-23 17:08:42.083 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Mode: sandbox
2025-12-23 17:08:42.083 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Enabled: true
2025-12-23 17:08:42.083 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Base URL: https://api-m.sandbox.paypal.com
2025-12-23 17:08:42.083 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - ═══════════════════════════════════════════════════════════
2025-12-23 17:08:42.091 [restartedMain] INFO com.mtkj.mtpay.config.MyBatisPlusConfig - 初始化MyBatis-Plus分页插件数据库类型: MYSQL
2025-12-23 17:08:42.092 [restartedMain] INFO com.mtkj.mtpay.config.MyBatisPlusConfig - MyBatis-Plus分页插件配置完成
2025-12-23 17:08:42.094 [restartedMain] INFO com.mtkj.mtpay.config.DruidDataSourceConfig - 初始化Druid主数据源
2025-12-23 17:08:42.094 [restartedMain] INFO com.mtkj.mtpay.config.DruidDataSourceConfig - 配置属性 - URL: jdbc:mysql://rm-j6c3u06k2afwn8hxw6o.mysql.rds.aliyuncs.com:3306/mtpay?useUnicode=true&characterEncoding=utf-8&useSSL=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai, Username: mtkj2025
2025-12-23 17:08:42.094 [restartedMain] INFO com.mtkj.mtpay.config.DruidDataSourceConfig - Druid主数据源配置完成URL: jdbc:mysql://rm-j6c3u06k2afwn8hxw6o.mysql.rds.aliyuncs.com:3306/mtpay?useUnicode=true&characterEncoding=utf-8&useSSL=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai
2025-12-23 17:08:42.531 [restartedMain] INFO com.mtkj.mtpay.config.RestClientConfig - 初始化RestClient配置JSON消息转换器
2025-12-23 17:08:42.535 [restartedMain] INFO com.mtkj.mtpay.config.RestClientConfig - RestClient配置完成
2025-12-23 17:08:42.602 [restartedMain] INFO com.mtkj.mtpay.config.WebConfig - 配置跨域访问,路径: /api/**, 允许所有来源
2025-12-23 17:08:42.602 [restartedMain] INFO com.mtkj.mtpay.config.WebConfig - 跨域配置完成
2025-12-23 17:08:42.716 [restartedMain] INFO org.apache.coyote.http11.Http11NioProtocol - Starting ProtocolHandler ["http-nio-8082"]
2025-12-23 17:08:42.722 [restartedMain] INFO com.mtkj.mtkjpay.MtkjpayApplication - Started MtkjpayApplication in 1.262 seconds (process running for 703.533)
2025-12-23 17:08:42.725 [restartedMain] INFO com.mtkj.mtkjpay.MtkjpayApplication -
╔══════════════════════════════════════════════════════════╗
║ ║
║ ✅ MTKJ PAY 支付系统启动成功! ✅ ║
║ ║
╠══════════════════════════════════════════════════════════╣
║ 应用信息 ║
╠══════════════════════════════════════════════════════════╣
║ 应用名称: {:<45} ║
║ 运行环境: {:<45} ║
║ 服务端口: {:<45} ║
╠══════════════════════════════════════════════════════════╣
║ 访问地址 ║
╠══════════════════════════════════════════════════════════╣
║ 后端服务: {:<45} ║
║ API接口: {:<45} ║
║ Druid监控: {:<45} ║
╠══════════════════════════════════════════════════════════╣
║ 状态: 🟢 服务运行中,可以接收请求 ║
╚══════════════════════════════════════════════════════════╝
2025-12-23 17:08:42.729 [restartedMain] INFO com.mtkj.mtkjpay.MtkjpayApplication -
📌 提示:
- 前端代理地址: http://localhost:3000
- 后端API地址: http://localhost:8082//api
- 图片上传接口: http://localhost:8082//api/product/upload/image
- 商品管理接口: http://localhost:8082//api/product
2025-12-23 17:10:20.716 [background-preinit] INFO org.hibernate.validator.internal.util.Version - HV000001: Hibernate Validator 8.0.1.Final
2025-12-23 17:10:20.751 [restartedMain] INFO com.mtkj.mtkjpay.MtkjpayApplication - Starting MtkjpayApplication using Java 17.0.12 with PID 29372 (E:\MTKJPAY\mt-startup\target\classes started by 18969 in E:\MTKJPAY)
2025-12-23 17:10:20.752 [restartedMain] INFO com.mtkj.mtkjpay.MtkjpayApplication - The following 1 profile is active: "dev"
2025-12-23 17:10:21.842 [restartedMain] INFO org.apache.coyote.http11.Http11NioProtocol - Initializing ProtocolHandler ["http-nio-8082"]
2025-12-23 17:10:21.845 [restartedMain] INFO org.apache.catalina.core.StandardService - Starting service [Tomcat]
2025-12-23 17:10:21.845 [restartedMain] INFO org.apache.catalina.core.StandardEngine - Starting Servlet engine: [Apache Tomcat/10.1.16]
2025-12-23 17:10:21.889 [restartedMain] INFO o.a.c.core.ContainerBase.[Tomcat].[localhost].[/] - Initializing Spring embedded WebApplicationContext
2025-12-23 17:10:21.941 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - ═══════════════════════════════════════════════════════════
2025-12-23 17:10:21.941 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - PayPal配置加载验证:
2025-12-23 17:10:21.941 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Client ID: ✅ 已配置 (AdGYUZpvLuHR30dybOAp...)
2025-12-23 17:10:21.941 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Client Secret: ✅ 已配置 (ENblspyRmwsOU_PWFurl...)
2025-12-23 17:10:21.941 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Mode: sandbox
2025-12-23 17:10:21.941 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Enabled: true
2025-12-23 17:10:21.942 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - - Base URL: https://api-m.sandbox.paypal.com
2025-12-23 17:10:21.942 [restartedMain] INFO com.mtkj.mtpay.config.PayPalProperties - ═══════════════════════════════════════════════════════════
2025-12-23 17:10:21.956 [restartedMain] INFO com.mtkj.mtpay.config.MyBatisPlusConfig - 初始化MyBatis-Plus分页插件数据库类型: MYSQL
2025-12-23 17:10:21.959 [restartedMain] INFO com.mtkj.mtpay.config.MyBatisPlusConfig - MyBatis-Plus分页插件配置完成
2025-12-23 17:10:21.963 [restartedMain] INFO com.mtkj.mtpay.config.DruidDataSourceConfig - 初始化Druid主数据源
2025-12-23 17:10:21.964 [restartedMain] INFO com.mtkj.mtpay.config.DruidDataSourceConfig - 配置属性 - URL: jdbc:mysql://rm-j6c3u06k2afwn8hxw6o.mysql.rds.aliyuncs.com:3306/mtpay?useUnicode=true&characterEncoding=utf-8&useSSL=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai, Username: mtkj2025
2025-12-23 17:10:21.982 [restartedMain] INFO com.mtkj.mtpay.config.DruidDataSourceConfig - Druid主数据源配置完成URL: jdbc:mysql://rm-j6c3u06k2afwn8hxw6o.mysql.rds.aliyuncs.com:3306/mtpay?useUnicode=true&characterEncoding=utf-8&useSSL=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai
2025-12-23 17:10:22.433 [restartedMain] INFO com.mtkj.mtpay.config.RestClientConfig - 初始化RestClient配置JSON消息转换器
2025-12-23 17:10:22.542 [restartedMain] INFO com.mtkj.mtpay.config.RestClientConfig - RestClient配置完成
2025-12-23 17:10:22.626 [restartedMain] INFO com.mtkj.mtpay.config.WebConfig - 配置跨域访问,路径: /api/**, 允许所有来源
2025-12-23 17:10:22.627 [restartedMain] INFO com.mtkj.mtpay.config.WebConfig - 跨域配置完成
2025-12-23 17:10:22.891 [restartedMain] INFO org.apache.coyote.http11.Http11NioProtocol - Starting ProtocolHandler ["http-nio-8082"]
2025-12-23 17:10:22.908 [restartedMain] INFO com.mtkj.mtkjpay.MtkjpayApplication - Started MtkjpayApplication in 2.679 seconds (process running for 3.597)
2025-12-23 17:10:22.911 [restartedMain] INFO com.mtkj.mtkjpay.MtkjpayApplication -
╔══════════════════════════════════════════════════════════╗
║ ║
║ ✅ MTKJ PAY 支付系统启动成功! ✅ ║
║ ║
╠══════════════════════════════════════════════════════════╣
║ 应用信息 ║
╠══════════════════════════════════════════════════════════╣
║ 应用名称: {:<45} ║
║ 运行环境: {:<45} ║
║ 服务端口: {:<45} ║
╠══════════════════════════════════════════════════════════╣
║ 访问地址 ║
╠══════════════════════════════════════════════════════════╣
║ 后端服务: {:<45} ║
║ API接口: {:<45} ║
║ Druid监控: {:<45} ║
╠══════════════════════════════════════════════════════════╣
║ 状态: 🟢 服务运行中,可以接收请求 ║
╚══════════════════════════════════════════════════════════╝
2025-12-23 17:10:22.911 [restartedMain] INFO com.mtkj.mtkjpay.MtkjpayApplication -
📌 提示:
- 前端代理地址: http://localhost:3000
- 后端API地址: http://localhost:8082//api
- 图片上传接口: http://localhost:8082//api/product/upload/image
- 商品管理接口: http://localhost:8082//api/product
2025-12-23 17:10:22.913 [main] ERROR com.mtkj.mtkjpay.MtkjpayApplication -
╔══════════════════════════════════════════════════════════╗
║ ║
║ ❌ MTKJ PAY 支付系统启动失败! ❌ ║
║ ║
╚══════════════════════════════════════════════════════════╝
org.springframework.boot.devtools.restart.SilentExitExceptionHandler$SilentExitException: null
at org.springframework.boot.devtools.restart.SilentExitExceptionHandler.exitCurrentThread(SilentExitExceptionHandler.java:92)
at org.springframework.boot.devtools.restart.Restarter.immediateRestart(Restarter.java:179)
at org.springframework.boot.devtools.restart.Restarter.initialize(Restarter.java:163)
at org.springframework.boot.devtools.restart.Restarter.initialize(Restarter.java:532)
at org.springframework.boot.devtools.restart.RestartApplicationListener.onApplicationStartingEvent(RestartApplicationListener.java:98)
at org.springframework.boot.devtools.restart.RestartApplicationListener.onApplicationEvent(RestartApplicationListener.java:51)
at org.springframework.context.event.SimpleApplicationEventMulticaster.doInvokeListener(SimpleApplicationEventMulticaster.java:178)
at org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:171)
at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:149)
at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:137)
at org.springframework.boot.context.event.EventPublishingRunListener.multicastInitialEvent(EventPublishingRunListener.java:136)
at org.springframework.boot.context.event.EventPublishingRunListener.starting(EventPublishingRunListener.java:75)
at org.springframework.boot.SpringApplicationRunListeners.lambda$starting$0(SpringApplicationRunListeners.java:54)
at java.base/java.lang.Iterable.forEach(Iterable.java:75)
at org.springframework.boot.SpringApplicationRunListeners.doWithListeners(SpringApplicationRunListeners.java:118)
at org.springframework.boot.SpringApplicationRunListeners.starting(SpringApplicationRunListeners.java:54)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:315)
at com.mtkj.mtkjpay.MtkjpayApplication.main(MtkjpayApplication.java:33)
2025-12-23 17:10:57.425 [http-nio-8082-exec-1] INFO o.a.c.core.ContainerBase.[Tomcat].[localhost].[/] - Initializing Spring DispatcherServlet 'dispatcherServlet'
2025-12-23 17:10:57.456 [http-nio-8082-exec-1] INFO com.mtkj.mtpay.controller.CustomerOrderController - 获取订单详情订单号MTN17664808606381071
2025-12-23 17:10:57.457 [http-nio-8082-exec-1] DEBUG c.mtkj.mtpay.service.impl.CustomerOrderServiceImpl - 查询订单,订单号: MTN17664808606381071
2025-12-23 17:11:01.675 [http-nio-8082-exec-1] DEBUG c.mtkj.mtpay.mapper.CustomerOrderMapper.selectList - ==> Preparing: SELECT id,order_no,product_id,product_name,sku_id,sku_name,quantity,unit_price,total_amount,currency,original_currency,original_amount,payment_currency,payment_amount,exchange_rate,rate_locked_at,status,customer_name,customer_phone,customer_email,shipping_name,shipping_phone,shipping_country,shipping_state,shipping_city,shipping_street,shipping_postcode,payment_order_id,payment_status,remark,create_time,update_time FROM customer_order WHERE (order_no = ?)
2025-12-23 17:11:01.693 [http-nio-8082-exec-1] DEBUG c.mtkj.mtpay.mapper.CustomerOrderMapper.selectList - ==> Parameters: MTN17664808606381071(String)
2025-12-23 17:11:01.755 [http-nio-8082-exec-1] DEBUG c.mtkj.mtpay.mapper.CustomerOrderMapper.selectList - <== Total: 1
2025-12-23 17:11:01.912 [http-nio-8082-exec-2] INFO com.mtkj.mtpay.controller.CustomerOrderController - 计算订单货币转换信息订单号MTN17664808606381071原始货币VND原始金额85774.69
2025-12-23 17:11:01.913 [http-nio-8082-exec-2] INFO c.mtkj.mtpay.service.impl.ExchangeRateServiceImpl - 刷新汇率缓存...
2025-12-23 17:11:02.947 [http-nio-8082-exec-2] INFO c.mtkj.mtpay.service.impl.ExchangeRateServiceImpl - 汇率缓存刷新成功,共 166 种货币
2025-12-23 17:11:02.947 [http-nio-8082-exec-2] DEBUG c.mtkj.mtpay.service.impl.ExchangeRateServiceImpl - 示例汇率 - MYR: 4.078, CNY: 7.0465, EUR: 0.851
2025-12-23 17:11:02.948 [http-nio-8082-exec-2] INFO com.mtkj.mtpay.controller.CustomerOrderController - 货币转换85774.69 VND -> 3.269372998428492 USD (汇率: 0.00003811582412514102)
2025-12-23 17:11:02.958 [http-nio-8082-exec-2] INFO c.mtkj.mtpay.service.impl.CustomerOrderServiceImpl - 更新订单货币转换信息,订单号: MTN17664808606381071, 原始: 85774.69 VND, 支付: 3.269372998428492 USD (汇率: 0.00003811582412514102)
2025-12-23 17:11:02.960 [http-nio-8082-exec-2] DEBUG c.mtkj.mtpay.mapper.CustomerOrderMapper.selectList - ==> Preparing: SELECT id,order_no,product_id,product_name,sku_id,sku_name,quantity,unit_price,total_amount,currency,original_currency,original_amount,payment_currency,payment_amount,exchange_rate,rate_locked_at,status,customer_name,customer_phone,customer_email,shipping_name,shipping_phone,shipping_country,shipping_state,shipping_city,shipping_street,shipping_postcode,payment_order_id,payment_status,remark,create_time,update_time FROM customer_order WHERE (order_no = ?)
2025-12-23 17:11:02.961 [http-nio-8082-exec-2] DEBUG c.mtkj.mtpay.mapper.CustomerOrderMapper.selectList - ==> Parameters: MTN17664808606381071(String)
2025-12-23 17:11:03.042 [http-nio-8082-exec-2] DEBUG c.mtkj.mtpay.mapper.CustomerOrderMapper.selectList - <== Total: 1
2025-12-23 17:11:03.052 [http-nio-8082-exec-2] DEBUG com.mtkj.mtpay.config.MyMetaObjectHandler - 开始更新填充...
2025-12-23 17:11:03.053 [http-nio-8082-exec-2] DEBUG c.mtkj.mtpay.mapper.CustomerOrderMapper.updateById - ==> Preparing: UPDATE customer_order SET order_no=?, product_id=?, product_name=?, sku_id=?, sku_name=?, quantity=?, unit_price=?, total_amount=?, currency=?, original_currency=?, original_amount=?, payment_currency=?, payment_amount=?, exchange_rate=?, rate_locked_at=?, status=?, customer_name=?, customer_phone=?, customer_email=?, shipping_name=?, shipping_phone=?, shipping_country=?, shipping_state=?, shipping_city=?, shipping_street=?, shipping_postcode=?, payment_status=?, create_time=?, update_time=? WHERE id=?
2025-12-23 17:11:03.054 [http-nio-8082-exec-2] DEBUG c.mtkj.mtpay.mapper.CustomerOrderMapper.updateById - ==> Parameters: MTN17664808606381071(String), 1(Long), 名创优品毛巾女2025新款洗澡男士浴巾比全棉100纯棉吸水干发成人(String), 14(Long), 【✅性价比首选】米白色+米白色+浅水灰【⭐毛巾实惠3条装】(String), 1(Integer), 85774.69(BigDecimal), 85774.69(BigDecimal), VND(String), VND(String), 85774.69(BigDecimal), USD(String), 3.269372998428492(BigDecimal), 0.00003811582412514102(BigDecimal), 2025-12-23T17:11:03.042756400(LocalDateTime), PENDING(String), 邱斌(String), 18969599531(String), 18969599531@163.com(String), 邱斌(String), 18969599531(String), CN(String), 浙江省(String), 丽水市(String), 丽水市莲都区万象街道晶都步行街阿姨奶茶隔壁潮童馆(String), 323000(String), UNPAID(String), 2025-12-23T17:07:41(LocalDateTime), 2025-12-23T17:07:41(LocalDateTime), 9(Long)
2025-12-23 17:11:03.179 [http-nio-8082-exec-2] DEBUG c.mtkj.mtpay.mapper.CustomerOrderMapper.updateById - <== Updates: 1
2025-12-23 17:11:03.179 [http-nio-8082-exec-2] INFO c.mtkj.mtpay.service.impl.CustomerOrderServiceImpl - 订单货币转换信息更新成功,订单号: MTN17664808606381071
2025-12-23 17:11:03.179 [http-nio-8082-exec-2] INFO com.mtkj.mtpay.controller.CustomerOrderController - 订单货币转换信息已更新订单号MTN17664808606381071
2025-12-23 17:18:22.780 [http-nio-8082-exec-3] INFO com.mtkj.mtpay.controller.PayPalController - 创建PayPal订单请求CreatePayPalOrderRequestDTO(intent=CAPTURE, referenceId=MTN17664808606381071, amount=85774.69, currencyCode=VND, itemName=名创优品毛巾女2025新款洗澡男士浴巾比全棉100纯棉吸水干发成人, itemDescription=【✅性价比首选】米白色+米白色+浅水灰【⭐毛巾实惠3条装】, itemSku=【✅性价比首选】米白色+米白色+浅水灰【⭐毛巾实惠3条装】, itemQuantity=1, itemUnitAmount=85774.69, returnUrl=http://localhost:3000/paypal/success?orderNo=MTN17664808606381071, cancelUrl=http://localhost:3000/paypal/cancel?orderNo=MTN17664808606381071, shippingName=邱斌, shippingAddressLine1=丽水市莲都区万象街道晶都步行街阿姨奶茶隔壁潮童馆, shippingAddressLine2=null, shippingCity=丽水市, shippingState=浙江省, shippingPostalCode=323000, shippingCountryCode=CN, emailAddress=18969599531@163.com)
2025-12-23 17:18:22.791 [http-nio-8082-exec-3] INFO com.mtkj.mtpay.service.impl.PayPalServiceImpl - 货币转换85774.69 VND -> USD 3.27 (汇率: 3.811582412514102E-5)
2025-12-23 17:18:22.791 [http-nio-8082-exec-3] INFO com.mtkj.mtpay.service.impl.PayPalServiceImpl - 创建PayPal订单ERP订单号: MTN17664808606381071
2025-12-23 17:18:22.791 [http-nio-8082-exec-3] INFO com.mtkj.mtpay.service.impl.PayPalServiceImpl - 获取PayPal访问令牌
2025-12-23 17:18:22.791 [http-nio-8082-exec-3] DEBUG com.mtkj.mtpay.service.impl.PayPalServiceImpl - PayPal配置检查 - Client ID: AdGYUZpvLuHR30dybOAp..., Client Secret: ENblspyRmwsOU_PWFurl...
2025-12-23 17:18:23.653 [http-nio-8082-exec-3] INFO com.mtkj.mtpay.service.impl.PayPalServiceImpl - PayPal访问令牌获取成功
2025-12-23 17:18:23.654 [http-nio-8082-exec-3] INFO com.mtkj.mtpay.service.impl.PayPalServiceImpl - 货币转换85774.69 VND -> USD 3.27 (汇率: 3.811582412514102E-5)
2025-12-23 17:18:23.654 [http-nio-8082-exec-3] INFO com.mtkj.mtpay.service.impl.PayPalServiceImpl - 货币转换85774.69 VND -> USD 3.27 (汇率: 3.811582412514102E-5)
2025-12-23 17:18:23.654 [http-nio-8082-exec-3] WARN com.mtkj.mtpay.service.impl.PayPalServiceImpl - ⚠️ 货币转换85774.69 VND -> 3.27 USD (汇率: 3.811582412514102E-5)
2025-12-23 17:18:23.655 [http-nio-8082-exec-3] INFO com.mtkj.mtpay.service.impl.PayPalServiceImpl - 货币转换85774.69 VND -> USD 3.27 (汇率: 3.811582412514102E-5)
2025-12-23 17:18:23.655 [http-nio-8082-exec-3] INFO com.mtkj.mtpay.service.impl.PayPalServiceImpl - 货币转换85774.69 VND -> USD 3.27 (汇率: 3.811582412514102E-5)
2025-12-23 17:18:24.580 [http-nio-8082-exec-3] INFO com.mtkj.mtpay.service.impl.PayPalServiceImpl - PayPal订单创建成功订单ID: 5KD99986JH443340E, 状态: PAYER_ACTION_REQUIRED
2025-12-23 17:18:24.580 [http-nio-8082-exec-3] INFO com.mtkj.mtpay.service.impl.PayPalServiceImpl - 货币转换信息 - 原始: 85774.69 VND, 支付: 3.27 USD (汇率: 3.811582412514102E-5)
2025-12-23 17:18:24.581 [http-nio-8082-exec-3] INFO c.mtkj.mtpay.service.impl.CustomerOrderServiceImpl - 更新订单货币转换信息,订单号: MTN17664808606381071, 原始: 85774.69 VND, 支付: 3.269372998428492 USD (汇率: 0.00003811582412514102)
2025-12-23 17:18:24.634 [http-nio-8082-exec-3] DEBUG c.mtkj.mtpay.mapper.CustomerOrderMapper.selectList - ==> Preparing: SELECT id,order_no,product_id,product_name,sku_id,sku_name,quantity,unit_price,total_amount,currency,original_currency,original_amount,payment_currency,payment_amount,exchange_rate,rate_locked_at,status,customer_name,customer_phone,customer_email,shipping_name,shipping_phone,shipping_country,shipping_state,shipping_city,shipping_street,shipping_postcode,payment_order_id,payment_status,remark,create_time,update_time FROM customer_order WHERE (order_no = ?)
2025-12-23 17:18:24.634 [http-nio-8082-exec-3] DEBUG c.mtkj.mtpay.mapper.CustomerOrderMapper.selectList - ==> Parameters: MTN17664808606381071(String)
2025-12-23 17:18:24.683 [http-nio-8082-exec-3] DEBUG c.mtkj.mtpay.mapper.CustomerOrderMapper.selectList - <== Total: 1
2025-12-23 17:18:24.684 [http-nio-8082-exec-3] DEBUG com.mtkj.mtpay.config.MyMetaObjectHandler - 开始更新填充...
2025-12-23 17:18:24.685 [http-nio-8082-exec-3] DEBUG c.mtkj.mtpay.mapper.CustomerOrderMapper.updateById - ==> Preparing: UPDATE customer_order SET order_no=?, product_id=?, product_name=?, sku_id=?, sku_name=?, quantity=?, unit_price=?, total_amount=?, currency=?, original_currency=?, original_amount=?, payment_currency=?, payment_amount=?, exchange_rate=?, rate_locked_at=?, status=?, customer_name=?, customer_phone=?, customer_email=?, shipping_name=?, shipping_phone=?, shipping_country=?, shipping_state=?, shipping_city=?, shipping_street=?, shipping_postcode=?, payment_status=?, create_time=?, update_time=? WHERE id=?
2025-12-23 17:18:24.685 [http-nio-8082-exec-3] DEBUG c.mtkj.mtpay.mapper.CustomerOrderMapper.updateById - ==> Parameters: MTN17664808606381071(String), 1(Long), 名创优品毛巾女2025新款洗澡男士浴巾比全棉100纯棉吸水干发成人(String), 14(Long), 【✅性价比首选】米白色+米白色+浅水灰【⭐毛巾实惠3条装】(String), 1(Integer), 85774.69(BigDecimal), 85774.69(BigDecimal), VND(String), VND(String), 85774.69(BigDecimal), USD(String), 3.269372998428492(BigDecimal), 0.00003811582412514102(BigDecimal), 2025-12-23T17:18:24.683470500(LocalDateTime), PENDING(String), 邱斌(String), 18969599531(String), 18969599531@163.com(String), 邱斌(String), 18969599531(String), CN(String), 浙江省(String), 丽水市(String), 丽水市莲都区万象街道晶都步行街阿姨奶茶隔壁潮童馆(String), 323000(String), UNPAID(String), 2025-12-23T17:07:41(LocalDateTime), 2025-12-23T17:07:41(LocalDateTime), 9(Long)
2025-12-23 17:18:24.759 [http-nio-8082-exec-3] DEBUG c.mtkj.mtpay.mapper.CustomerOrderMapper.updateById - <== Updates: 1
2025-12-23 17:18:24.759 [http-nio-8082-exec-3] INFO c.mtkj.mtpay.service.impl.CustomerOrderServiceImpl - 订单货币转换信息更新成功,订单号: MTN17664808606381071
2025-12-23 17:18:43.253 [http-nio-8082-exec-4] INFO com.mtkj.mtpay.controller.CustomerOrderController - 获取订单详情订单号MTN17664808606381071
2025-12-23 17:18:43.253 [http-nio-8082-exec-4] DEBUG c.mtkj.mtpay.service.impl.CustomerOrderServiceImpl - 查询订单,订单号: MTN17664808606381071
2025-12-23 17:18:43.254 [http-nio-8082-exec-4] DEBUG c.mtkj.mtpay.mapper.CustomerOrderMapper.selectList - ==> Preparing: SELECT id,order_no,product_id,product_name,sku_id,sku_name,quantity,unit_price,total_amount,currency,original_currency,original_amount,payment_currency,payment_amount,exchange_rate,rate_locked_at,status,customer_name,customer_phone,customer_email,shipping_name,shipping_phone,shipping_country,shipping_state,shipping_city,shipping_street,shipping_postcode,payment_order_id,payment_status,remark,create_time,update_time FROM customer_order WHERE (order_no = ?)
2025-12-23 17:18:43.254 [http-nio-8082-exec-4] DEBUG c.mtkj.mtpay.mapper.CustomerOrderMapper.selectList - ==> Parameters: MTN17664808606381071(String)
2025-12-23 17:18:43.292 [http-nio-8082-exec-4] DEBUG c.mtkj.mtpay.mapper.CustomerOrderMapper.selectList - <== Total: 1
2025-12-23 17:18:43.305 [http-nio-8082-exec-5] INFO com.mtkj.mtpay.controller.PayPalController - 查询PayPal订单订单ID5KD99986JH443340E
2025-12-23 17:18:43.305 [http-nio-8082-exec-5] INFO com.mtkj.mtpay.service.impl.PayPalServiceImpl - 查询PayPal订单订单ID: 5KD99986JH443340E
2025-12-23 17:18:43.937 [http-nio-8082-exec-5] INFO com.mtkj.mtpay.service.impl.PayPalServiceImpl - 查询PayPal订单成功订单ID: 5KD99986JH443340E, 状态: APPROVED
2025-12-23 17:18:43.953 [http-nio-8082-exec-6] INFO com.mtkj.mtpay.controller.PayPalController - 捕获PayPal订单订单ID5KD99986JH443340E, ERP订单号MTN17664808606381071
2025-12-23 17:18:43.955 [http-nio-8082-exec-6] INFO com.mtkj.mtpay.service.impl.PayPalServiceImpl - 捕获PayPal订单订单ID: 5KD99986JH443340E
2025-12-23 17:18:45.118 [http-nio-8082-exec-6] INFO com.mtkj.mtpay.service.impl.PayPalServiceImpl - 捕获PayPal订单成功订单ID: 5KD99986JH443340E, 状态: COMPLETED
2025-12-23 17:18:45.118 [http-nio-8082-exec-6] INFO c.mtkj.mtpay.service.impl.CustomerOrderServiceImpl - 更新订单支付状态,订单号: MTN17664808606381071, 支付状态: PAID, 支付订单ID: null
2025-12-23 17:18:45.120 [http-nio-8082-exec-6] DEBUG c.mtkj.mtpay.mapper.CustomerOrderMapper.selectList - ==> Preparing: SELECT id,order_no,product_id,product_name,sku_id,sku_name,quantity,unit_price,total_amount,currency,original_currency,original_amount,payment_currency,payment_amount,exchange_rate,rate_locked_at,status,customer_name,customer_phone,customer_email,shipping_name,shipping_phone,shipping_country,shipping_state,shipping_city,shipping_street,shipping_postcode,payment_order_id,payment_status,remark,create_time,update_time FROM customer_order WHERE (order_no = ?)
2025-12-23 17:18:45.120 [http-nio-8082-exec-6] DEBUG c.mtkj.mtpay.mapper.CustomerOrderMapper.selectList - ==> Parameters: MTN17664808606381071(String)
2025-12-23 17:18:45.159 [http-nio-8082-exec-6] DEBUG c.mtkj.mtpay.mapper.CustomerOrderMapper.selectList - <== Total: 1
2025-12-23 17:18:45.160 [http-nio-8082-exec-6] DEBUG com.mtkj.mtpay.config.MyMetaObjectHandler - 开始更新填充...
2025-12-23 17:18:45.160 [http-nio-8082-exec-6] DEBUG c.mtkj.mtpay.mapper.CustomerOrderMapper.updateById - ==> Preparing: UPDATE customer_order SET order_no=?, product_id=?, product_name=?, sku_id=?, sku_name=?, quantity=?, unit_price=?, total_amount=?, currency=?, original_currency=?, original_amount=?, payment_currency=?, payment_amount=?, exchange_rate=?, rate_locked_at=?, status=?, customer_name=?, customer_phone=?, customer_email=?, shipping_name=?, shipping_phone=?, shipping_country=?, shipping_state=?, shipping_city=?, shipping_street=?, shipping_postcode=?, payment_status=?, create_time=?, update_time=? WHERE id=?
2025-12-23 17:18:45.161 [http-nio-8082-exec-6] DEBUG c.mtkj.mtpay.mapper.CustomerOrderMapper.updateById - ==> Parameters: MTN17664808606381071(String), 1(Long), 名创优品毛巾女2025新款洗澡男士浴巾比全棉100纯棉吸水干发成人(String), 14(Long), 【✅性价比首选】米白色+米白色+浅水灰【⭐毛巾实惠3条装】(String), 1(Integer), 85774.69(BigDecimal), 85774.69(BigDecimal), VND(String), VND(String), 85774.69(BigDecimal), USD(String), 3.27(BigDecimal), 0.000038(BigDecimal), 2025-12-23T17:18:25(LocalDateTime), PAID(String), 邱斌(String), 18969599531(String), 18969599531@163.com(String), 邱斌(String), 18969599531(String), CN(String), 浙江省(String), 丽水市(String), 丽水市莲都区万象街道晶都步行街阿姨奶茶隔壁潮童馆(String), 323000(String), PAID(String), 2025-12-23T17:07:41(LocalDateTime), 2025-12-23T17:07:41(LocalDateTime), 9(Long)
2025-12-23 17:18:45.237 [http-nio-8082-exec-6] DEBUG c.mtkj.mtpay.mapper.CustomerOrderMapper.updateById - <== Updates: 1
2025-12-23 17:18:45.237 [http-nio-8082-exec-6] INFO c.mtkj.mtpay.service.impl.CustomerOrderServiceImpl - 订单支付状态更新成功,订单号: MTN17664808606381071
2025-12-23 17:18:45.237 [http-nio-8082-exec-6] INFO com.mtkj.mtpay.controller.PayPalController - ERP订单支付状态已更新订单号MTN17664808606381071
2025-12-23 17:18:45.250 [http-nio-8082-exec-7] INFO com.mtkj.mtpay.controller.CustomerOrderController - 获取订单详情订单号MTN17664808606381071
2025-12-23 17:18:45.250 [http-nio-8082-exec-7] DEBUG c.mtkj.mtpay.service.impl.CustomerOrderServiceImpl - 查询订单,订单号: MTN17664808606381071
2025-12-23 17:18:45.251 [http-nio-8082-exec-7] DEBUG c.mtkj.mtpay.mapper.CustomerOrderMapper.selectList - ==> Preparing: SELECT id,order_no,product_id,product_name,sku_id,sku_name,quantity,unit_price,total_amount,currency,original_currency,original_amount,payment_currency,payment_amount,exchange_rate,rate_locked_at,status,customer_name,customer_phone,customer_email,shipping_name,shipping_phone,shipping_country,shipping_state,shipping_city,shipping_street,shipping_postcode,payment_order_id,payment_status,remark,create_time,update_time FROM customer_order WHERE (order_no = ?)
2025-12-23 17:18:45.252 [http-nio-8082-exec-7] DEBUG c.mtkj.mtpay.mapper.CustomerOrderMapper.selectList - ==> Parameters: MTN17664808606381071(String)
2025-12-23 17:18:45.292 [http-nio-8082-exec-7] DEBUG c.mtkj.mtpay.mapper.CustomerOrderMapper.selectList - <== Total: 1
2025-12-23 17:18:48.402 [http-nio-8082-exec-8] INFO com.mtkj.mtpay.controller.CustomerOrderController - 获取订单详情订单号MTN17664808606381071
2025-12-23 17:18:48.403 [http-nio-8082-exec-8] DEBUG c.mtkj.mtpay.service.impl.CustomerOrderServiceImpl - 查询订单,订单号: MTN17664808606381071
2025-12-23 17:18:48.404 [http-nio-8082-exec-8] DEBUG c.mtkj.mtpay.mapper.CustomerOrderMapper.selectList - ==> Preparing: SELECT id,order_no,product_id,product_name,sku_id,sku_name,quantity,unit_price,total_amount,currency,original_currency,original_amount,payment_currency,payment_amount,exchange_rate,rate_locked_at,status,customer_name,customer_phone,customer_email,shipping_name,shipping_phone,shipping_country,shipping_state,shipping_city,shipping_street,shipping_postcode,payment_order_id,payment_status,remark,create_time,update_time FROM customer_order WHERE (order_no = ?)
2025-12-23 17:18:48.404 [http-nio-8082-exec-8] DEBUG c.mtkj.mtpay.mapper.CustomerOrderMapper.selectList - ==> Parameters: MTN17664808606381071(String)
2025-12-23 17:18:48.443 [http-nio-8082-exec-8] DEBUG c.mtkj.mtpay.mapper.CustomerOrderMapper.selectList - <== Total: 1
2025-12-23 17:18:52.103 [http-nio-8082-exec-9] INFO com.mtkj.mtpay.controller.CustomerOrderController - 获取订单详情订单号MTN17664808606381071
2025-12-23 17:18:52.104 [http-nio-8082-exec-9] DEBUG c.mtkj.mtpay.service.impl.CustomerOrderServiceImpl - 查询订单,订单号: MTN17664808606381071
2025-12-23 17:18:52.105 [http-nio-8082-exec-9] DEBUG c.mtkj.mtpay.mapper.CustomerOrderMapper.selectList - ==> Preparing: SELECT id,order_no,product_id,product_name,sku_id,sku_name,quantity,unit_price,total_amount,currency,original_currency,original_amount,payment_currency,payment_amount,exchange_rate,rate_locked_at,status,customer_name,customer_phone,customer_email,shipping_name,shipping_phone,shipping_country,shipping_state,shipping_city,shipping_street,shipping_postcode,payment_order_id,payment_status,remark,create_time,update_time FROM customer_order WHERE (order_no = ?)
2025-12-23 17:18:52.106 [http-nio-8082-exec-9] DEBUG c.mtkj.mtpay.mapper.CustomerOrderMapper.selectList - ==> Parameters: MTN17664808606381071(String)
2025-12-23 17:18:52.143 [http-nio-8082-exec-9] DEBUG c.mtkj.mtpay.mapper.CustomerOrderMapper.selectList - <== Total: 1
2025-12-23 17:18:52.152 [http-nio-8082-exec-10] INFO com.mtkj.mtpay.controller.PayPalController - 查询PayPal订单订单ID5KD99986JH443340E
2025-12-23 17:18:52.152 [http-nio-8082-exec-10] INFO com.mtkj.mtpay.service.impl.PayPalServiceImpl - 查询PayPal订单订单ID: 5KD99986JH443340E
2025-12-23 17:18:53.098 [http-nio-8082-exec-10] INFO com.mtkj.mtpay.service.impl.PayPalServiceImpl - 查询PayPal订单成功订单ID: 5KD99986JH443340E, 状态: COMPLETED
2025-12-23 17:18:57.270 [http-nio-8082-exec-1] INFO com.mtkj.mtpay.controller.ProductController - 获取商品列表
2025-12-23 17:18:57.270 [http-nio-8082-exec-1] DEBUG com.mtkj.mtpay.service.impl.ProductServiceImpl - 查询商品列表
2025-12-23 17:18:57.273 [http-nio-8082-exec-1] DEBUG com.mtkj.mtpay.mapper.MtProductMapper.selectList - ==> Preparing: SELECT id,name,price,main_image,status,shop_id,create_time,update_time FROM mt_product WHERE (status <> ?) ORDER BY create_time DESC
2025-12-23 17:18:57.274 [http-nio-8082-exec-1] DEBUG com.mtkj.mtpay.mapper.MtProductMapper.selectList - ==> Parameters: DELETED(String)
2025-12-23 17:18:57.313 [http-nio-8082-exec-1] DEBUG com.mtkj.mtpay.mapper.MtProductMapper.selectList - <== Total: 1
2025-12-23 17:18:57.313 [http-nio-8082-exec-1] DEBUG com.mtkj.mtpay.service.impl.ProductServiceImpl - 查询到商品数量: 1
2025-12-23 17:18:57.317 [http-nio-8082-exec-1] DEBUG c.mtkj.mtpay.mapper.MtProductSkuMapper.selectList - ==> Preparing: SELECT id,product_id,sku,price,currency,stock,sales_attrs,sku_image,weight,size,specification,status,create_time,update_time FROM mt_product_sku WHERE (product_id = ?)
2025-12-23 17:18:57.317 [http-nio-8082-exec-1] DEBUG c.mtkj.mtpay.mapper.MtProductSkuMapper.selectList - ==> Parameters: 1(Long)
2025-12-23 17:18:57.356 [http-nio-8082-exec-1] DEBUG c.mtkj.mtpay.mapper.MtProductSkuMapper.selectList - <== Total: 15
2025-12-23 17:18:57.358 [http-nio-8082-exec-1] INFO com.mtkj.mtpay.service.impl.ProductServiceImpl - 获取商品列表成功,商品数量: 1
2025-12-23 17:18:57.376 [http-nio-8082-exec-2] INFO com.mtkj.mtpay.controller.ProductController - 获取商品URL商品ID1
2025-12-23 17:18:57.376 [http-nio-8082-exec-2] DEBUG com.mtkj.mtpay.service.impl.ProductServiceImpl - 获取商品URL商品ID: 1
2025-12-23 17:18:57.378 [http-nio-8082-exec-2] DEBUG com.mtkj.mtpay.mapper.MtProductMapper.selectById - ==> Preparing: SELECT id,name,price,main_image,status,shop_id,create_time,update_time FROM mt_product WHERE id=?
2025-12-23 17:18:57.378 [http-nio-8082-exec-2] DEBUG com.mtkj.mtpay.mapper.MtProductMapper.selectById - ==> Parameters: 1(Long)
2025-12-23 17:18:57.414 [http-nio-8082-exec-2] DEBUG com.mtkj.mtpay.mapper.MtProductMapper.selectById - <== Total: 1
2025-12-23 17:18:57.456 [http-nio-8082-exec-2] DEBUG c.mtkj.mtpay.service.impl.ProductLinkServiceImpl - 创建或获取商品链接商品ID: 1, 有效期: 90天
2025-12-23 17:18:57.460 [http-nio-8082-exec-2] DEBUG c.mtkj.mtpay.mapper.MtProductLinkMapper.selectList - ==> Preparing: SELECT id,product_id,link_code,full_url,expire_days,expire_time,status,create_time,update_time FROM mt_product_link WHERE (product_id = ? AND status = ? AND expire_time > ?) ORDER BY create_time DESC LIMIT 1
2025-12-23 17:18:57.460 [http-nio-8082-exec-2] DEBUG c.mtkj.mtpay.mapper.MtProductLinkMapper.selectList - ==> Parameters: 1(Long), ACTIVE(String), 2025-12-23T17:18:57.457668800(LocalDateTime)
2025-12-23 17:18:57.499 [http-nio-8082-exec-2] DEBUG c.mtkj.mtpay.mapper.MtProductLinkMapper.selectList - <== Total: 1
2025-12-23 17:18:57.499 [http-nio-8082-exec-2] DEBUG c.mtkj.mtpay.service.impl.ProductLinkServiceImpl - 找到现有有效链接,链接码: 3582a1dfbb174d84aac9f465b7180b50, 商品ID: 1
2025-12-23 17:18:57.577 [http-nio-8082-exec-2] INFO com.mtkj.mtpay.service.impl.ProductServiceImpl - 获取商品URL成功商品ID: 1, 链接码: 3582a1dfbb174d84aac9f465b7180b50, URL: http://localhost:3000/product/3582a1dfbb174d84aac9f465b7180b50
2025-12-23 17:19:42.264 [http-nio-8082-exec-3] INFO com.mtkj.mtpay.controller.ProductController - 获取商品列表
2025-12-23 17:19:42.264 [http-nio-8082-exec-3] DEBUG com.mtkj.mtpay.service.impl.ProductServiceImpl - 查询商品列表
2025-12-23 17:19:42.265 [http-nio-8082-exec-3] DEBUG com.mtkj.mtpay.mapper.MtProductMapper.selectList - ==> Preparing: SELECT id,name,price,main_image,status,shop_id,create_time,update_time FROM mt_product WHERE (status <> ?) ORDER BY create_time DESC
2025-12-23 17:19:42.267 [http-nio-8082-exec-3] DEBUG com.mtkj.mtpay.mapper.MtProductMapper.selectList - ==> Parameters: DELETED(String)
2025-12-23 17:19:42.304 [http-nio-8082-exec-3] DEBUG com.mtkj.mtpay.mapper.MtProductMapper.selectList - <== Total: 1
2025-12-23 17:19:42.304 [http-nio-8082-exec-3] DEBUG com.mtkj.mtpay.service.impl.ProductServiceImpl - 查询到商品数量: 1
2025-12-23 17:19:42.305 [http-nio-8082-exec-3] DEBUG c.mtkj.mtpay.mapper.MtProductSkuMapper.selectList - ==> Preparing: SELECT id,product_id,sku,price,currency,stock,sales_attrs,sku_image,weight,size,specification,status,create_time,update_time FROM mt_product_sku WHERE (product_id = ?)
2025-12-23 17:19:42.306 [http-nio-8082-exec-3] DEBUG c.mtkj.mtpay.mapper.MtProductSkuMapper.selectList - ==> Parameters: 1(Long)
2025-12-23 17:19:42.351 [http-nio-8082-exec-3] DEBUG c.mtkj.mtpay.mapper.MtProductSkuMapper.selectList - <== Total: 15
2025-12-23 17:19:42.359 [http-nio-8082-exec-3] INFO com.mtkj.mtpay.service.impl.ProductServiceImpl - 获取商品列表成功,商品数量: 1
2025-12-23 17:19:42.373 [http-nio-8082-exec-4] INFO com.mtkj.mtpay.controller.ProductController - 获取商品URL商品ID1
2025-12-23 17:19:42.373 [http-nio-8082-exec-4] DEBUG com.mtkj.mtpay.service.impl.ProductServiceImpl - 获取商品URL商品ID: 1
2025-12-23 17:19:42.373 [http-nio-8082-exec-4] DEBUG com.mtkj.mtpay.mapper.MtProductMapper.selectById - ==> Preparing: SELECT id,name,price,main_image,status,shop_id,create_time,update_time FROM mt_product WHERE id=?
2025-12-23 17:19:42.373 [http-nio-8082-exec-4] DEBUG com.mtkj.mtpay.mapper.MtProductMapper.selectById - ==> Parameters: 1(Long)
2025-12-23 17:19:42.415 [http-nio-8082-exec-4] DEBUG com.mtkj.mtpay.mapper.MtProductMapper.selectById - <== Total: 1
2025-12-23 17:19:42.451 [http-nio-8082-exec-4] DEBUG c.mtkj.mtpay.service.impl.ProductLinkServiceImpl - 创建或获取商品链接商品ID: 1, 有效期: 90天
2025-12-23 17:19:42.452 [http-nio-8082-exec-4] DEBUG c.mtkj.mtpay.mapper.MtProductLinkMapper.selectList - ==> Preparing: SELECT id,product_id,link_code,full_url,expire_days,expire_time,status,create_time,update_time FROM mt_product_link WHERE (product_id = ? AND status = ? AND expire_time > ?) ORDER BY create_time DESC LIMIT 1
2025-12-23 17:19:42.453 [http-nio-8082-exec-4] DEBUG c.mtkj.mtpay.mapper.MtProductLinkMapper.selectList - ==> Parameters: 1(Long), ACTIVE(String), 2025-12-23T17:19:42.451281(LocalDateTime)
2025-12-23 17:19:42.491 [http-nio-8082-exec-4] DEBUG c.mtkj.mtpay.mapper.MtProductLinkMapper.selectList - <== Total: 1
2025-12-23 17:19:42.493 [http-nio-8082-exec-4] DEBUG c.mtkj.mtpay.service.impl.ProductLinkServiceImpl - 找到现有有效链接,链接码: 3582a1dfbb174d84aac9f465b7180b50, 商品ID: 1
2025-12-23 17:19:42.592 [http-nio-8082-exec-4] INFO com.mtkj.mtpay.service.impl.ProductServiceImpl - 获取商品URL成功商品ID: 1, 链接码: 3582a1dfbb174d84aac9f465b7180b50, URL: http://localhost:3000/product/3582a1dfbb174d84aac9f465b7180b50
2025-12-23 17:23:40.845 [http-nio-8082-exec-5] INFO com.mtkj.mtpay.controller.ProductController - 根据链接码获取商品详情链接码3582a1dfbb174d84aac9f465b7180b50
2025-12-23 17:23:40.846 [http-nio-8082-exec-5] DEBUG com.mtkj.mtpay.service.impl.ProductServiceImpl - 根据链接码获取商品ID链接码: 3582a1dfbb174d84aac9f465b7180b50
2025-12-23 17:23:40.846 [http-nio-8082-exec-5] DEBUG c.mtkj.mtpay.service.impl.ProductLinkServiceImpl - 根据链接码获取商品链接,链接码: 3582a1dfbb174d84aac9f465b7180b50
2025-12-23 17:23:40.892 [http-nio-8082-exec-5] DEBUG c.mtkj.mtpay.mapper.MtProductLinkMapper.selectList - ==> Preparing: SELECT id,product_id,link_code,full_url,expire_days,expire_time,status,create_time,update_time FROM mt_product_link WHERE (link_code = ?) LIMIT 1
2025-12-23 17:23:40.892 [http-nio-8082-exec-5] DEBUG c.mtkj.mtpay.mapper.MtProductLinkMapper.selectList - ==> Parameters: 3582a1dfbb174d84aac9f465b7180b50(String)
2025-12-23 17:23:40.934 [http-nio-8082-exec-5] DEBUG c.mtkj.mtpay.mapper.MtProductLinkMapper.selectList - <== Total: 1
2025-12-23 17:23:40.934 [http-nio-8082-exec-5] DEBUG com.mtkj.mtpay.service.impl.ProductServiceImpl - 根据链接码获取商品ID成功链接码: 3582a1dfbb174d84aac9f465b7180b50, 商品ID: 1
2025-12-23 17:23:40.934 [http-nio-8082-exec-5] DEBUG com.mtkj.mtpay.service.impl.ProductServiceImpl - 查询商品详情商品ID: 1
2025-12-23 17:23:40.934 [http-nio-8082-exec-5] DEBUG com.mtkj.mtpay.mapper.MtProductMapper.selectById - ==> Preparing: SELECT id,name,price,main_image,status,shop_id,create_time,update_time FROM mt_product WHERE id=?
2025-12-23 17:23:40.935 [http-nio-8082-exec-5] DEBUG com.mtkj.mtpay.mapper.MtProductMapper.selectById - ==> Parameters: 1(Long)
2025-12-23 17:23:40.972 [http-nio-8082-exec-5] DEBUG com.mtkj.mtpay.mapper.MtProductMapper.selectById - <== Total: 1
2025-12-23 17:23:40.975 [http-nio-8082-exec-5] DEBUG c.mtkj.mtpay.mapper.MtProductSkuMapper.selectList - ==> Preparing: SELECT id,product_id,sku,price,currency,stock,sales_attrs,sku_image,weight,size,specification,status,create_time,update_time FROM mt_product_sku WHERE (product_id = ? AND status = ?)
2025-12-23 17:23:40.975 [http-nio-8082-exec-5] DEBUG c.mtkj.mtpay.mapper.MtProductSkuMapper.selectList - ==> Parameters: 1(Long), ACTIVE(String)
2025-12-23 17:23:41.019 [http-nio-8082-exec-5] DEBUG c.mtkj.mtpay.mapper.MtProductSkuMapper.selectList - <== Total: 15
2025-12-23 17:23:41.019 [http-nio-8082-exec-5] DEBUG com.mtkj.mtpay.service.impl.ProductServiceImpl - 查询到商品SKU数量: 15, 商品ID: 1
2025-12-23 17:23:41.020 [http-nio-8082-exec-5] DEBUG com.mtkj.mtpay.service.impl.ProductServiceImpl - 解析商品主图(多图),数量: 5
2025-12-23 17:23:41.020 [http-nio-8082-exec-5] INFO com.mtkj.mtpay.service.impl.ProductServiceImpl - 获取商品详情成功商品ID: 1, 商品名称: 名创优品毛巾女2025新款洗澡男士浴巾比全棉100纯棉吸水干发成人, SKU数量: 15, 主图数量: 5
2025-12-23 17:30:29.334 [http-nio-8082-exec-6] INFO com.mtkj.mtpay.controller.ProductController - 根据链接码获取商品详情链接码3582a1dfbb174d84aac9f465b7180b50
2025-12-23 17:30:29.334 [http-nio-8082-exec-6] DEBUG com.mtkj.mtpay.service.impl.ProductServiceImpl - 根据链接码获取商品ID链接码: 3582a1dfbb174d84aac9f465b7180b50
2025-12-23 17:30:29.334 [http-nio-8082-exec-6] DEBUG c.mtkj.mtpay.service.impl.ProductLinkServiceImpl - 根据链接码获取商品链接,链接码: 3582a1dfbb174d84aac9f465b7180b50
2025-12-23 17:30:29.374 [http-nio-8082-exec-6] DEBUG c.mtkj.mtpay.mapper.MtProductLinkMapper.selectList - ==> Preparing: SELECT id,product_id,link_code,full_url,expire_days,expire_time,status,create_time,update_time FROM mt_product_link WHERE (link_code = ?) LIMIT 1
2025-12-23 17:30:29.374 [http-nio-8082-exec-6] DEBUG c.mtkj.mtpay.mapper.MtProductLinkMapper.selectList - ==> Parameters: 3582a1dfbb174d84aac9f465b7180b50(String)
2025-12-23 17:30:29.661 [http-nio-8082-exec-6] DEBUG c.mtkj.mtpay.mapper.MtProductLinkMapper.selectList - <== Total: 1
2025-12-23 17:30:29.661 [http-nio-8082-exec-6] DEBUG com.mtkj.mtpay.service.impl.ProductServiceImpl - 根据链接码获取商品ID成功链接码: 3582a1dfbb174d84aac9f465b7180b50, 商品ID: 1
2025-12-23 17:30:29.661 [http-nio-8082-exec-6] DEBUG com.mtkj.mtpay.service.impl.ProductServiceImpl - 查询商品详情商品ID: 1
2025-12-23 17:30:29.661 [http-nio-8082-exec-6] DEBUG com.mtkj.mtpay.mapper.MtProductMapper.selectById - ==> Preparing: SELECT id,name,price,main_image,status,shop_id,create_time,update_time FROM mt_product WHERE id=?
2025-12-23 17:30:29.662 [http-nio-8082-exec-6] DEBUG com.mtkj.mtpay.mapper.MtProductMapper.selectById - ==> Parameters: 1(Long)
2025-12-23 17:30:29.698 [http-nio-8082-exec-6] DEBUG com.mtkj.mtpay.mapper.MtProductMapper.selectById - <== Total: 1
2025-12-23 17:30:29.699 [http-nio-8082-exec-6] DEBUG c.mtkj.mtpay.mapper.MtProductSkuMapper.selectList - ==> Preparing: SELECT id,product_id,sku,price,currency,stock,sales_attrs,sku_image,weight,size,specification,status,create_time,update_time FROM mt_product_sku WHERE (product_id = ? AND status = ?)
2025-12-23 17:30:29.699 [http-nio-8082-exec-6] DEBUG c.mtkj.mtpay.mapper.MtProductSkuMapper.selectList - ==> Parameters: 1(Long), ACTIVE(String)
2025-12-23 17:30:29.740 [http-nio-8082-exec-6] DEBUG c.mtkj.mtpay.mapper.MtProductSkuMapper.selectList - <== Total: 15
2025-12-23 17:30:29.740 [http-nio-8082-exec-6] DEBUG com.mtkj.mtpay.service.impl.ProductServiceImpl - 查询到商品SKU数量: 15, 商品ID: 1
2025-12-23 17:30:29.740 [http-nio-8082-exec-6] DEBUG com.mtkj.mtpay.service.impl.ProductServiceImpl - 解析商品主图(多图),数量: 5
2025-12-23 17:30:29.740 [http-nio-8082-exec-6] INFO com.mtkj.mtpay.service.impl.ProductServiceImpl - 获取商品详情成功商品ID: 1, 商品名称: 名创优品毛巾女2025新款洗澡男士浴巾比全棉100纯棉吸水干发成人, SKU数量: 15, 主图数量: 5
2025-12-23 17:30:50.663 [http-nio-8082-exec-7] INFO com.mtkj.mtpay.controller.ProductController - 根据链接码获取商品详情链接码3582a1dfbb174d84aac9f465b7180b50
2025-12-23 17:30:50.663 [http-nio-8082-exec-7] DEBUG com.mtkj.mtpay.service.impl.ProductServiceImpl - 根据链接码获取商品ID链接码: 3582a1dfbb174d84aac9f465b7180b50
2025-12-23 17:30:50.664 [http-nio-8082-exec-7] DEBUG c.mtkj.mtpay.service.impl.ProductLinkServiceImpl - 根据链接码获取商品链接,链接码: 3582a1dfbb174d84aac9f465b7180b50
2025-12-23 17:30:50.665 [http-nio-8082-exec-7] DEBUG c.mtkj.mtpay.mapper.MtProductLinkMapper.selectList - ==> Preparing: SELECT id,product_id,link_code,full_url,expire_days,expire_time,status,create_time,update_time FROM mt_product_link WHERE (link_code = ?) LIMIT 1
2025-12-23 17:30:50.665 [http-nio-8082-exec-7] DEBUG c.mtkj.mtpay.mapper.MtProductLinkMapper.selectList - ==> Parameters: 3582a1dfbb174d84aac9f465b7180b50(String)
2025-12-23 17:30:50.713 [http-nio-8082-exec-7] DEBUG c.mtkj.mtpay.mapper.MtProductLinkMapper.selectList - <== Total: 1
2025-12-23 17:30:50.713 [http-nio-8082-exec-7] DEBUG com.mtkj.mtpay.service.impl.ProductServiceImpl - 根据链接码获取商品ID成功链接码: 3582a1dfbb174d84aac9f465b7180b50, 商品ID: 1
2025-12-23 17:30:50.713 [http-nio-8082-exec-7] DEBUG com.mtkj.mtpay.service.impl.ProductServiceImpl - 查询商品详情商品ID: 1
2025-12-23 17:30:50.713 [http-nio-8082-exec-7] DEBUG com.mtkj.mtpay.mapper.MtProductMapper.selectById - ==> Preparing: SELECT id,name,price,main_image,status,shop_id,create_time,update_time FROM mt_product WHERE id=?
2025-12-23 17:30:50.714 [http-nio-8082-exec-7] DEBUG com.mtkj.mtpay.mapper.MtProductMapper.selectById - ==> Parameters: 1(Long)
2025-12-23 17:30:50.751 [http-nio-8082-exec-7] DEBUG com.mtkj.mtpay.mapper.MtProductMapper.selectById - <== Total: 1
2025-12-23 17:30:50.752 [http-nio-8082-exec-7] DEBUG c.mtkj.mtpay.mapper.MtProductSkuMapper.selectList - ==> Preparing: SELECT id,product_id,sku,price,currency,stock,sales_attrs,sku_image,weight,size,specification,status,create_time,update_time FROM mt_product_sku WHERE (product_id = ? AND status = ?)
2025-12-23 17:30:50.752 [http-nio-8082-exec-7] DEBUG c.mtkj.mtpay.mapper.MtProductSkuMapper.selectList - ==> Parameters: 1(Long), ACTIVE(String)
2025-12-23 17:30:50.805 [http-nio-8082-exec-7] DEBUG c.mtkj.mtpay.mapper.MtProductSkuMapper.selectList - <== Total: 15
2025-12-23 17:30:50.805 [http-nio-8082-exec-7] DEBUG com.mtkj.mtpay.service.impl.ProductServiceImpl - 查询到商品SKU数量: 15, 商品ID: 1
2025-12-23 17:30:50.805 [http-nio-8082-exec-7] DEBUG com.mtkj.mtpay.service.impl.ProductServiceImpl - 解析商品主图(多图),数量: 5
2025-12-23 17:30:50.805 [http-nio-8082-exec-7] INFO com.mtkj.mtpay.service.impl.ProductServiceImpl - 获取商品详情成功商品ID: 1, 商品名称: 名创优品毛巾女2025新款洗澡男士浴巾比全棉100纯棉吸水干发成人, SKU数量: 15, 主图数量: 5
2025-12-23 17:31:16.254 [http-nio-8082-exec-8] INFO com.mtkj.mtpay.controller.ProductController - 根据链接码获取商品详情链接码3582a1dfbb174d84aac9f465b7180b50
2025-12-23 17:31:16.254 [http-nio-8082-exec-8] DEBUG com.mtkj.mtpay.service.impl.ProductServiceImpl - 根据链接码获取商品ID链接码: 3582a1dfbb174d84aac9f465b7180b50
2025-12-23 17:31:16.254 [http-nio-8082-exec-8] DEBUG c.mtkj.mtpay.service.impl.ProductLinkServiceImpl - 根据链接码获取商品链接,链接码: 3582a1dfbb174d84aac9f465b7180b50
2025-12-23 17:31:16.254 [http-nio-8082-exec-8] DEBUG c.mtkj.mtpay.mapper.MtProductLinkMapper.selectList - ==> Preparing: SELECT id,product_id,link_code,full_url,expire_days,expire_time,status,create_time,update_time FROM mt_product_link WHERE (link_code = ?) LIMIT 1
2025-12-23 17:31:16.255 [http-nio-8082-exec-8] DEBUG c.mtkj.mtpay.mapper.MtProductLinkMapper.selectList - ==> Parameters: 3582a1dfbb174d84aac9f465b7180b50(String)
2025-12-23 17:31:16.298 [http-nio-8082-exec-8] DEBUG c.mtkj.mtpay.mapper.MtProductLinkMapper.selectList - <== Total: 1
2025-12-23 17:31:16.298 [http-nio-8082-exec-8] DEBUG com.mtkj.mtpay.service.impl.ProductServiceImpl - 根据链接码获取商品ID成功链接码: 3582a1dfbb174d84aac9f465b7180b50, 商品ID: 1
2025-12-23 17:31:16.298 [http-nio-8082-exec-8] DEBUG com.mtkj.mtpay.service.impl.ProductServiceImpl - 查询商品详情商品ID: 1
2025-12-23 17:31:16.300 [http-nio-8082-exec-8] DEBUG com.mtkj.mtpay.mapper.MtProductMapper.selectById - ==> Preparing: SELECT id,name,price,main_image,status,shop_id,create_time,update_time FROM mt_product WHERE id=?
2025-12-23 17:31:16.300 [http-nio-8082-exec-8] DEBUG com.mtkj.mtpay.mapper.MtProductMapper.selectById - ==> Parameters: 1(Long)
2025-12-23 17:31:16.336 [http-nio-8082-exec-8] DEBUG com.mtkj.mtpay.mapper.MtProductMapper.selectById - <== Total: 1
2025-12-23 17:31:16.337 [http-nio-8082-exec-8] DEBUG c.mtkj.mtpay.mapper.MtProductSkuMapper.selectList - ==> Preparing: SELECT id,product_id,sku,price,currency,stock,sales_attrs,sku_image,weight,size,specification,status,create_time,update_time FROM mt_product_sku WHERE (product_id = ? AND status = ?)
2025-12-23 17:31:16.337 [http-nio-8082-exec-8] DEBUG c.mtkj.mtpay.mapper.MtProductSkuMapper.selectList - ==> Parameters: 1(Long), ACTIVE(String)
2025-12-23 17:31:16.377 [http-nio-8082-exec-8] DEBUG c.mtkj.mtpay.mapper.MtProductSkuMapper.selectList - <== Total: 15
2025-12-23 17:31:16.377 [http-nio-8082-exec-8] DEBUG com.mtkj.mtpay.service.impl.ProductServiceImpl - 查询到商品SKU数量: 15, 商品ID: 1
2025-12-23 17:31:16.377 [http-nio-8082-exec-8] DEBUG com.mtkj.mtpay.service.impl.ProductServiceImpl - 解析商品主图(多图),数量: 5
2025-12-23 17:31:16.378 [http-nio-8082-exec-8] INFO com.mtkj.mtpay.service.impl.ProductServiceImpl - 获取商品详情成功商品ID: 1, 商品名称: 名创优品毛巾女2025新款洗澡男士浴巾比全棉100纯棉吸水干发成人, SKU数量: 15, 主图数量: 5
2025-12-23 17:33:36.668 [http-nio-8082-exec-9] INFO com.mtkj.mtpay.controller.ProductController - 根据链接码获取商品详情链接码3582a1dfbb174d84aac9f465b7180b50
2025-12-23 17:33:36.668 [http-nio-8082-exec-9] DEBUG com.mtkj.mtpay.service.impl.ProductServiceImpl - 根据链接码获取商品ID链接码: 3582a1dfbb174d84aac9f465b7180b50
2025-12-23 17:33:36.668 [http-nio-8082-exec-9] DEBUG c.mtkj.mtpay.service.impl.ProductLinkServiceImpl - 根据链接码获取商品链接,链接码: 3582a1dfbb174d84aac9f465b7180b50
2025-12-23 17:33:36.707 [http-nio-8082-exec-9] DEBUG c.mtkj.mtpay.mapper.MtProductLinkMapper.selectList - ==> Preparing: SELECT id,product_id,link_code,full_url,expire_days,expire_time,status,create_time,update_time FROM mt_product_link WHERE (link_code = ?) LIMIT 1
2025-12-23 17:33:36.707 [http-nio-8082-exec-9] DEBUG c.mtkj.mtpay.mapper.MtProductLinkMapper.selectList - ==> Parameters: 3582a1dfbb174d84aac9f465b7180b50(String)
2025-12-23 17:33:36.744 [http-nio-8082-exec-9] DEBUG c.mtkj.mtpay.mapper.MtProductLinkMapper.selectList - <== Total: 1
2025-12-23 17:33:36.744 [http-nio-8082-exec-9] DEBUG com.mtkj.mtpay.service.impl.ProductServiceImpl - 根据链接码获取商品ID成功链接码: 3582a1dfbb174d84aac9f465b7180b50, 商品ID: 1
2025-12-23 17:33:36.745 [http-nio-8082-exec-9] DEBUG com.mtkj.mtpay.service.impl.ProductServiceImpl - 查询商品详情商品ID: 1
2025-12-23 17:33:36.745 [http-nio-8082-exec-9] DEBUG com.mtkj.mtpay.mapper.MtProductMapper.selectById - ==> Preparing: SELECT id,name,price,main_image,status,shop_id,create_time,update_time FROM mt_product WHERE id=?
2025-12-23 17:33:36.745 [http-nio-8082-exec-9] DEBUG com.mtkj.mtpay.mapper.MtProductMapper.selectById - ==> Parameters: 1(Long)
2025-12-23 17:33:36.784 [http-nio-8082-exec-9] DEBUG com.mtkj.mtpay.mapper.MtProductMapper.selectById - <== Total: 1
2025-12-23 17:33:36.784 [http-nio-8082-exec-9] DEBUG c.mtkj.mtpay.mapper.MtProductSkuMapper.selectList - ==> Preparing: SELECT id,product_id,sku,price,currency,stock,sales_attrs,sku_image,weight,size,specification,status,create_time,update_time FROM mt_product_sku WHERE (product_id = ? AND status = ?)
2025-12-23 17:33:36.784 [http-nio-8082-exec-9] DEBUG c.mtkj.mtpay.mapper.MtProductSkuMapper.selectList - ==> Parameters: 1(Long), ACTIVE(String)
2025-12-23 17:33:36.824 [http-nio-8082-exec-9] DEBUG c.mtkj.mtpay.mapper.MtProductSkuMapper.selectList - <== Total: 15
2025-12-23 17:33:36.824 [http-nio-8082-exec-9] DEBUG com.mtkj.mtpay.service.impl.ProductServiceImpl - 查询到商品SKU数量: 15, 商品ID: 1
2025-12-23 17:33:36.824 [http-nio-8082-exec-9] DEBUG com.mtkj.mtpay.service.impl.ProductServiceImpl - 解析商品主图(多图),数量: 5
2025-12-23 17:33:36.824 [http-nio-8082-exec-9] INFO com.mtkj.mtpay.service.impl.ProductServiceImpl - 获取商品详情成功商品ID: 1, 商品名称: 名创优品毛巾女2025新款洗澡男士浴巾比全棉100纯棉吸水干发成人, SKU数量: 15, 主图数量: 5
2025-12-23 17:33:38.864 [http-nio-8082-exec-10] INFO com.mtkj.mtpay.controller.ProductController - 根据链接码获取商品详情链接码3582a1dfbb174d84aac9f465b7180b50
2025-12-23 17:33:38.864 [http-nio-8082-exec-10] DEBUG com.mtkj.mtpay.service.impl.ProductServiceImpl - 根据链接码获取商品ID链接码: 3582a1dfbb174d84aac9f465b7180b50
2025-12-23 17:33:38.864 [http-nio-8082-exec-10] DEBUG c.mtkj.mtpay.service.impl.ProductLinkServiceImpl - 根据链接码获取商品链接,链接码: 3582a1dfbb174d84aac9f465b7180b50
2025-12-23 17:33:38.866 [http-nio-8082-exec-10] DEBUG c.mtkj.mtpay.mapper.MtProductLinkMapper.selectList - ==> Preparing: SELECT id,product_id,link_code,full_url,expire_days,expire_time,status,create_time,update_time FROM mt_product_link WHERE (link_code = ?) LIMIT 1
2025-12-23 17:33:38.866 [http-nio-8082-exec-10] DEBUG c.mtkj.mtpay.mapper.MtProductLinkMapper.selectList - ==> Parameters: 3582a1dfbb174d84aac9f465b7180b50(String)
2025-12-23 17:33:38.903 [http-nio-8082-exec-10] DEBUG c.mtkj.mtpay.mapper.MtProductLinkMapper.selectList - <== Total: 1
2025-12-23 17:33:38.903 [http-nio-8082-exec-10] DEBUG com.mtkj.mtpay.service.impl.ProductServiceImpl - 根据链接码获取商品ID成功链接码: 3582a1dfbb174d84aac9f465b7180b50, 商品ID: 1
2025-12-23 17:33:38.903 [http-nio-8082-exec-10] DEBUG com.mtkj.mtpay.service.impl.ProductServiceImpl - 查询商品详情商品ID: 1
2025-12-23 17:33:38.903 [http-nio-8082-exec-10] DEBUG com.mtkj.mtpay.mapper.MtProductMapper.selectById - ==> Preparing: SELECT id,name,price,main_image,status,shop_id,create_time,update_time FROM mt_product WHERE id=?
2025-12-23 17:33:38.903 [http-nio-8082-exec-10] DEBUG com.mtkj.mtpay.mapper.MtProductMapper.selectById - ==> Parameters: 1(Long)
2025-12-23 17:33:38.944 [http-nio-8082-exec-10] DEBUG com.mtkj.mtpay.mapper.MtProductMapper.selectById - <== Total: 1
2025-12-23 17:33:38.945 [http-nio-8082-exec-10] DEBUG c.mtkj.mtpay.mapper.MtProductSkuMapper.selectList - ==> Preparing: SELECT id,product_id,sku,price,currency,stock,sales_attrs,sku_image,weight,size,specification,status,create_time,update_time FROM mt_product_sku WHERE (product_id = ? AND status = ?)
2025-12-23 17:33:38.945 [http-nio-8082-exec-10] DEBUG c.mtkj.mtpay.mapper.MtProductSkuMapper.selectList - ==> Parameters: 1(Long), ACTIVE(String)
2025-12-23 17:33:38.987 [http-nio-8082-exec-10] DEBUG c.mtkj.mtpay.mapper.MtProductSkuMapper.selectList - <== Total: 15
2025-12-23 17:33:38.987 [http-nio-8082-exec-10] DEBUG com.mtkj.mtpay.service.impl.ProductServiceImpl - 查询到商品SKU数量: 15, 商品ID: 1
2025-12-23 17:33:38.987 [http-nio-8082-exec-10] DEBUG com.mtkj.mtpay.service.impl.ProductServiceImpl - 解析商品主图(多图),数量: 5
2025-12-23 17:33:38.988 [http-nio-8082-exec-10] INFO com.mtkj.mtpay.service.impl.ProductServiceImpl - 获取商品详情成功商品ID: 1, 商品名称: 名创优品毛巾女2025新款洗澡男士浴巾比全棉100纯棉吸水干发成人, SKU数量: 15, 主图数量: 5
2025-12-23 17:34:03.875 [http-nio-8082-exec-1] INFO com.mtkj.mtpay.controller.ProductController - 根据链接码获取商品详情链接码3582a1dfbb174d84aac9f465b7180b50
2025-12-23 17:34:03.877 [http-nio-8082-exec-1] DEBUG com.mtkj.mtpay.service.impl.ProductServiceImpl - 根据链接码获取商品ID链接码: 3582a1dfbb174d84aac9f465b7180b50
2025-12-23 17:34:03.877 [http-nio-8082-exec-1] DEBUG c.mtkj.mtpay.service.impl.ProductLinkServiceImpl - 根据链接码获取商品链接,链接码: 3582a1dfbb174d84aac9f465b7180b50
2025-12-23 17:34:03.878 [http-nio-8082-exec-1] DEBUG c.mtkj.mtpay.mapper.MtProductLinkMapper.selectList - ==> Preparing: SELECT id,product_id,link_code,full_url,expire_days,expire_time,status,create_time,update_time FROM mt_product_link WHERE (link_code = ?) LIMIT 1
2025-12-23 17:34:03.879 [http-nio-8082-exec-1] DEBUG c.mtkj.mtpay.mapper.MtProductLinkMapper.selectList - ==> Parameters: 3582a1dfbb174d84aac9f465b7180b50(String)
2025-12-23 17:34:03.918 [http-nio-8082-exec-1] DEBUG c.mtkj.mtpay.mapper.MtProductLinkMapper.selectList - <== Total: 1
2025-12-23 17:34:03.918 [http-nio-8082-exec-1] DEBUG com.mtkj.mtpay.service.impl.ProductServiceImpl - 根据链接码获取商品ID成功链接码: 3582a1dfbb174d84aac9f465b7180b50, 商品ID: 1
2025-12-23 17:34:03.918 [http-nio-8082-exec-1] DEBUG com.mtkj.mtpay.service.impl.ProductServiceImpl - 查询商品详情商品ID: 1
2025-12-23 17:34:03.919 [http-nio-8082-exec-1] DEBUG com.mtkj.mtpay.mapper.MtProductMapper.selectById - ==> Preparing: SELECT id,name,price,main_image,status,shop_id,create_time,update_time FROM mt_product WHERE id=?
2025-12-23 17:34:03.919 [http-nio-8082-exec-1] DEBUG com.mtkj.mtpay.mapper.MtProductMapper.selectById - ==> Parameters: 1(Long)
2025-12-23 17:34:03.957 [http-nio-8082-exec-1] DEBUG com.mtkj.mtpay.mapper.MtProductMapper.selectById - <== Total: 1
2025-12-23 17:34:03.957 [http-nio-8082-exec-1] DEBUG c.mtkj.mtpay.mapper.MtProductSkuMapper.selectList - ==> Preparing: SELECT id,product_id,sku,price,currency,stock,sales_attrs,sku_image,weight,size,specification,status,create_time,update_time FROM mt_product_sku WHERE (product_id = ? AND status = ?)
2025-12-23 17:34:03.957 [http-nio-8082-exec-1] DEBUG c.mtkj.mtpay.mapper.MtProductSkuMapper.selectList - ==> Parameters: 1(Long), ACTIVE(String)
2025-12-23 17:34:03.997 [http-nio-8082-exec-1] DEBUG c.mtkj.mtpay.mapper.MtProductSkuMapper.selectList - <== Total: 15
2025-12-23 17:34:03.997 [http-nio-8082-exec-1] DEBUG com.mtkj.mtpay.service.impl.ProductServiceImpl - 查询到商品SKU数量: 15, 商品ID: 1
2025-12-23 17:34:03.997 [http-nio-8082-exec-1] DEBUG com.mtkj.mtpay.service.impl.ProductServiceImpl - 解析商品主图(多图),数量: 5
2025-12-23 17:34:03.997 [http-nio-8082-exec-1] INFO com.mtkj.mtpay.service.impl.ProductServiceImpl - 获取商品详情成功商品ID: 1, 商品名称: 名创优品毛巾女2025新款洗澡男士浴巾比全棉100纯棉吸水干发成人, SKU数量: 15, 主图数量: 5
2025-12-23 17:34:07.338 [http-nio-8082-exec-2] INFO com.mtkj.mtpay.controller.ProductController - 根据链接码获取商品详情链接码3582a1dfbb174d84aac9f465b7180b50
2025-12-23 17:34:07.339 [http-nio-8082-exec-2] DEBUG com.mtkj.mtpay.service.impl.ProductServiceImpl - 根据链接码获取商品ID链接码: 3582a1dfbb174d84aac9f465b7180b50
2025-12-23 17:34:07.339 [http-nio-8082-exec-2] DEBUG c.mtkj.mtpay.service.impl.ProductLinkServiceImpl - 根据链接码获取商品链接,链接码: 3582a1dfbb174d84aac9f465b7180b50
2025-12-23 17:34:07.341 [http-nio-8082-exec-2] DEBUG c.mtkj.mtpay.mapper.MtProductLinkMapper.selectList - ==> Preparing: SELECT id,product_id,link_code,full_url,expire_days,expire_time,status,create_time,update_time FROM mt_product_link WHERE (link_code = ?) LIMIT 1
2025-12-23 17:34:07.342 [http-nio-8082-exec-2] DEBUG c.mtkj.mtpay.mapper.MtProductLinkMapper.selectList - ==> Parameters: 3582a1dfbb174d84aac9f465b7180b50(String)
2025-12-23 17:34:07.381 [http-nio-8082-exec-2] DEBUG c.mtkj.mtpay.mapper.MtProductLinkMapper.selectList - <== Total: 1
2025-12-23 17:34:07.382 [http-nio-8082-exec-2] DEBUG com.mtkj.mtpay.service.impl.ProductServiceImpl - 根据链接码获取商品ID成功链接码: 3582a1dfbb174d84aac9f465b7180b50, 商品ID: 1
2025-12-23 17:34:07.382 [http-nio-8082-exec-2] DEBUG com.mtkj.mtpay.service.impl.ProductServiceImpl - 查询商品详情商品ID: 1
2025-12-23 17:34:07.382 [http-nio-8082-exec-2] DEBUG com.mtkj.mtpay.mapper.MtProductMapper.selectById - ==> Preparing: SELECT id,name,price,main_image,status,shop_id,create_time,update_time FROM mt_product WHERE id=?
2025-12-23 17:34:07.383 [http-nio-8082-exec-2] DEBUG com.mtkj.mtpay.mapper.MtProductMapper.selectById - ==> Parameters: 1(Long)
2025-12-23 17:34:07.420 [http-nio-8082-exec-2] DEBUG com.mtkj.mtpay.mapper.MtProductMapper.selectById - <== Total: 1
2025-12-23 17:34:07.420 [http-nio-8082-exec-2] DEBUG c.mtkj.mtpay.mapper.MtProductSkuMapper.selectList - ==> Preparing: SELECT id,product_id,sku,price,currency,stock,sales_attrs,sku_image,weight,size,specification,status,create_time,update_time FROM mt_product_sku WHERE (product_id = ? AND status = ?)
2025-12-23 17:34:07.421 [http-nio-8082-exec-2] DEBUG c.mtkj.mtpay.mapper.MtProductSkuMapper.selectList - ==> Parameters: 1(Long), ACTIVE(String)
2025-12-23 17:34:07.459 [http-nio-8082-exec-2] DEBUG c.mtkj.mtpay.mapper.MtProductSkuMapper.selectList - <== Total: 15
2025-12-23 17:34:07.459 [http-nio-8082-exec-2] DEBUG com.mtkj.mtpay.service.impl.ProductServiceImpl - 查询到商品SKU数量: 15, 商品ID: 1
2025-12-23 17:34:07.459 [http-nio-8082-exec-2] DEBUG com.mtkj.mtpay.service.impl.ProductServiceImpl - 解析商品主图(多图),数量: 5
2025-12-23 17:34:07.462 [http-nio-8082-exec-2] INFO com.mtkj.mtpay.service.impl.ProductServiceImpl - 获取商品详情成功商品ID: 1, 商品名称: 名创优品毛巾女2025新款洗澡男士浴巾比全棉100纯棉吸水干发成人, SKU数量: 15, 主图数量: 5
2025-12-23 17:35:57.176 [http-nio-8082-exec-3] INFO com.mtkj.mtpay.controller.ProductController - 根据链接码获取商品详情链接码3582a1dfbb174d84aac9f465b7180b50
2025-12-23 17:35:57.176 [http-nio-8082-exec-3] DEBUG com.mtkj.mtpay.service.impl.ProductServiceImpl - 根据链接码获取商品ID链接码: 3582a1dfbb174d84aac9f465b7180b50
2025-12-23 17:35:57.176 [http-nio-8082-exec-3] DEBUG c.mtkj.mtpay.service.impl.ProductLinkServiceImpl - 根据链接码获取商品链接,链接码: 3582a1dfbb174d84aac9f465b7180b50
2025-12-23 17:35:57.214 [http-nio-8082-exec-3] DEBUG c.mtkj.mtpay.mapper.MtProductLinkMapper.selectList - ==> Preparing: SELECT id,product_id,link_code,full_url,expire_days,expire_time,status,create_time,update_time FROM mt_product_link WHERE (link_code = ?) LIMIT 1
2025-12-23 17:35:57.214 [http-nio-8082-exec-3] DEBUG c.mtkj.mtpay.mapper.MtProductLinkMapper.selectList - ==> Parameters: 3582a1dfbb174d84aac9f465b7180b50(String)
2025-12-23 17:35:57.252 [http-nio-8082-exec-3] DEBUG c.mtkj.mtpay.mapper.MtProductLinkMapper.selectList - <== Total: 1
2025-12-23 17:35:57.252 [http-nio-8082-exec-3] DEBUG com.mtkj.mtpay.service.impl.ProductServiceImpl - 根据链接码获取商品ID成功链接码: 3582a1dfbb174d84aac9f465b7180b50, 商品ID: 1
2025-12-23 17:35:57.252 [http-nio-8082-exec-3] DEBUG com.mtkj.mtpay.service.impl.ProductServiceImpl - 查询商品详情商品ID: 1
2025-12-23 17:35:57.252 [http-nio-8082-exec-3] DEBUG com.mtkj.mtpay.mapper.MtProductMapper.selectById - ==> Preparing: SELECT id,name,price,main_image,status,shop_id,create_time,update_time FROM mt_product WHERE id=?
2025-12-23 17:35:57.252 [http-nio-8082-exec-3] DEBUG com.mtkj.mtpay.mapper.MtProductMapper.selectById - ==> Parameters: 1(Long)
2025-12-23 17:35:57.288 [http-nio-8082-exec-3] DEBUG com.mtkj.mtpay.mapper.MtProductMapper.selectById - <== Total: 1
2025-12-23 17:35:57.289 [http-nio-8082-exec-3] DEBUG c.mtkj.mtpay.mapper.MtProductSkuMapper.selectList - ==> Preparing: SELECT id,product_id,sku,price,currency,stock,sales_attrs,sku_image,weight,size,specification,status,create_time,update_time FROM mt_product_sku WHERE (product_id = ? AND status = ?)
2025-12-23 17:35:57.289 [http-nio-8082-exec-3] DEBUG c.mtkj.mtpay.mapper.MtProductSkuMapper.selectList - ==> Parameters: 1(Long), ACTIVE(String)
2025-12-23 17:35:57.328 [http-nio-8082-exec-3] DEBUG c.mtkj.mtpay.mapper.MtProductSkuMapper.selectList - <== Total: 15
2025-12-23 17:35:57.328 [http-nio-8082-exec-3] DEBUG com.mtkj.mtpay.service.impl.ProductServiceImpl - 查询到商品SKU数量: 15, 商品ID: 1
2025-12-23 17:35:57.329 [http-nio-8082-exec-3] DEBUG com.mtkj.mtpay.service.impl.ProductServiceImpl - 解析商品主图(多图),数量: 5
2025-12-23 17:35:57.329 [http-nio-8082-exec-3] INFO com.mtkj.mtpay.service.impl.ProductServiceImpl - 获取商品详情成功商品ID: 1, 商品名称: 名创优品毛巾女2025新款洗澡男士浴巾比全棉100纯棉吸水干发成人, SKU数量: 15, 主图数量: 5
2025-12-23 17:36:04.848 [http-nio-8082-exec-4] INFO com.mtkj.mtpay.controller.ProductController - 根据链接码获取商品详情链接码3582a1dfbb174d84aac9f465b7180b50
2025-12-23 17:36:04.848 [http-nio-8082-exec-4] DEBUG com.mtkj.mtpay.service.impl.ProductServiceImpl - 根据链接码获取商品ID链接码: 3582a1dfbb174d84aac9f465b7180b50
2025-12-23 17:36:04.848 [http-nio-8082-exec-4] DEBUG c.mtkj.mtpay.service.impl.ProductLinkServiceImpl - 根据链接码获取商品链接,链接码: 3582a1dfbb174d84aac9f465b7180b50
2025-12-23 17:36:04.848 [http-nio-8082-exec-4] DEBUG c.mtkj.mtpay.mapper.MtProductLinkMapper.selectList - ==> Preparing: SELECT id,product_id,link_code,full_url,expire_days,expire_time,status,create_time,update_time FROM mt_product_link WHERE (link_code = ?) LIMIT 1
2025-12-23 17:36:04.849 [http-nio-8082-exec-4] DEBUG c.mtkj.mtpay.mapper.MtProductLinkMapper.selectList - ==> Parameters: 3582a1dfbb174d84aac9f465b7180b50(String)
2025-12-23 17:36:04.885 [http-nio-8082-exec-4] DEBUG c.mtkj.mtpay.mapper.MtProductLinkMapper.selectList - <== Total: 1
2025-12-23 17:36:04.885 [http-nio-8082-exec-4] DEBUG com.mtkj.mtpay.service.impl.ProductServiceImpl - 根据链接码获取商品ID成功链接码: 3582a1dfbb174d84aac9f465b7180b50, 商品ID: 1
2025-12-23 17:36:04.885 [http-nio-8082-exec-4] DEBUG com.mtkj.mtpay.service.impl.ProductServiceImpl - 查询商品详情商品ID: 1
2025-12-23 17:36:04.886 [http-nio-8082-exec-4] DEBUG com.mtkj.mtpay.mapper.MtProductMapper.selectById - ==> Preparing: SELECT id,name,price,main_image,status,shop_id,create_time,update_time FROM mt_product WHERE id=?
2025-12-23 17:36:04.886 [http-nio-8082-exec-4] DEBUG com.mtkj.mtpay.mapper.MtProductMapper.selectById - ==> Parameters: 1(Long)
2025-12-23 17:36:04.922 [http-nio-8082-exec-4] DEBUG com.mtkj.mtpay.mapper.MtProductMapper.selectById - <== Total: 1
2025-12-23 17:36:04.924 [http-nio-8082-exec-4] DEBUG c.mtkj.mtpay.mapper.MtProductSkuMapper.selectList - ==> Preparing: SELECT id,product_id,sku,price,currency,stock,sales_attrs,sku_image,weight,size,specification,status,create_time,update_time FROM mt_product_sku WHERE (product_id = ? AND status = ?)
2025-12-23 17:36:04.924 [http-nio-8082-exec-4] DEBUG c.mtkj.mtpay.mapper.MtProductSkuMapper.selectList - ==> Parameters: 1(Long), ACTIVE(String)
2025-12-23 17:36:04.964 [http-nio-8082-exec-4] DEBUG c.mtkj.mtpay.mapper.MtProductSkuMapper.selectList - <== Total: 15
2025-12-23 17:36:04.964 [http-nio-8082-exec-4] DEBUG com.mtkj.mtpay.service.impl.ProductServiceImpl - 查询到商品SKU数量: 15, 商品ID: 1
2025-12-23 17:36:04.964 [http-nio-8082-exec-4] DEBUG com.mtkj.mtpay.service.impl.ProductServiceImpl - 解析商品主图(多图),数量: 5
2025-12-23 17:36:04.965 [http-nio-8082-exec-4] INFO com.mtkj.mtpay.service.impl.ProductServiceImpl - 获取商品详情成功商品ID: 1, 商品名称: 名创优品毛巾女2025新款洗澡男士浴巾比全棉100纯棉吸水干发成人, SKU数量: 15, 主图数量: 5
2025-12-23 17:38:32.930 [http-nio-8082-exec-5] INFO com.mtkj.mtpay.controller.ProductController - 根据链接码获取商品详情链接码3582a1dfbb174d84aac9f465b7180b50
2025-12-23 17:38:32.931 [http-nio-8082-exec-5] DEBUG com.mtkj.mtpay.service.impl.ProductServiceImpl - 根据链接码获取商品ID链接码: 3582a1dfbb174d84aac9f465b7180b50
2025-12-23 17:38:32.931 [http-nio-8082-exec-5] DEBUG c.mtkj.mtpay.service.impl.ProductLinkServiceImpl - 根据链接码获取商品链接,链接码: 3582a1dfbb174d84aac9f465b7180b50
2025-12-23 17:38:32.970 [http-nio-8082-exec-5] DEBUG c.mtkj.mtpay.mapper.MtProductLinkMapper.selectList - ==> Preparing: SELECT id,product_id,link_code,full_url,expire_days,expire_time,status,create_time,update_time FROM mt_product_link WHERE (link_code = ?) LIMIT 1
2025-12-23 17:38:32.970 [http-nio-8082-exec-5] DEBUG c.mtkj.mtpay.mapper.MtProductLinkMapper.selectList - ==> Parameters: 3582a1dfbb174d84aac9f465b7180b50(String)
2025-12-23 17:38:33.007 [http-nio-8082-exec-5] DEBUG c.mtkj.mtpay.mapper.MtProductLinkMapper.selectList - <== Total: 1
2025-12-23 17:38:33.007 [http-nio-8082-exec-5] DEBUG com.mtkj.mtpay.service.impl.ProductServiceImpl - 根据链接码获取商品ID成功链接码: 3582a1dfbb174d84aac9f465b7180b50, 商品ID: 1
2025-12-23 17:38:33.007 [http-nio-8082-exec-5] DEBUG com.mtkj.mtpay.service.impl.ProductServiceImpl - 查询商品详情商品ID: 1
2025-12-23 17:38:33.007 [http-nio-8082-exec-5] DEBUG com.mtkj.mtpay.mapper.MtProductMapper.selectById - ==> Preparing: SELECT id,name,price,main_image,status,shop_id,create_time,update_time FROM mt_product WHERE id=?
2025-12-23 17:38:33.008 [http-nio-8082-exec-5] DEBUG com.mtkj.mtpay.mapper.MtProductMapper.selectById - ==> Parameters: 1(Long)
2025-12-23 17:38:33.048 [http-nio-8082-exec-5] DEBUG com.mtkj.mtpay.mapper.MtProductMapper.selectById - <== Total: 1
2025-12-23 17:38:33.049 [http-nio-8082-exec-5] DEBUG c.mtkj.mtpay.mapper.MtProductSkuMapper.selectList - ==> Preparing: SELECT id,product_id,sku,price,currency,stock,sales_attrs,sku_image,weight,size,specification,status,create_time,update_time FROM mt_product_sku WHERE (product_id = ? AND status = ?)
2025-12-23 17:38:33.049 [http-nio-8082-exec-5] DEBUG c.mtkj.mtpay.mapper.MtProductSkuMapper.selectList - ==> Parameters: 1(Long), ACTIVE(String)
2025-12-23 17:38:33.090 [http-nio-8082-exec-5] DEBUG c.mtkj.mtpay.mapper.MtProductSkuMapper.selectList - <== Total: 15
2025-12-23 17:38:33.090 [http-nio-8082-exec-5] DEBUG com.mtkj.mtpay.service.impl.ProductServiceImpl - 查询到商品SKU数量: 15, 商品ID: 1
2025-12-23 17:38:33.090 [http-nio-8082-exec-5] DEBUG com.mtkj.mtpay.service.impl.ProductServiceImpl - 解析商品主图(多图),数量: 5
2025-12-23 17:38:33.090 [http-nio-8082-exec-5] INFO com.mtkj.mtpay.service.impl.ProductServiceImpl - 获取商品详情成功商品ID: 1, 商品名称: 名创优品毛巾女2025新款洗澡男士浴巾比全棉100纯棉吸水干发成人, SKU数量: 15, 主图数量: 5
2025-12-23 17:38:37.372 [http-nio-8082-exec-6] INFO com.mtkj.mtpay.controller.ProductController - 根据链接码获取商品详情链接码3582a1dfbb174d84aac9f465b7180b50
2025-12-23 17:38:37.373 [http-nio-8082-exec-6] DEBUG com.mtkj.mtpay.service.impl.ProductServiceImpl - 根据链接码获取商品ID链接码: 3582a1dfbb174d84aac9f465b7180b50
2025-12-23 17:38:37.373 [http-nio-8082-exec-6] DEBUG c.mtkj.mtpay.service.impl.ProductLinkServiceImpl - 根据链接码获取商品链接,链接码: 3582a1dfbb174d84aac9f465b7180b50
2025-12-23 17:38:37.374 [http-nio-8082-exec-6] DEBUG c.mtkj.mtpay.mapper.MtProductLinkMapper.selectList - ==> Preparing: SELECT id,product_id,link_code,full_url,expire_days,expire_time,status,create_time,update_time FROM mt_product_link WHERE (link_code = ?) LIMIT 1
2025-12-23 17:38:37.375 [http-nio-8082-exec-6] DEBUG c.mtkj.mtpay.mapper.MtProductLinkMapper.selectList - ==> Parameters: 3582a1dfbb174d84aac9f465b7180b50(String)
2025-12-23 17:38:37.412 [http-nio-8082-exec-6] DEBUG c.mtkj.mtpay.mapper.MtProductLinkMapper.selectList - <== Total: 1
2025-12-23 17:38:37.413 [http-nio-8082-exec-6] DEBUG com.mtkj.mtpay.service.impl.ProductServiceImpl - 根据链接码获取商品ID成功链接码: 3582a1dfbb174d84aac9f465b7180b50, 商品ID: 1
2025-12-23 17:38:37.413 [http-nio-8082-exec-6] DEBUG com.mtkj.mtpay.service.impl.ProductServiceImpl - 查询商品详情商品ID: 1
2025-12-23 17:38:37.413 [http-nio-8082-exec-6] DEBUG com.mtkj.mtpay.mapper.MtProductMapper.selectById - ==> Preparing: SELECT id,name,price,main_image,status,shop_id,create_time,update_time FROM mt_product WHERE id=?
2025-12-23 17:38:37.413 [http-nio-8082-exec-6] DEBUG com.mtkj.mtpay.mapper.MtProductMapper.selectById - ==> Parameters: 1(Long)
2025-12-23 17:38:37.461 [http-nio-8082-exec-6] DEBUG com.mtkj.mtpay.mapper.MtProductMapper.selectById - <== Total: 1
2025-12-23 17:38:37.461 [http-nio-8082-exec-6] DEBUG c.mtkj.mtpay.mapper.MtProductSkuMapper.selectList - ==> Preparing: SELECT id,product_id,sku,price,currency,stock,sales_attrs,sku_image,weight,size,specification,status,create_time,update_time FROM mt_product_sku WHERE (product_id = ? AND status = ?)
2025-12-23 17:38:37.462 [http-nio-8082-exec-6] DEBUG c.mtkj.mtpay.mapper.MtProductSkuMapper.selectList - ==> Parameters: 1(Long), ACTIVE(String)
2025-12-23 17:38:37.506 [http-nio-8082-exec-6] DEBUG c.mtkj.mtpay.mapper.MtProductSkuMapper.selectList - <== Total: 15
2025-12-23 17:38:37.506 [http-nio-8082-exec-6] DEBUG com.mtkj.mtpay.service.impl.ProductServiceImpl - 查询到商品SKU数量: 15, 商品ID: 1
2025-12-23 17:38:37.506 [http-nio-8082-exec-6] DEBUG com.mtkj.mtpay.service.impl.ProductServiceImpl - 解析商品主图(多图),数量: 5
2025-12-23 17:38:37.506 [http-nio-8082-exec-6] INFO com.mtkj.mtpay.service.impl.ProductServiceImpl - 获取商品详情成功商品ID: 1, 商品名称: 名创优品毛巾女2025新款洗澡男士浴巾比全棉100纯棉吸水干发成人, SKU数量: 15, 主图数量: 5
2025-12-23 17:38:39.829 [http-nio-8082-exec-7] INFO com.mtkj.mtpay.controller.ProductController - 根据链接码获取商品详情链接码3582a1dfbb174d84aac9f465b7180b50
2025-12-23 17:38:39.829 [http-nio-8082-exec-7] DEBUG com.mtkj.mtpay.service.impl.ProductServiceImpl - 根据链接码获取商品ID链接码: 3582a1dfbb174d84aac9f465b7180b50
2025-12-23 17:38:39.829 [http-nio-8082-exec-7] DEBUG c.mtkj.mtpay.service.impl.ProductLinkServiceImpl - 根据链接码获取商品链接,链接码: 3582a1dfbb174d84aac9f465b7180b50
2025-12-23 17:38:39.830 [http-nio-8082-exec-7] DEBUG c.mtkj.mtpay.mapper.MtProductLinkMapper.selectList - ==> Preparing: SELECT id,product_id,link_code,full_url,expire_days,expire_time,status,create_time,update_time FROM mt_product_link WHERE (link_code = ?) LIMIT 1
2025-12-23 17:38:39.830 [http-nio-8082-exec-7] DEBUG c.mtkj.mtpay.mapper.MtProductLinkMapper.selectList - ==> Parameters: 3582a1dfbb174d84aac9f465b7180b50(String)
2025-12-23 17:38:39.876 [http-nio-8082-exec-7] DEBUG c.mtkj.mtpay.mapper.MtProductLinkMapper.selectList - <== Total: 1
2025-12-23 17:38:39.876 [http-nio-8082-exec-7] DEBUG com.mtkj.mtpay.service.impl.ProductServiceImpl - 根据链接码获取商品ID成功链接码: 3582a1dfbb174d84aac9f465b7180b50, 商品ID: 1
2025-12-23 17:38:39.876 [http-nio-8082-exec-7] DEBUG com.mtkj.mtpay.service.impl.ProductServiceImpl - 查询商品详情商品ID: 1
2025-12-23 17:38:39.876 [http-nio-8082-exec-7] DEBUG com.mtkj.mtpay.mapper.MtProductMapper.selectById - ==> Preparing: SELECT id,name,price,main_image,status,shop_id,create_time,update_time FROM mt_product WHERE id=?
2025-12-23 17:38:39.877 [http-nio-8082-exec-7] DEBUG com.mtkj.mtpay.mapper.MtProductMapper.selectById - ==> Parameters: 1(Long)
2025-12-23 17:38:39.917 [http-nio-8082-exec-7] DEBUG com.mtkj.mtpay.mapper.MtProductMapper.selectById - <== Total: 1
2025-12-23 17:38:39.917 [http-nio-8082-exec-7] DEBUG c.mtkj.mtpay.mapper.MtProductSkuMapper.selectList - ==> Preparing: SELECT id,product_id,sku,price,currency,stock,sales_attrs,sku_image,weight,size,specification,status,create_time,update_time FROM mt_product_sku WHERE (product_id = ? AND status = ?)
2025-12-23 17:38:39.917 [http-nio-8082-exec-7] DEBUG c.mtkj.mtpay.mapper.MtProductSkuMapper.selectList - ==> Parameters: 1(Long), ACTIVE(String)
2025-12-23 17:38:39.955 [http-nio-8082-exec-7] DEBUG c.mtkj.mtpay.mapper.MtProductSkuMapper.selectList - <== Total: 15
2025-12-23 17:38:39.955 [http-nio-8082-exec-7] DEBUG com.mtkj.mtpay.service.impl.ProductServiceImpl - 查询到商品SKU数量: 15, 商品ID: 1
2025-12-23 17:38:39.957 [http-nio-8082-exec-7] DEBUG com.mtkj.mtpay.service.impl.ProductServiceImpl - 解析商品主图(多图),数量: 5
2025-12-23 17:38:39.957 [http-nio-8082-exec-7] INFO com.mtkj.mtpay.service.impl.ProductServiceImpl - 获取商品详情成功商品ID: 1, 商品名称: 名创优品毛巾女2025新款洗澡男士浴巾比全棉100纯棉吸水干发成人, SKU数量: 15, 主图数量: 5
2025-12-23 17:39:08.682 [http-nio-8082-exec-8] INFO com.mtkj.mtpay.controller.ProductController - 根据链接码获取商品详情链接码3582a1dfbb174d84aac9f465b7180b50
2025-12-23 17:39:08.682 [http-nio-8082-exec-8] DEBUG com.mtkj.mtpay.service.impl.ProductServiceImpl - 根据链接码获取商品ID链接码: 3582a1dfbb174d84aac9f465b7180b50
2025-12-23 17:39:08.682 [http-nio-8082-exec-8] DEBUG c.mtkj.mtpay.service.impl.ProductLinkServiceImpl - 根据链接码获取商品链接,链接码: 3582a1dfbb174d84aac9f465b7180b50
2025-12-23 17:39:08.683 [http-nio-8082-exec-8] DEBUG c.mtkj.mtpay.mapper.MtProductLinkMapper.selectList - ==> Preparing: SELECT id,product_id,link_code,full_url,expire_days,expire_time,status,create_time,update_time FROM mt_product_link WHERE (link_code = ?) LIMIT 1
2025-12-23 17:39:08.683 [http-nio-8082-exec-8] DEBUG c.mtkj.mtpay.mapper.MtProductLinkMapper.selectList - ==> Parameters: 3582a1dfbb174d84aac9f465b7180b50(String)
2025-12-23 17:39:08.967 [http-nio-8082-exec-8] DEBUG c.mtkj.mtpay.mapper.MtProductLinkMapper.selectList - <== Total: 1
2025-12-23 17:39:08.967 [http-nio-8082-exec-8] DEBUG com.mtkj.mtpay.service.impl.ProductServiceImpl - 根据链接码获取商品ID成功链接码: 3582a1dfbb174d84aac9f465b7180b50, 商品ID: 1
2025-12-23 17:39:08.967 [http-nio-8082-exec-8] DEBUG com.mtkj.mtpay.service.impl.ProductServiceImpl - 查询商品详情商品ID: 1
2025-12-23 17:39:08.970 [http-nio-8082-exec-8] DEBUG com.mtkj.mtpay.mapper.MtProductMapper.selectById - ==> Preparing: SELECT id,name,price,main_image,status,shop_id,create_time,update_time FROM mt_product WHERE id=?
2025-12-23 17:39:08.970 [http-nio-8082-exec-8] DEBUG com.mtkj.mtpay.mapper.MtProductMapper.selectById - ==> Parameters: 1(Long)
2025-12-23 17:39:09.004 [http-nio-8082-exec-8] DEBUG com.mtkj.mtpay.mapper.MtProductMapper.selectById - <== Total: 1
2025-12-23 17:39:09.004 [http-nio-8082-exec-8] DEBUG c.mtkj.mtpay.mapper.MtProductSkuMapper.selectList - ==> Preparing: SELECT id,product_id,sku,price,currency,stock,sales_attrs,sku_image,weight,size,specification,status,create_time,update_time FROM mt_product_sku WHERE (product_id = ? AND status = ?)
2025-12-23 17:39:09.007 [http-nio-8082-exec-8] DEBUG c.mtkj.mtpay.mapper.MtProductSkuMapper.selectList - ==> Parameters: 1(Long), ACTIVE(String)
2025-12-23 17:39:09.046 [http-nio-8082-exec-8] DEBUG c.mtkj.mtpay.mapper.MtProductSkuMapper.selectList - <== Total: 15
2025-12-23 17:39:09.046 [http-nio-8082-exec-8] DEBUG com.mtkj.mtpay.service.impl.ProductServiceImpl - 查询到商品SKU数量: 15, 商品ID: 1
2025-12-23 17:39:09.050 [http-nio-8082-exec-8] DEBUG com.mtkj.mtpay.service.impl.ProductServiceImpl - 解析商品主图(多图),数量: 5
2025-12-23 17:39:09.050 [http-nio-8082-exec-8] INFO com.mtkj.mtpay.service.impl.ProductServiceImpl - 获取商品详情成功商品ID: 1, 商品名称: 名创优品毛巾女2025新款洗澡男士浴巾比全棉100纯棉吸水干发成人, SKU数量: 15, 主图数量: 5
2025-12-23 17:41:16.179 [http-nio-8082-exec-9] INFO com.mtkj.mtpay.controller.ProductController - 根据链接码获取商品详情链接码3582a1dfbb174d84aac9f465b7180b50
2025-12-23 17:41:16.179 [http-nio-8082-exec-9] DEBUG com.mtkj.mtpay.service.impl.ProductServiceImpl - 根据链接码获取商品ID链接码: 3582a1dfbb174d84aac9f465b7180b50
2025-12-23 17:41:16.179 [http-nio-8082-exec-9] DEBUG c.mtkj.mtpay.service.impl.ProductLinkServiceImpl - 根据链接码获取商品链接,链接码: 3582a1dfbb174d84aac9f465b7180b50
2025-12-23 17:41:16.218 [http-nio-8082-exec-9] DEBUG c.mtkj.mtpay.mapper.MtProductLinkMapper.selectList - ==> Preparing: SELECT id,product_id,link_code,full_url,expire_days,expire_time,status,create_time,update_time FROM mt_product_link WHERE (link_code = ?) LIMIT 1
2025-12-23 17:41:16.218 [http-nio-8082-exec-9] DEBUG c.mtkj.mtpay.mapper.MtProductLinkMapper.selectList - ==> Parameters: 3582a1dfbb174d84aac9f465b7180b50(String)
2025-12-23 17:41:16.256 [http-nio-8082-exec-9] DEBUG c.mtkj.mtpay.mapper.MtProductLinkMapper.selectList - <== Total: 1
2025-12-23 17:41:16.256 [http-nio-8082-exec-9] DEBUG com.mtkj.mtpay.service.impl.ProductServiceImpl - 根据链接码获取商品ID成功链接码: 3582a1dfbb174d84aac9f465b7180b50, 商品ID: 1
2025-12-23 17:41:16.256 [http-nio-8082-exec-9] DEBUG com.mtkj.mtpay.service.impl.ProductServiceImpl - 查询商品详情商品ID: 1
2025-12-23 17:41:16.258 [http-nio-8082-exec-9] DEBUG com.mtkj.mtpay.mapper.MtProductMapper.selectById - ==> Preparing: SELECT id,name,price,main_image,status,shop_id,create_time,update_time FROM mt_product WHERE id=?
2025-12-23 17:41:16.258 [http-nio-8082-exec-9] DEBUG com.mtkj.mtpay.mapper.MtProductMapper.selectById - ==> Parameters: 1(Long)
2025-12-23 17:41:16.295 [http-nio-8082-exec-9] DEBUG com.mtkj.mtpay.mapper.MtProductMapper.selectById - <== Total: 1
2025-12-23 17:41:16.295 [http-nio-8082-exec-9] DEBUG c.mtkj.mtpay.mapper.MtProductSkuMapper.selectList - ==> Preparing: SELECT id,product_id,sku,price,currency,stock,sales_attrs,sku_image,weight,size,specification,status,create_time,update_time FROM mt_product_sku WHERE (product_id = ? AND status = ?)
2025-12-23 17:41:16.296 [http-nio-8082-exec-9] DEBUG c.mtkj.mtpay.mapper.MtProductSkuMapper.selectList - ==> Parameters: 1(Long), ACTIVE(String)
2025-12-23 17:41:16.333 [http-nio-8082-exec-9] DEBUG c.mtkj.mtpay.mapper.MtProductSkuMapper.selectList - <== Total: 15
2025-12-23 17:41:16.334 [http-nio-8082-exec-9] DEBUG com.mtkj.mtpay.service.impl.ProductServiceImpl - 查询到商品SKU数量: 15, 商品ID: 1
2025-12-23 17:41:16.334 [http-nio-8082-exec-9] DEBUG com.mtkj.mtpay.service.impl.ProductServiceImpl - 解析商品主图(多图),数量: 5
2025-12-23 17:41:16.334 [http-nio-8082-exec-9] INFO com.mtkj.mtpay.service.impl.ProductServiceImpl - 获取商品详情成功商品ID: 1, 商品名称: 名创优品毛巾女2025新款洗澡男士浴巾比全棉100纯棉吸水干发成人, SKU数量: 15, 主图数量: 5
2025-12-23 17:41:24.091 [http-nio-8082-exec-10] INFO com.mtkj.mtpay.controller.ProductController - 根据链接码获取商品详情链接码3582a1dfbb174d84aac9f465b7180b50
2025-12-23 17:41:24.092 [http-nio-8082-exec-10] DEBUG com.mtkj.mtpay.service.impl.ProductServiceImpl - 根据链接码获取商品ID链接码: 3582a1dfbb174d84aac9f465b7180b50
2025-12-23 17:41:24.092 [http-nio-8082-exec-10] DEBUG c.mtkj.mtpay.service.impl.ProductLinkServiceImpl - 根据链接码获取商品链接,链接码: 3582a1dfbb174d84aac9f465b7180b50
2025-12-23 17:41:24.092 [http-nio-8082-exec-10] DEBUG c.mtkj.mtpay.mapper.MtProductLinkMapper.selectList - ==> Preparing: SELECT id,product_id,link_code,full_url,expire_days,expire_time,status,create_time,update_time FROM mt_product_link WHERE (link_code = ?) LIMIT 1
2025-12-23 17:41:24.093 [http-nio-8082-exec-10] DEBUG c.mtkj.mtpay.mapper.MtProductLinkMapper.selectList - ==> Parameters: 3582a1dfbb174d84aac9f465b7180b50(String)
2025-12-23 17:41:24.130 [http-nio-8082-exec-10] DEBUG c.mtkj.mtpay.mapper.MtProductLinkMapper.selectList - <== Total: 1
2025-12-23 17:41:24.131 [http-nio-8082-exec-10] DEBUG com.mtkj.mtpay.service.impl.ProductServiceImpl - 根据链接码获取商品ID成功链接码: 3582a1dfbb174d84aac9f465b7180b50, 商品ID: 1
2025-12-23 17:41:24.131 [http-nio-8082-exec-10] DEBUG com.mtkj.mtpay.service.impl.ProductServiceImpl - 查询商品详情商品ID: 1
2025-12-23 17:41:24.131 [http-nio-8082-exec-10] DEBUG com.mtkj.mtpay.mapper.MtProductMapper.selectById - ==> Preparing: SELECT id,name,price,main_image,status,shop_id,create_time,update_time FROM mt_product WHERE id=?
2025-12-23 17:41:24.131 [http-nio-8082-exec-10] DEBUG com.mtkj.mtpay.mapper.MtProductMapper.selectById - ==> Parameters: 1(Long)
2025-12-23 17:41:24.174 [http-nio-8082-exec-10] DEBUG com.mtkj.mtpay.mapper.MtProductMapper.selectById - <== Total: 1
2025-12-23 17:41:24.174 [http-nio-8082-exec-10] DEBUG c.mtkj.mtpay.mapper.MtProductSkuMapper.selectList - ==> Preparing: SELECT id,product_id,sku,price,currency,stock,sales_attrs,sku_image,weight,size,specification,status,create_time,update_time FROM mt_product_sku WHERE (product_id = ? AND status = ?)
2025-12-23 17:41:24.174 [http-nio-8082-exec-10] DEBUG c.mtkj.mtpay.mapper.MtProductSkuMapper.selectList - ==> Parameters: 1(Long), ACTIVE(String)
2025-12-23 17:41:24.231 [http-nio-8082-exec-10] DEBUG c.mtkj.mtpay.mapper.MtProductSkuMapper.selectList - <== Total: 15
2025-12-23 17:41:24.231 [http-nio-8082-exec-10] DEBUG com.mtkj.mtpay.service.impl.ProductServiceImpl - 查询到商品SKU数量: 15, 商品ID: 1
2025-12-23 17:41:24.231 [http-nio-8082-exec-10] DEBUG com.mtkj.mtpay.service.impl.ProductServiceImpl - 解析商品主图(多图),数量: 5
2025-12-23 17:41:24.231 [http-nio-8082-exec-10] INFO com.mtkj.mtpay.service.impl.ProductServiceImpl - 获取商品详情成功商品ID: 1, 商品名称: 名创优品毛巾女2025新款洗澡男士浴巾比全棉100纯棉吸水干发成人, SKU数量: 15, 主图数量: 5
2025-12-23 17:45:57.965 [http-nio-8082-exec-1] INFO com.mtkj.mtpay.controller.ProductController - 根据链接码获取商品详情链接码3582a1dfbb174d84aac9f465b7180b50
2025-12-23 17:45:57.967 [http-nio-8082-exec-1] DEBUG com.mtkj.mtpay.service.impl.ProductServiceImpl - 根据链接码获取商品ID链接码: 3582a1dfbb174d84aac9f465b7180b50
2025-12-23 17:45:57.967 [http-nio-8082-exec-1] DEBUG c.mtkj.mtpay.service.impl.ProductLinkServiceImpl - 根据链接码获取商品链接,链接码: 3582a1dfbb174d84aac9f465b7180b50
2025-12-23 17:45:58.004 [http-nio-8082-exec-1] DEBUG c.mtkj.mtpay.mapper.MtProductLinkMapper.selectList - ==> Preparing: SELECT id,product_id,link_code,full_url,expire_days,expire_time,status,create_time,update_time FROM mt_product_link WHERE (link_code = ?) LIMIT 1
2025-12-23 17:45:58.004 [http-nio-8082-exec-1] DEBUG c.mtkj.mtpay.mapper.MtProductLinkMapper.selectList - ==> Parameters: 3582a1dfbb174d84aac9f465b7180b50(String)
2025-12-23 17:45:58.043 [http-nio-8082-exec-1] DEBUG c.mtkj.mtpay.mapper.MtProductLinkMapper.selectList - <== Total: 1
2025-12-23 17:45:58.043 [http-nio-8082-exec-1] DEBUG com.mtkj.mtpay.service.impl.ProductServiceImpl - 根据链接码获取商品ID成功链接码: 3582a1dfbb174d84aac9f465b7180b50, 商品ID: 1
2025-12-23 17:45:58.043 [http-nio-8082-exec-1] DEBUG com.mtkj.mtpay.service.impl.ProductServiceImpl - 查询商品详情商品ID: 1
2025-12-23 17:45:58.044 [http-nio-8082-exec-1] DEBUG com.mtkj.mtpay.mapper.MtProductMapper.selectById - ==> Preparing: SELECT id,name,price,main_image,status,shop_id,create_time,update_time FROM mt_product WHERE id=?
2025-12-23 17:45:58.044 [http-nio-8082-exec-1] DEBUG com.mtkj.mtpay.mapper.MtProductMapper.selectById - ==> Parameters: 1(Long)
2025-12-23 17:45:58.082 [http-nio-8082-exec-1] DEBUG com.mtkj.mtpay.mapper.MtProductMapper.selectById - <== Total: 1
2025-12-23 17:45:58.083 [http-nio-8082-exec-1] DEBUG c.mtkj.mtpay.mapper.MtProductSkuMapper.selectList - ==> Preparing: SELECT id,product_id,sku,price,currency,stock,sales_attrs,sku_image,weight,size,specification,status,create_time,update_time FROM mt_product_sku WHERE (product_id = ? AND status = ?)
2025-12-23 17:45:58.083 [http-nio-8082-exec-1] DEBUG c.mtkj.mtpay.mapper.MtProductSkuMapper.selectList - ==> Parameters: 1(Long), ACTIVE(String)
2025-12-23 17:45:58.126 [http-nio-8082-exec-1] DEBUG c.mtkj.mtpay.mapper.MtProductSkuMapper.selectList - <== Total: 15
2025-12-23 17:45:58.127 [http-nio-8082-exec-1] DEBUG com.mtkj.mtpay.service.impl.ProductServiceImpl - 查询到商品SKU数量: 15, 商品ID: 1
2025-12-23 17:45:58.127 [http-nio-8082-exec-1] DEBUG com.mtkj.mtpay.service.impl.ProductServiceImpl - 解析商品主图(多图),数量: 5
2025-12-23 17:45:58.128 [http-nio-8082-exec-1] INFO com.mtkj.mtpay.service.impl.ProductServiceImpl - 获取商品详情成功商品ID: 1, 商品名称: 名创优品毛巾女2025新款洗澡男士浴巾比全棉100纯棉吸水干发成人, SKU数量: 15, 主图数量: 5
2025-12-23 17:45:58.376 [http-nio-8082-exec-2] INFO com.mtkj.mtpay.controller.ProductController - 根据链接码获取商品详情链接码3582a1dfbb174d84aac9f465b7180b50
2025-12-23 17:45:58.376 [http-nio-8082-exec-2] DEBUG com.mtkj.mtpay.service.impl.ProductServiceImpl - 根据链接码获取商品ID链接码: 3582a1dfbb174d84aac9f465b7180b50
2025-12-23 17:45:58.376 [http-nio-8082-exec-2] DEBUG c.mtkj.mtpay.service.impl.ProductLinkServiceImpl - 根据链接码获取商品链接,链接码: 3582a1dfbb174d84aac9f465b7180b50
2025-12-23 17:45:58.377 [http-nio-8082-exec-2] DEBUG c.mtkj.mtpay.mapper.MtProductLinkMapper.selectList - ==> Preparing: SELECT id,product_id,link_code,full_url,expire_days,expire_time,status,create_time,update_time FROM mt_product_link WHERE (link_code = ?) LIMIT 1
2025-12-23 17:45:58.377 [http-nio-8082-exec-2] DEBUG c.mtkj.mtpay.mapper.MtProductLinkMapper.selectList - ==> Parameters: 3582a1dfbb174d84aac9f465b7180b50(String)
2025-12-23 17:45:58.415 [http-nio-8082-exec-2] DEBUG c.mtkj.mtpay.mapper.MtProductLinkMapper.selectList - <== Total: 1
2025-12-23 17:45:58.415 [http-nio-8082-exec-2] DEBUG com.mtkj.mtpay.service.impl.ProductServiceImpl - 根据链接码获取商品ID成功链接码: 3582a1dfbb174d84aac9f465b7180b50, 商品ID: 1
2025-12-23 17:45:58.415 [http-nio-8082-exec-2] DEBUG com.mtkj.mtpay.service.impl.ProductServiceImpl - 查询商品详情商品ID: 1
2025-12-23 17:45:58.415 [http-nio-8082-exec-2] DEBUG com.mtkj.mtpay.mapper.MtProductMapper.selectById - ==> Preparing: SELECT id,name,price,main_image,status,shop_id,create_time,update_time FROM mt_product WHERE id=?
2025-12-23 17:45:58.416 [http-nio-8082-exec-2] DEBUG com.mtkj.mtpay.mapper.MtProductMapper.selectById - ==> Parameters: 1(Long)
2025-12-23 17:45:58.454 [http-nio-8082-exec-2] DEBUG com.mtkj.mtpay.mapper.MtProductMapper.selectById - <== Total: 1
2025-12-23 17:45:58.456 [http-nio-8082-exec-2] DEBUG c.mtkj.mtpay.mapper.MtProductSkuMapper.selectList - ==> Preparing: SELECT id,product_id,sku,price,currency,stock,sales_attrs,sku_image,weight,size,specification,status,create_time,update_time FROM mt_product_sku WHERE (product_id = ? AND status = ?)
2025-12-23 17:45:58.456 [http-nio-8082-exec-2] DEBUG c.mtkj.mtpay.mapper.MtProductSkuMapper.selectList - ==> Parameters: 1(Long), ACTIVE(String)
2025-12-23 17:45:58.506 [http-nio-8082-exec-2] DEBUG c.mtkj.mtpay.mapper.MtProductSkuMapper.selectList - <== Total: 15
2025-12-23 17:45:58.506 [http-nio-8082-exec-2] DEBUG com.mtkj.mtpay.service.impl.ProductServiceImpl - 查询到商品SKU数量: 15, 商品ID: 1
2025-12-23 17:45:58.506 [http-nio-8082-exec-2] DEBUG com.mtkj.mtpay.service.impl.ProductServiceImpl - 解析商品主图(多图),数量: 5
2025-12-23 17:45:58.507 [http-nio-8082-exec-2] INFO com.mtkj.mtpay.service.impl.ProductServiceImpl - 获取商品详情成功商品ID: 1, 商品名称: 名创优品毛巾女2025新款洗澡男士浴巾比全棉100纯棉吸水干发成人, SKU数量: 15, 主图数量: 5
2025-12-23 17:47:57.722 [http-nio-8082-exec-3] INFO com.mtkj.mtpay.controller.ProductController - 根据链接码获取商品详情链接码3582a1dfbb174d84aac9f465b7180b50
2025-12-23 17:47:57.722 [http-nio-8082-exec-3] DEBUG com.mtkj.mtpay.service.impl.ProductServiceImpl - 根据链接码获取商品ID链接码: 3582a1dfbb174d84aac9f465b7180b50
2025-12-23 17:47:57.722 [http-nio-8082-exec-3] DEBUG c.mtkj.mtpay.service.impl.ProductLinkServiceImpl - 根据链接码获取商品链接,链接码: 3582a1dfbb174d84aac9f465b7180b50
2025-12-23 17:47:57.761 [http-nio-8082-exec-3] DEBUG c.mtkj.mtpay.mapper.MtProductLinkMapper.selectList - ==> Preparing: SELECT id,product_id,link_code,full_url,expire_days,expire_time,status,create_time,update_time FROM mt_product_link WHERE (link_code = ?) LIMIT 1
2025-12-23 17:47:57.762 [http-nio-8082-exec-3] DEBUG c.mtkj.mtpay.mapper.MtProductLinkMapper.selectList - ==> Parameters: 3582a1dfbb174d84aac9f465b7180b50(String)
2025-12-23 17:47:57.801 [http-nio-8082-exec-3] DEBUG c.mtkj.mtpay.mapper.MtProductLinkMapper.selectList - <== Total: 1
2025-12-23 17:47:57.801 [http-nio-8082-exec-3] DEBUG com.mtkj.mtpay.service.impl.ProductServiceImpl - 根据链接码获取商品ID成功链接码: 3582a1dfbb174d84aac9f465b7180b50, 商品ID: 1
2025-12-23 17:47:57.802 [http-nio-8082-exec-3] DEBUG com.mtkj.mtpay.service.impl.ProductServiceImpl - 查询商品详情商品ID: 1
2025-12-23 17:47:57.802 [http-nio-8082-exec-3] DEBUG com.mtkj.mtpay.mapper.MtProductMapper.selectById - ==> Preparing: SELECT id,name,price,main_image,status,shop_id,create_time,update_time FROM mt_product WHERE id=?
2025-12-23 17:47:57.802 [http-nio-8082-exec-3] DEBUG com.mtkj.mtpay.mapper.MtProductMapper.selectById - ==> Parameters: 1(Long)
2025-12-23 17:47:57.839 [http-nio-8082-exec-3] DEBUG com.mtkj.mtpay.mapper.MtProductMapper.selectById - <== Total: 1
2025-12-23 17:47:57.840 [http-nio-8082-exec-3] DEBUG c.mtkj.mtpay.mapper.MtProductSkuMapper.selectList - ==> Preparing: SELECT id,product_id,sku,price,currency,stock,sales_attrs,sku_image,weight,size,specification,status,create_time,update_time FROM mt_product_sku WHERE (product_id = ? AND status = ?)
2025-12-23 17:47:57.840 [http-nio-8082-exec-3] DEBUG c.mtkj.mtpay.mapper.MtProductSkuMapper.selectList - ==> Parameters: 1(Long), ACTIVE(String)
2025-12-23 17:47:57.879 [http-nio-8082-exec-3] DEBUG c.mtkj.mtpay.mapper.MtProductSkuMapper.selectList - <== Total: 15
2025-12-23 17:47:57.879 [http-nio-8082-exec-3] DEBUG com.mtkj.mtpay.service.impl.ProductServiceImpl - 查询到商品SKU数量: 15, 商品ID: 1
2025-12-23 17:47:57.879 [http-nio-8082-exec-3] DEBUG com.mtkj.mtpay.service.impl.ProductServiceImpl - 解析商品主图(多图),数量: 5
2025-12-23 17:47:57.879 [http-nio-8082-exec-3] INFO com.mtkj.mtpay.service.impl.ProductServiceImpl - 获取商品详情成功商品ID: 1, 商品名称: 名创优品毛巾女2025新款洗澡男士浴巾比全棉100纯棉吸水干发成人, SKU数量: 15, 主图数量: 5
2025-12-23 17:52:08.102 [http-nio-8082-exec-4] INFO com.mtkj.mtpay.controller.CustomerOrderController - 创建客户订单请求CreateCustomerOrderRequestDTO(productId=1, skuId=6, quantity=1, customerName=邱斌, customerPhone=18969599531, customerEmail=18969599531@163.com, shippingName=邱斌, shippingPhone=18969599531, shippingCountry=CN, shippingState=浙江省, shippingCity=丽水市, shippingStreet=丽水市莲都区万象街道晶都步行街阿姨奶茶隔壁潮童馆, shippingPostcode=323000, remark=null)
2025-12-23 17:52:08.185 [http-nio-8082-exec-4] INFO c.mtkj.mtpay.service.impl.CustomerOrderServiceImpl - 创建客户订单商品ID: 1, SKU ID: 6, 数量: 1
2025-12-23 17:52:08.185 [http-nio-8082-exec-4] DEBUG com.mtkj.mtpay.mapper.MtProductMapper.selectById - ==> Preparing: SELECT id,name,price,main_image,status,shop_id,create_time,update_time FROM mt_product WHERE id=?
2025-12-23 17:52:08.185 [http-nio-8082-exec-4] DEBUG com.mtkj.mtpay.mapper.MtProductMapper.selectById - ==> Parameters: 1(Long)
2025-12-23 17:52:08.226 [http-nio-8082-exec-4] DEBUG com.mtkj.mtpay.mapper.MtProductMapper.selectById - <== Total: 1
2025-12-23 17:52:08.226 [http-nio-8082-exec-4] DEBUG c.mtkj.mtpay.mapper.MtProductSkuMapper.selectById - ==> Preparing: SELECT id,product_id,sku,price,currency,stock,sales_attrs,sku_image,weight,size,specification,status,create_time,update_time FROM mt_product_sku WHERE id=?
2025-12-23 17:52:08.227 [http-nio-8082-exec-4] DEBUG c.mtkj.mtpay.mapper.MtProductSkuMapper.selectById - ==> Parameters: 6(Long)
2025-12-23 17:52:08.264 [http-nio-8082-exec-4] DEBUG c.mtkj.mtpay.mapper.MtProductSkuMapper.selectById - <== Total: 1
2025-12-23 17:52:08.265 [http-nio-8082-exec-4] DEBUG com.mtkj.mtpay.util.OrderIdGenerator - 生成商户订单号: MTN17664835282648453
2025-12-23 17:52:08.271 [http-nio-8082-exec-4] DEBUG com.mtkj.mtpay.config.MyMetaObjectHandler - 开始插入填充...
2025-12-23 17:52:08.271 [http-nio-8082-exec-4] DEBUG com.mtkj.mtpay.mapper.CustomerOrderMapper.insert - ==> Preparing: INSERT INTO customer_order ( order_no, product_id, product_name, sku_id, sku_name, quantity, unit_price, total_amount, currency, original_currency, original_amount, payment_currency, payment_amount, exchange_rate, status, customer_name, customer_phone, customer_email, shipping_name, shipping_phone, shipping_country, shipping_state, shipping_city, shipping_street, shipping_postcode, payment_status, create_time, update_time ) VALUES ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ? )
2025-12-23 17:52:08.273 [http-nio-8082-exec-4] DEBUG com.mtkj.mtpay.mapper.CustomerOrderMapper.insert - ==> Parameters: MTN17664835282648453(String), 1(Long), 名创优品毛巾女2025新款洗澡男士浴巾比全棉100纯棉吸水干发成人(String), 6(Long), 【✅性价比首选】米白色+米白色+浅水蓝【⭐毛巾实惠3条装】(String), 1(Integer), 13.31(BigDecimal), 13.31(BigDecimal), MYR(String), MYR(String), 13.31(BigDecimal), MYR(String), 13.31(BigDecimal), 1(BigDecimal), PENDING(String), 邱斌(String), 18969599531(String), 18969599531@163.com(String), 邱斌(String), 18969599531(String), CN(String), 浙江省(String), 丽水市(String), 丽水市莲都区万象街道晶都步行街阿姨奶茶隔壁潮童馆(String), 323000(String), UNPAID(String), 2025-12-23T17:52:08.271674800(LocalDateTime), 2025-12-23T17:52:08.271674800(LocalDateTime)
2025-12-23 17:52:08.348 [http-nio-8082-exec-4] DEBUG com.mtkj.mtpay.mapper.CustomerOrderMapper.insert - <== Updates: 1
2025-12-23 17:52:08.351 [http-nio-8082-exec-4] INFO c.mtkj.mtpay.service.impl.CustomerOrderServiceImpl - 客户订单创建成功订单ID: 10, 订单号: MTN17664835282648453
2025-12-23 17:52:08.519 [http-nio-8082-exec-5] INFO com.mtkj.mtpay.controller.CustomerOrderController - 获取订单详情订单号MTN17664835282648453
2025-12-23 17:52:08.519 [http-nio-8082-exec-5] DEBUG c.mtkj.mtpay.service.impl.CustomerOrderServiceImpl - 查询订单,订单号: MTN17664835282648453
2025-12-23 17:52:08.521 [http-nio-8082-exec-5] DEBUG c.mtkj.mtpay.mapper.CustomerOrderMapper.selectList - ==> Preparing: SELECT id,order_no,product_id,product_name,sku_id,sku_name,quantity,unit_price,total_amount,currency,original_currency,original_amount,payment_currency,payment_amount,exchange_rate,rate_locked_at,status,customer_name,customer_phone,customer_email,shipping_name,shipping_phone,shipping_country,shipping_state,shipping_city,shipping_street,shipping_postcode,payment_order_id,payment_status,remark,create_time,update_time FROM customer_order WHERE (order_no = ?)
2025-12-23 17:52:08.521 [http-nio-8082-exec-5] DEBUG c.mtkj.mtpay.mapper.CustomerOrderMapper.selectList - ==> Parameters: MTN17664835282648453(String)
2025-12-23 17:52:08.557 [http-nio-8082-exec-5] DEBUG c.mtkj.mtpay.mapper.CustomerOrderMapper.selectList - <== Total: 1
2025-12-23 17:52:08.570 [http-nio-8082-exec-6] INFO com.mtkj.mtpay.controller.CustomerOrderController - 计算订单货币转换信息订单号MTN17664835282648453原始货币MYR原始金额13.31
2025-12-23 17:52:08.570 [http-nio-8082-exec-6] INFO com.mtkj.mtpay.controller.CustomerOrderController - 货币转换13.31 MYR -> 3.2638548307994113 USD (汇率: 0.24521824423737124)
2025-12-23 17:52:08.570 [http-nio-8082-exec-6] INFO c.mtkj.mtpay.service.impl.CustomerOrderServiceImpl - 更新订单货币转换信息,订单号: MTN17664835282648453, 原始: 13.31 MYR, 支付: 3.2638548307994113 USD (汇率: 0.24521824423737124)
2025-12-23 17:52:08.570 [http-nio-8082-exec-6] DEBUG c.mtkj.mtpay.mapper.CustomerOrderMapper.selectList - ==> Preparing: SELECT id,order_no,product_id,product_name,sku_id,sku_name,quantity,unit_price,total_amount,currency,original_currency,original_amount,payment_currency,payment_amount,exchange_rate,rate_locked_at,status,customer_name,customer_phone,customer_email,shipping_name,shipping_phone,shipping_country,shipping_state,shipping_city,shipping_street,shipping_postcode,payment_order_id,payment_status,remark,create_time,update_time FROM customer_order WHERE (order_no = ?)
2025-12-23 17:52:08.571 [http-nio-8082-exec-6] DEBUG c.mtkj.mtpay.mapper.CustomerOrderMapper.selectList - ==> Parameters: MTN17664835282648453(String)
2025-12-23 17:52:08.646 [http-nio-8082-exec-6] DEBUG c.mtkj.mtpay.mapper.CustomerOrderMapper.selectList - <== Total: 1
2025-12-23 17:52:08.646 [http-nio-8082-exec-6] DEBUG com.mtkj.mtpay.config.MyMetaObjectHandler - 开始更新填充...
2025-12-23 17:52:08.646 [http-nio-8082-exec-6] DEBUG c.mtkj.mtpay.mapper.CustomerOrderMapper.updateById - ==> Preparing: UPDATE customer_order SET order_no=?, product_id=?, product_name=?, sku_id=?, sku_name=?, quantity=?, unit_price=?, total_amount=?, currency=?, original_currency=?, original_amount=?, payment_currency=?, payment_amount=?, exchange_rate=?, rate_locked_at=?, status=?, customer_name=?, customer_phone=?, customer_email=?, shipping_name=?, shipping_phone=?, shipping_country=?, shipping_state=?, shipping_city=?, shipping_street=?, shipping_postcode=?, payment_status=?, create_time=?, update_time=? WHERE id=?
2025-12-23 17:52:08.647 [http-nio-8082-exec-6] DEBUG c.mtkj.mtpay.mapper.CustomerOrderMapper.updateById - ==> Parameters: MTN17664835282648453(String), 1(Long), 名创优品毛巾女2025新款洗澡男士浴巾比全棉100纯棉吸水干发成人(String), 6(Long), 【✅性价比首选】米白色+米白色+浅水蓝【⭐毛巾实惠3条装】(String), 1(Integer), 13.31(BigDecimal), 13.31(BigDecimal), MYR(String), MYR(String), 13.31(BigDecimal), USD(String), 3.2638548307994113(BigDecimal), 0.24521824423737124(BigDecimal), 2025-12-23T17:52:08.646121800(LocalDateTime), PENDING(String), 邱斌(String), 18969599531(String), 18969599531@163.com(String), 邱斌(String), 18969599531(String), CN(String), 浙江省(String), 丽水市(String), 丽水市莲都区万象街道晶都步行街阿姨奶茶隔壁潮童馆(String), 323000(String), UNPAID(String), 2025-12-23T17:52:08(LocalDateTime), 2025-12-23T17:52:08(LocalDateTime), 10(Long)
2025-12-23 17:52:09.011 [http-nio-8082-exec-6] DEBUG c.mtkj.mtpay.mapper.CustomerOrderMapper.updateById - <== Updates: 1
2025-12-23 17:52:09.011 [http-nio-8082-exec-6] INFO c.mtkj.mtpay.service.impl.CustomerOrderServiceImpl - 订单货币转换信息更新成功,订单号: MTN17664835282648453
2025-12-23 17:52:09.011 [http-nio-8082-exec-6] INFO com.mtkj.mtpay.controller.CustomerOrderController - 订单货币转换信息已更新订单号MTN17664835282648453
2025-12-23 17:52:41.358 [http-nio-8082-exec-7] INFO com.mtkj.mtpay.controller.ProductController - 根据链接码获取商品详情链接码3582a1dfbb174d84aac9f465b7180b50
2025-12-23 17:52:41.358 [http-nio-8082-exec-7] DEBUG com.mtkj.mtpay.service.impl.ProductServiceImpl - 根据链接码获取商品ID链接码: 3582a1dfbb174d84aac9f465b7180b50
2025-12-23 17:52:41.358 [http-nio-8082-exec-7] DEBUG c.mtkj.mtpay.service.impl.ProductLinkServiceImpl - 根据链接码获取商品链接,链接码: 3582a1dfbb174d84aac9f465b7180b50
2025-12-23 17:52:41.359 [http-nio-8082-exec-7] DEBUG c.mtkj.mtpay.mapper.MtProductLinkMapper.selectList - ==> Preparing: SELECT id,product_id,link_code,full_url,expire_days,expire_time,status,create_time,update_time FROM mt_product_link WHERE (link_code = ?) LIMIT 1
2025-12-23 17:52:41.360 [http-nio-8082-exec-7] DEBUG c.mtkj.mtpay.mapper.MtProductLinkMapper.selectList - ==> Parameters: 3582a1dfbb174d84aac9f465b7180b50(String)
2025-12-23 17:52:41.396 [http-nio-8082-exec-7] DEBUG c.mtkj.mtpay.mapper.MtProductLinkMapper.selectList - <== Total: 1
2025-12-23 17:52:41.396 [http-nio-8082-exec-7] DEBUG com.mtkj.mtpay.service.impl.ProductServiceImpl - 根据链接码获取商品ID成功链接码: 3582a1dfbb174d84aac9f465b7180b50, 商品ID: 1
2025-12-23 17:52:41.396 [http-nio-8082-exec-7] DEBUG com.mtkj.mtpay.service.impl.ProductServiceImpl - 查询商品详情商品ID: 1
2025-12-23 17:52:41.396 [http-nio-8082-exec-7] DEBUG com.mtkj.mtpay.mapper.MtProductMapper.selectById - ==> Preparing: SELECT id,name,price,main_image,status,shop_id,create_time,update_time FROM mt_product WHERE id=?
2025-12-23 17:52:41.397 [http-nio-8082-exec-7] DEBUG com.mtkj.mtpay.mapper.MtProductMapper.selectById - ==> Parameters: 1(Long)
2025-12-23 17:52:41.438 [http-nio-8082-exec-7] DEBUG com.mtkj.mtpay.mapper.MtProductMapper.selectById - <== Total: 1
2025-12-23 17:52:41.439 [http-nio-8082-exec-7] DEBUG c.mtkj.mtpay.mapper.MtProductSkuMapper.selectList - ==> Preparing: SELECT id,product_id,sku,price,currency,stock,sales_attrs,sku_image,weight,size,specification,status,create_time,update_time FROM mt_product_sku WHERE (product_id = ? AND status = ?)
2025-12-23 17:52:41.439 [http-nio-8082-exec-7] DEBUG c.mtkj.mtpay.mapper.MtProductSkuMapper.selectList - ==> Parameters: 1(Long), ACTIVE(String)
2025-12-23 17:52:41.522 [http-nio-8082-exec-7] DEBUG c.mtkj.mtpay.mapper.MtProductSkuMapper.selectList - <== Total: 15
2025-12-23 17:52:41.522 [http-nio-8082-exec-7] DEBUG com.mtkj.mtpay.service.impl.ProductServiceImpl - 查询到商品SKU数量: 15, 商品ID: 1
2025-12-23 17:52:41.522 [http-nio-8082-exec-7] DEBUG com.mtkj.mtpay.service.impl.ProductServiceImpl - 解析商品主图(多图),数量: 5
2025-12-23 17:52:41.523 [http-nio-8082-exec-7] INFO com.mtkj.mtpay.service.impl.ProductServiceImpl - 获取商品详情成功商品ID: 1, 商品名称: 名创优品毛巾女2025新款洗澡男士浴巾比全棉100纯棉吸水干发成人, SKU数量: 15, 主图数量: 5
2025-12-23 17:53:02.924 [http-nio-8082-exec-8] INFO com.mtkj.mtpay.controller.CustomerOrderController - 创建客户订单请求CreateCustomerOrderRequestDTO(productId=1, skuId=3, quantity=1, customerName=邱斌, customerPhone=18969599531, customerEmail=18969599531@163.com, shippingName=邱斌, shippingPhone=18969599531, shippingCountry=CN, shippingState=浙江省, shippingCity=丽水市, shippingStreet=丽水市莲都区万象街道晶都步行街阿姨奶茶隔壁潮童馆, shippingPostcode=323000, remark=null)
2025-12-23 17:53:02.965 [http-nio-8082-exec-8] INFO c.mtkj.mtpay.service.impl.CustomerOrderServiceImpl - 创建客户订单商品ID: 1, SKU ID: 3, 数量: 1
2025-12-23 17:53:02.965 [http-nio-8082-exec-8] DEBUG com.mtkj.mtpay.mapper.MtProductMapper.selectById - ==> Preparing: SELECT id,name,price,main_image,status,shop_id,create_time,update_time FROM mt_product WHERE id=?
2025-12-23 17:53:02.965 [http-nio-8082-exec-8] DEBUG com.mtkj.mtpay.mapper.MtProductMapper.selectById - ==> Parameters: 1(Long)
2025-12-23 17:53:03.007 [http-nio-8082-exec-8] DEBUG com.mtkj.mtpay.mapper.MtProductMapper.selectById - <== Total: 1
2025-12-23 17:53:03.007 [http-nio-8082-exec-8] DEBUG c.mtkj.mtpay.mapper.MtProductSkuMapper.selectById - ==> Preparing: SELECT id,product_id,sku,price,currency,stock,sales_attrs,sku_image,weight,size,specification,status,create_time,update_time FROM mt_product_sku WHERE id=?
2025-12-23 17:53:03.008 [http-nio-8082-exec-8] DEBUG c.mtkj.mtpay.mapper.MtProductSkuMapper.selectById - ==> Parameters: 3(Long)
2025-12-23 17:53:03.044 [http-nio-8082-exec-8] DEBUG c.mtkj.mtpay.mapper.MtProductSkuMapper.selectById - <== Total: 1
2025-12-23 17:53:03.046 [http-nio-8082-exec-8] DEBUG com.mtkj.mtpay.util.OrderIdGenerator - 生成商户订单号: MTN17664835830469402
2025-12-23 17:53:03.046 [http-nio-8082-exec-8] DEBUG com.mtkj.mtpay.config.MyMetaObjectHandler - 开始插入填充...
2025-12-23 17:53:03.046 [http-nio-8082-exec-8] DEBUG com.mtkj.mtpay.mapper.CustomerOrderMapper.insert - ==> Preparing: INSERT INTO customer_order ( order_no, product_id, product_name, sku_id, sku_name, quantity, unit_price, total_amount, currency, original_currency, original_amount, payment_currency, payment_amount, exchange_rate, status, customer_name, customer_phone, customer_email, shipping_name, shipping_phone, shipping_country, shipping_state, shipping_city, shipping_street, shipping_postcode, payment_status, create_time, update_time ) VALUES ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ? )
2025-12-23 17:53:03.047 [http-nio-8082-exec-8] DEBUG com.mtkj.mtpay.mapper.CustomerOrderMapper.insert - ==> Parameters: MTN17664835830469402(String), 1(Long), 名创优品毛巾女2025新款洗澡男士浴巾比全棉100纯棉吸水干发成人(String), 3(Long), 【✅性价比首选】米白色+浅水蓝+天空灰【⭐毛巾实惠3条装】(String), 1(Integer), 101.90(BigDecimal), 101.90(BigDecimal), THB(String), THB(String), 101.90(BigDecimal), THB(String), 101.90(BigDecimal), 1(BigDecimal), PENDING(String), 邱斌(String), 18969599531(String), 18969599531@163.com(String), 邱斌(String), 18969599531(String), CN(String), 浙江省(String), 丽水市(String), 丽水市莲都区万象街道晶都步行街阿姨奶茶隔壁潮童馆(String), 323000(String), UNPAID(String), 2025-12-23T17:53:03.046084100(LocalDateTime), 2025-12-23T17:53:03.046084100(LocalDateTime)
2025-12-23 17:53:03.124 [http-nio-8082-exec-8] DEBUG com.mtkj.mtpay.mapper.CustomerOrderMapper.insert - <== Updates: 1
2025-12-23 17:53:03.125 [http-nio-8082-exec-8] INFO c.mtkj.mtpay.service.impl.CustomerOrderServiceImpl - 客户订单创建成功订单ID: 11, 订单号: MTN17664835830469402
2025-12-23 17:53:03.341 [http-nio-8082-exec-9] INFO com.mtkj.mtpay.controller.CustomerOrderController - 获取订单详情订单号MTN17664835830469402
2025-12-23 17:53:03.341 [http-nio-8082-exec-9] DEBUG c.mtkj.mtpay.service.impl.CustomerOrderServiceImpl - 查询订单,订单号: MTN17664835830469402
2025-12-23 17:53:03.342 [http-nio-8082-exec-9] DEBUG c.mtkj.mtpay.mapper.CustomerOrderMapper.selectList - ==> Preparing: SELECT id,order_no,product_id,product_name,sku_id,sku_name,quantity,unit_price,total_amount,currency,original_currency,original_amount,payment_currency,payment_amount,exchange_rate,rate_locked_at,status,customer_name,customer_phone,customer_email,shipping_name,shipping_phone,shipping_country,shipping_state,shipping_city,shipping_street,shipping_postcode,payment_order_id,payment_status,remark,create_time,update_time FROM customer_order WHERE (order_no = ?)
2025-12-23 17:53:03.342 [http-nio-8082-exec-9] DEBUG c.mtkj.mtpay.mapper.CustomerOrderMapper.selectList - ==> Parameters: MTN17664835830469402(String)
2025-12-23 17:53:03.381 [http-nio-8082-exec-9] DEBUG c.mtkj.mtpay.mapper.CustomerOrderMapper.selectList - <== Total: 1