✨ feat(37需求): 登录页面和加载页面支持上传
This commit is contained in:
@@ -64,15 +64,15 @@ export function getRemoteQrCodeUrl(env: string, fileName: string) {
|
||||
return rplUrl;
|
||||
}
|
||||
|
||||
export function getLocalPopNoticeUrl(curEnv: string) {
|
||||
export function getLocalImgUrl(curEnv: string, type: string) {
|
||||
if(curEnv == 'development') {
|
||||
return './img'
|
||||
} else {
|
||||
return `/zyz_logs/img/popNotice`;
|
||||
return `/zyz_logs/img/${type}`;
|
||||
}
|
||||
}
|
||||
|
||||
export function getRemotePopNoticeUrl(curEnv: string, fileName: string) {
|
||||
const rplUrl = `${getPrefixByEnv(curEnv)}/img/popNotice/` + fileName;
|
||||
export function getRemoteImgUrl(curEnv: string, fileName: string, type: string) {
|
||||
const rplUrl = `${getPrefixByEnv(curEnv)}/img/${type}/` + fileName;
|
||||
return rplUrl;
|
||||
}
|
||||
Reference in New Issue
Block a user