Commit 3281cc6c authored by 曹云霄's avatar 曹云霄

修改项说明:修改Packaging.sh文件

parent 22fa30c2
...@@ -252,7 +252,7 @@ ...@@ -252,7 +252,7 @@
EmigratedFinishViewController *finish = [[[self class] getLearningCenterStoryboardClass] instantiateViewControllerWithIdentifier:@"EmigratedFinishViewController"]; EmigratedFinishViewController *finish = [[[self class] getLearningCenterStoryboardClass] instantiateViewControllerWithIdentifier:@"EmigratedFinishViewController"];
finish.delegate = self; finish.delegate = self;
finish.preferredContentSize = CGSizeMake(520, 400); finish.preferredContentSize = CGSizeMake(520, 400);
if (self.emigrated.passGrade > allScore) { if (self.emigrated.passGrade > allScore && ![state isEqualToString:@"2"]) {
finish.state = ZERO; finish.state = ZERO;
finish.score = [NSString stringWithFormat:@"%ld",allScore]; finish.score = [NSString stringWithFormat:@"%ld",allScore];
[self showPopoverView:finish]; [self showPopoverView:finish];
......
...@@ -96,8 +96,9 @@ ...@@ -96,8 +96,9 @@
- (void)selectApplicableAction:(UITapGestureRecognizer *)sender - (void)selectApplicableAction:(UITapGestureRecognizer *)sender
{ {
TOPassLevelEntity *entity = self.emigratedResponse.passLevelEntity[sender.view.tag]; TOPassLevelEntity *entity = self.emigratedResponse.passLevelEntity[sender.view.tag];
if ([[self class] compareDateString:entity.endDate]) {
[XBLoadingView showHUDViewWithText:@"已过期"];return;
}
AnswerViewController *answer = [[[self class] getLearningCenterStoryboardClass] instantiateViewControllerWithIdentifier:@"AnswerViewController"]; AnswerViewController *answer = [[[self class] getLearningCenterStoryboardClass] instantiateViewControllerWithIdentifier:@"AnswerViewController"];
answer.delegate = self; answer.delegate = self;
answer.passLevelId = entity.fid; answer.passLevelId = entity.fid;
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
# 工程名 # 工程名
APP_NAME="Lighting" APP_NAME="Lighting"
# 电脑用户名 # 电脑用户名
USER_NAME="caoyunxiao" USER_NAME="z"
# 证书 # 证书
CODE_SIGN_DISTRIBUTION="iPhone Distribution: Shanghai Gomore Information Technology Co.,Ltd" CODE_SIGN_DISTRIBUTION="iPhone Distribution: Shanghai Gomore Information Technology Co.,Ltd"
......
...@@ -576,7 +576,7 @@ ...@@ -576,7 +576,7 @@
+ (BOOL)compareDateString:(NSString *)dateString + (BOOL)compareDateString:(NSString *)dateString
{ {
NSDateFormatter *dateFormatter = [[NSDateFormatter alloc] init]; NSDateFormatter *dateFormatter = [[NSDateFormatter alloc] init];
[dateFormatter setDateFormat:@"yyyy-MM-dd HH:mm:ss"]; [dateFormatter setDateFormat:@"yyyy-MM-dd 23:59:59"];
NSDate *endDate = [dateFormatter dateFromString:dateString]; NSDate *endDate = [dateFormatter dateFromString:dateString];
if ([endDate compare:[NSDate date]] == NSOrderedAscending) { if ([endDate compare:[NSDate date]] == NSOrderedAscending) {
return YES; return YES;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment