Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
ethan
/
appframe
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit 550a8915
authored
2025-12-11 13:49:26 +0800
by
Administrator
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
关于上传资源的路径规则判断优化修正
1 parent
4089376b
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
lib/config/constant.dart
lib/data/repositories/message/upload_file.dart
lib/config/constant.dart
View file @
550a891
...
@@ -46,7 +46,7 @@ class Constant {
...
@@ -46,7 +46,7 @@ class Constant {
/// /////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// /////////////////////////////////////////////////////////////////////////////////////////////////////////////////
///
///
/// app 版本号规则
/// app 版本号规则
static
const
String
appVersion
=
'1.0.2512
09
2'
;
static
const
String
appVersion
=
'1.0.2512
11
2'
;
/// H5的起始终最低版本号规则
/// H5的起始终最低版本号规则
static
const
String
h5Version
=
'1.0.0'
;
static
const
String
h5Version
=
'1.0.0'
;
...
...
lib/data/repositories/message/upload_file.dart
View file @
550a891
...
@@ -324,12 +324,12 @@ class UploadFileHandler extends MessageHandler {
...
@@ -324,12 +324,12 @@ class UploadFileHandler extends MessageHandler {
String
busiCode
=
'
${busi}
_
$subBusi
'
;
String
busiCode
=
'
${busi}
_
$subBusi
'
;
// 属于该特定业务范围的素材,都被看作日后运维可以优先删除的文件,规则:http://wiki.zbuku.cn/confluence/pages/viewpage.action?pageId=137172780
// 属于该特定业务范围的素材,都被看作日后运维可以优先删除的文件,规则:http://wiki.zbuku.cn/confluence/pages/viewpage.action?pageId=137172780
if
(
Constant
.
obsPridelFileConfigs
.
contains
(
busiCode
)){
if
(
Constant
.
obsPridelFileConfigs
.
contains
(
subBusi
.
toLowerCase
()
)){
obsLogicPrefix
=
'
$obsLogicPrefix
/pridel/user/'
;
obsLogicPrefix
=
'
$obsLogicPrefix
/pridel/user/'
;
}
else
{
}
else
{
obsLogicPrefix
=
'
$obsLogicPrefix
/unpridel/user/'
;
obsLogicPrefix
=
'
$obsLogicPrefix
/unpridel/user/'
;
}
}
return
'
$obsLogicPrefix$year$month$day
/app/
$classCode
/
$
{busi}
_
$subBusi
/
$userCode
'
;
return
'
$obsLogicPrefix$year$month$day
/app/
$classCode
/
$
busiCode
/
$userCode
'
;
}
}
String
_addPreUrl
(
String
location
)
{
String
_addPreUrl
(
String
location
)
{
...
...
Write
Preview
Styling with
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment