添加提示
This commit is contained in:
@@ -193,11 +193,11 @@ public class HfPayServiceImpl implements PayService {
|
|||||||
|
|
||||||
} else if ("pending".equals(adapay.get("status"))) {
|
} else if ("pending".equals(adapay.get("status"))) {
|
||||||
resp.put("code", ResultCode.FAIL.code());
|
resp.put("code", ResultCode.FAIL.code());
|
||||||
resp.put("msg", adapay.get("msg"));
|
resp.put("msg", adapay.get("error_msg"));
|
||||||
return resp;
|
return resp;
|
||||||
} else if ("failed".equals(adapay.get("status"))) {
|
} else if ("failed".equals(adapay.get("status"))) {
|
||||||
resp.put("code", ResultCode.FAIL.code());
|
resp.put("code", ResultCode.FAIL.code());
|
||||||
resp.put("msg", adapay.get("msg"));
|
resp.put("msg", adapay.get("error_msg"));
|
||||||
return resp;
|
return resp;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -293,7 +293,7 @@ public class HfPayServiceImpl implements PayService {
|
|||||||
return obj;
|
return obj;
|
||||||
} else {
|
} else {
|
||||||
obj.put("code", ResultCode.FAIL.code());
|
obj.put("code", ResultCode.FAIL.code());
|
||||||
obj.put("msg", object.get("msg"));
|
obj.put("msg", object.get("error_msg"));
|
||||||
return obj;
|
return obj;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user