mirror of
https://gitee.com/likeadmin/likeadmin_java.git
synced 2026-05-07 23:57:20 +08:00
修复bug
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user