|
@@ -1,6 +1,7 @@
|
|
|
package com.zswl.cloud.springBtach.server.core.service;
|
|
|
|
|
|
import com.github.microservice.auth.client.content.ResultContent;
|
|
|
+import com.github.microservice.auth.client.content.ResultState;
|
|
|
import com.github.microservice.auth.security.helper.AuthHelper;
|
|
|
import com.zhongshu.payment.client.model.order.AdminSeachOrderModel;
|
|
|
import com.zhongshu.payment.client.model.order.v2.ApplicantRefundParam2Model;
|
|
@@ -42,8 +43,8 @@ public class PaymentService {
|
|
|
String userId = authHelper.getCurrentUser().getUserId();
|
|
|
ResultContent<QueryResponseModel> query = paymentService2.query(userId, orderNo);
|
|
|
QueryResponseModel content = query.getContent();
|
|
|
- if (content.getStatus().equals("TRADE_SUCCESS")) {
|
|
|
|
|
|
+ if (query.getState().equals(ResultState.Success) && content.getStatus().equals("TRADE_SUCCESS")) {
|
|
|
//todo 处理发货
|
|
|
return ResultContent.buildContent(content);
|
|
|
}
|