com.github.binarywang.wxpay.exception.WxPayException: 必填字段 [spbillCreateIp] 必须提供值
at com.github.binarywang.wxpay.bean.request.BaseWxPayRequest.checkFields(BaseWxPayRequest.java:137) ~[weixin-java-pay-3.3.0.jar!/:na]
at com.github.binarywang.wxpay.bean.request.BaseWxPayRequest.checkAndSign(BaseWxPayRequest.java:227) ~[weixin-java-pay-3.3.0.jar!/:na]
at com.github.binarywang.wxpay.bean.request.WxPayUnifiedOrderRequest.checkAndSign(WxPayUnifiedOrderRequest.java:370) ~[weixin-java-pay-3.3.0.jar!/:na]
at com.github.binarywang.wxpay.service.impl.BaseWxPayServiceImpl.unifiedOrder(BaseWxPayServiceImpl.java:384) ~[weixin-java-pay-3.3.0.jar!/:na]
at com.github.binarywang.wxpay.service.impl.BaseWxPayServiceImpl.createOrder(BaseWxPayServiceImpl.java:302) ~[weixin-java-pay-3.3.0.jar!/:na]
at com.iotechn.unimall.app.api.order.OrderServiceImpl.wxPrepay(OrderServiceImpl.java:466) ~[unimall-app-api-0.0.1-RELEASE.jar!/:0.0.1-RELEASE]
at com.iotechn.unimall.app.api.order.OrderServiceImpl$$FastClassBySpringCGLIB$$60ccb9bb.invoke(<generated>) [unimall-app-api-0.0.1-RELEASE.jar!/:0.0.1-RELEASE]
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) [spring-core-5.2.4.RELEASE.jar!/:5.2.4.RELEASE]
微信小程序支付接口,这个spbillCreateIp 到底是什么?
动态获取ip 写在这个参数里面就行