|
@@ -296,7 +296,7 @@
|
|
|
|
|
|
|
|
NSDate * date = [NSDate date];
|
|
NSDate * date = [NSDate date];
|
|
|
NSDateFormatter * dateFormatter = [[NSDateFormatter alloc] init];
|
|
NSDateFormatter * dateFormatter = [[NSDateFormatter alloc] init];
|
|
|
- [dateFormatter setDateFormat:@"YYYYMMddHHmmss"];
|
|
|
|
|
|
|
+ [dateFormatter setDateFormat:@"YYYYMMdd_HHmmssff"];
|
|
|
NSString * name = [[dateFormatter stringFromDate:date] stringByAppendingPathExtension:@"png"];
|
|
NSString * name = [[dateFormatter stringFromDate:date] stringByAppendingPathExtension:@"png"];
|
|
|
name=[self.barcodeTitle stringByAppendingString:name];
|
|
name=[self.barcodeTitle stringByAppendingString:name];
|
|
|
// NSString *name = [[NSUUID UUID] UUIDString];
|
|
// NSString *name = [[NSUUID UUID] UUIDString];
|
|
@@ -557,6 +557,8 @@
|
|
|
// [alert dismissWithClickedButtonIndex:0 animated:YES];
|
|
// [alert dismissWithClickedButtonIndex:0 animated:YES];
|
|
|
int result = [[result_json objectForKey:@"result"] intValue];
|
|
int result = [[result_json objectForKey:@"result"] intValue];
|
|
|
// BOOL rememberLogin = [[strongself userDefaultsValue:kRememberLogin] boolValue];
|
|
// BOOL rememberLogin = [[strongself userDefaultsValue:kRememberLogin] boolValue];
|
|
|
|
|
+// [self addTasks];
|
|
|
|
|
+// return;
|
|
|
switch (result) {
|
|
switch (result) {
|
|
|
case 0:
|
|
case 0:
|
|
|
{
|
|
{
|