|
|
@@ -2051,9 +2051,12 @@ repeat:
|
|
|
NSDictionary *jsobj = [NSJSONSerialization JSONObjectWithData:json options:NSJSONReadingMutableLeaves error:&error];
|
|
|
return jsobj;
|
|
|
}
|
|
|
-+(NSDictionary*)request_OrderDetail:(NSString* ) orderid
|
|
|
++(NSDictionary*)request_OrderDetail:(NSMutableDictionary *) params
|
|
|
{
|
|
|
- NSMutableDictionary* params = [[NSMutableDictionary alloc] init];
|
|
|
+// NSMutableDictionary* params = [[NSMutableDictionary alloc] init];
|
|
|
+ if (params == nil) {
|
|
|
+ params = [[NSMutableDictionary alloc] init];
|
|
|
+ }
|
|
|
AppDelegate *appDelegate = (AppDelegate*)[[UIApplication sharedApplication] delegate];
|
|
|
if(appDelegate.user!=nil)
|
|
|
[params setValue:appDelegate.user forKey:@"user"];
|
|
|
@@ -2062,7 +2065,7 @@ repeat:
|
|
|
if(appDelegate.password!=nil)
|
|
|
[params setValue:appDelegate.password forKey:@"password"];
|
|
|
|
|
|
- [params setValue:orderid forKey:@"orderId"];
|
|
|
+
|
|
|
// [params setValue:[NSString stringWithFormat:@"%d",limit ] forKey:@"limit"];
|
|
|
|
|
|
[params setObject:ScreenCodeOrderInfo forKey:kScreenName];
|