|
@@ -30,6 +30,7 @@ import com.gree.mall.manager.enums.OrderShareStatusEnum;
|
|
|
import com.gree.mall.manager.enums.PayStatusEnum;
|
|
|
import com.gree.mall.manager.enums.SettlementStatusNewEnum;
|
|
|
import com.gree.mall.manager.exception.RemoteServiceException;
|
|
|
+import com.gree.mall.manager.helper.ResponseHelper;
|
|
|
import com.gree.mall.manager.plus.entity.*;
|
|
|
import com.gree.mall.manager.plus.service.*;
|
|
|
import com.gree.mall.manager.utils.*;
|
|
@@ -1280,7 +1281,7 @@ public class WechatLogic {
|
|
|
if (payResult == null || WxPayConstants.ResultCode.FAIL.equals(payResult.getReturnCode())) {
|
|
|
|
|
|
if (payResult.getErrCode().equals("USERPAYING"))
|
|
|
- throw new RemoteServiceException("USERPAYING");
|
|
|
+ throw new RemoteServiceException(ResponseHelper.ResponseCode_USER_WAIT,"USERPAYING|"+id);
|
|
|
|
|
|
throw new RemoteServiceException("扫码支付失败,请检查二维码是否正确");
|
|
|
}
|