Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
红
红星美凯龙管理在线APP IOS
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
张杰
红星美凯龙管理在线APP IOS
Commits
540d7b37
Commit
540d7b37
authored
8 years ago
by
admin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改部分标题
parent
a0998fa6
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
23 additions
and
5 deletions
+23
-5
UserInterfaceState.xcuserstate
...userdata/admin.xcuserdatad/UserInterfaceState.xcuserstate
+0
-0
Url.h
redstar/Classes/Macro/Url.h
+2
-2
AddPictureViewController.m
...ture/AddPicture/ViewController/AddPictureViewController.m
+21
-3
No files found.
redstar.xcworkspace/xcuserdata/admin.xcuserdatad/UserInterfaceState.xcuserstate
View file @
540d7b37
No preview for this file type
This diff is collapsed.
Click to expand it.
redstar/Classes/Macro/Url.h
View file @
540d7b37
...
...
@@ -11,10 +11,10 @@
// url 测试环境
// #define kRedStarURL @"http://218.244.151.129:7580/"
//
#define kRedStarURL @"http://219.235.234.225:7580/"
#define kRedStarURL @"http://219.235.234.225:7580/"
// 最新正式环境
#define kRedStarURL @"http://219.235.234.212:7580/"
//
#define kRedStarURL @"http://219.235.234.212:7580/"
// 检查更新
#define kCheckUpdateURL @"redstar-server/rest/ipapk?type=ipa"
...
...
This diff is collapsed.
Click to expand it.
redstar/Classes/Module/Function/Picture/AddPicture/ViewController/AddPictureViewController.m
View file @
540d7b37
...
...
@@ -50,7 +50,15 @@
UILabel
*
customLab
=
[[
UILabel
alloc
]
initWithFrame
:
CGRectMake
(
0
,
0
,
40
,
30
)];
[
customLab
setTextColor
:[
UIColor
whiteColor
]];
[
customLab
setText
:
@"新增口碑"
];
if
([
self
.
category
isEqualToString
:
@"store"
])
{
[
customLab
setText
:
@"新增口碑随手拍"
];
}
else
if
([
self
.
category
isEqualToString
:
@"casus"
])
{
[
customLab
setText
:
@"新增口碑报道"
];
}
else
{
[
customLab
setText
:
@"新增口碑巡店"
];
}
customLab
.
font
=
[
UIFont
boldSystemFontOfSize
:
19
];
self
.
navigationItem
.
titleView
=
customLab
;
...
...
@@ -385,12 +393,22 @@
url
=
[
url
stringByAddingPercentEscapesUsingEncoding
:
NSUTF8StringEncoding
];
HttpClient
*
http1
=
[[
HttpClient
alloc
]
initWithUrl
:
url
];
[
http1
submitPicturePraiseWithCompletion
:
^
(
id
response
,
NSError
*
error
)
{
NSString
*
message
=
@""
;
if
([
self
.
category
isEqualToString
:
@"store"
])
{
message
=
@"新增口碑随手拍"
;
}
else
if
([
self
.
category
isEqualToString
:
@"casus"
])
{
message
=
@"新增口碑报道"
;
}
else
{
message
=
@"新增口碑巡店"
;
}
if
([
response
[
@"success"
]
boolValue
])
{
UIAlertView
*
alertt
=
[[
UIAlertView
alloc
]
initWithTitle
:
@"提示"
message
:
@"新增口碑成功!"
delegate
:
self
cancelButtonTitle
:
nil
otherButtonTitles
:
@"确定"
,
nil
];
UIAlertView
*
alertt
=
[[
UIAlertView
alloc
]
initWithTitle
:
@"提示"
message
:
[
NSString
stringWithFormat
:
@"%@成功!"
,
message
]
delegate
:
self
cancelButtonTitle
:
nil
otherButtonTitles
:
@"确定"
,
nil
];
alertt
.
tag
=
893323
;
[
alertt
show
];
}
else
{
UIAlertView
*
alertt
=
[[
UIAlertView
alloc
]
initWithTitle
:
@"警告"
message
:
@"新增口碑失败!"
delegate
:
self
cancelButtonTitle
:
nil
otherButtonTitles
:
@"确定"
,
nil
];
UIAlertView
*
alertt
=
[[
UIAlertView
alloc
]
initWithTitle
:
@"警告"
message
:
[
NSString
stringWithFormat
:
@"%@失败!"
,
message
]
delegate
:
self
cancelButtonTitle
:
nil
otherButtonTitles
:
@"确定"
,
nil
];
[
alertt
show
];
}
[
MBProgressHUD
hideHUDForView
:
self
.
view
animated
:
YES
];
...
...
This diff is collapsed.
Click to expand it.
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