Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
GeliBusinessPlatform
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
CI / CD Analytics
Repository Analytics
Value Stream Analytics
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ljy
GeliBusinessPlatform
Commits
3154855a
Commit
3154855a
authored
May 28, 2020
by
刘俊宏
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
提交1.0审核版本
parent
097062e8
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
14 additions
and
7 deletions
+14
-7
GeliBusinessPlatform.xcworkspace/xcuserdata/liujunhong.xcuserdatad/UserInterfaceState.xcuserstate
...ata/liujunhong.xcuserdatad/UserInterfaceState.xcuserstate
+0
-0
GeliBusinessPlatform/Define/Define.swift
GeliBusinessPlatform/Define/Define.swift
+4
-3
GeliBusinessPlatform/Other/LMNote/LMNoteViewController.m
GeliBusinessPlatform/Other/LMNote/LMNoteViewController.m
+4
-2
GeliBusinessPlatform/Other/LMNote/OtherViews/LMNImageView.m
GeliBusinessPlatform/Other/LMNote/OtherViews/LMNImageView.m
+3
-1
GeliBusinessPlatform/Other/LMNote/TextView/LMNTextStorage+Export.m
...essPlatform/Other/LMNote/TextView/LMNTextStorage+Export.m
+3
-1
No files found.
GeliBusinessPlatform.xcworkspace/xcuserdata/liujunhong.xcuserdatad/UserInterfaceState.xcuserstate
View file @
3154855a
No preview for this file type
GeliBusinessPlatform/Define/Define.swift
View file @
3154855a
...
...
@@ -27,9 +27,10 @@ let systemVersion = (UIDevice.current.systemVersion as String)
//接口地址
//test
let
SERVERCE_ImageHost
=
"https://z.gelifood.com/"
let
SERVERCE_HOST
=
"https://z.gelifood.com/admin/"
//let SERVERCE_ImageHost = "https://z.gelifood.com/"
//let SERVERCE_HOST = "https://z.gelifood.com/admin/"
let
SERVERCE_ImageHost
=
"https://zx.gelifood.com/"
let
SERVERCE_HOST
=
"https://zx.gelifood.com/admin/"
//online
//let SERVERCE_ImageHost = "https://api.laigewan.com/upload/images/"
//let SERVERCE_HOST = "http://a.gelifood.com/apia"
...
...
GeliBusinessPlatform/Other/LMNote/LMNoteViewController.m
View file @
3154855a
...
...
@@ -319,10 +319,12 @@
NSString
*
index
=
[
NSString
stringWithFormat
:
@"%ld"
,(
content
.
length
+
self
.
imgIndexArr
.
count
)];
[
self
.
imgIndexArr
addObject
:
index
];
}
NSString
*
imgSrc
=
@"https://c.gelifood.com/"
;
// NSString *imgSrc = @"https://c.gelifood.com/";
NSString
*
imgSrc
=
@"https://cms.gelifood.com/"
;
NSString
*
imgurl
=
[
src
stringByReplacingOccurrencesOfString
:
imgSrc
withString
:
@""
];
[
self
.
imgUrlArr
addObject
:
imgurl
];
}
}
}
return
content
;
}
...
...
GeliBusinessPlatform/Other/LMNote/OtherViews/LMNImageView.m
View file @
3154855a
...
...
@@ -81,7 +81,9 @@ static CGFloat const kVerticalMargin = kVerticalInset + kMargin;
}
-
(
void
)
setImageUrl
:(
NSString
*
)
imageUrl
{
_imageUrl
=
imageUrl
;
[
self
.
imageView
sd_setImageWithURL
:[
NSURL
URLWithString
:[
NSString
stringWithFormat
:
@"https://z.gelifood.com/%@"
,
imageUrl
]]
// NSString *imgSrc = @"https://c.gelifood.com/";
NSString
*
imgSrc
=
@"https://cms.gelifood.com/"
;
[
self
.
imageView
sd_setImageWithURL
:[
NSURL
URLWithString
:[
NSString
stringWithFormat
:
@"%@%@"
,
imgSrc
,
imageUrl
]]
placeholderImage:
[
UIImage
imageNamed
:
@"lmn_tool_image"
]
options
:(
SDWebImageRetryFailed
)
completed
:^
(
UIImage
*
image
,
NSError
*
error
,
SDImageCacheType
cacheType
,
NSURL
*
imageURL
)
{
CGSize
size
=
image
.
size
;
...
...
GeliBusinessPlatform/Other/LMNote/TextView/LMNTextStorage+Export.m
View file @
3154855a
...
...
@@ -32,7 +32,9 @@
if
([
line
isKindOfMode
:
LMNLineModeModeImage
])
{
// TODO: 图片部分逻辑未处理。
NSString
*
imgSrc
=
@"https://c.gelifood.com/"
;
// NSString *imgSrc = @"https://c.gelifood.com/";
NSString
*
imgSrc
=
@"https://cms.gelifood.com/"
;
NSString
*
imgUrl
=
self
.
imgArr
[
i
];
i
+=
1
;
[
html
appendFormat
:
@"<p><img src=
\"
%@%@
\"
style=
\"
max-width:100%%;
\"
><br></p>"
,
imgSrc
,
imgUrl
];
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment