修复bug
This commit is contained in:
parent
a37ef07f90
commit
5818ee82ae
|
|
@ -86,7 +86,7 @@ public class FinanceRefundServiceImpl implements IFinanceRefundService {
|
|||
vo.setRefundStatusText(RefundEnum.getRefundStatusMsg(vo.getRefundStatus()));
|
||||
vo.setRefundWayText(PaymentEnum.getPayWayMsg(vo.getRefundWay()));
|
||||
vo.setCreateTime(TimeUtils.timestampToDate(vo.getCreateTime()));
|
||||
vo.setAvatar(UrlUtils.toAbsoluteUrl(vo.getAvatar()));
|
||||
vo.setAvatar(UrlUtils.toAdminAbsoluteUrl(vo.getAvatar()));
|
||||
}
|
||||
|
||||
Map<String, Object> extend = new LinkedHashMap<>();
|
||||
|
|
|
|||
|
|
@ -37,9 +37,9 @@ public class UrlUtils {
|
|||
return RequestUtils.uri() + url;
|
||||
}
|
||||
|
||||
// if (url.startsWith("//*adminapi/")) {
|
||||
// return RequestUtils.uri() + url.replace("/adminapi/", "/api/");
|
||||
// }*/
|
||||
if (url.startsWith("/adminapi/")) {
|
||||
return RequestUtils.uri() + url.replace("/adminapi/", "/api/");
|
||||
}
|
||||
|
||||
String engine = ConfigUtils.get("storage", "default", "local");
|
||||
engine = engine.equals("") ? "local" : engine;
|
||||
|
|
|
|||
Loading…
Reference in New Issue