Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
T
total
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
张杰
total
Commits
69a02421
Commit
69a02421
authored
Jan 09, 2017
by
曹云霄
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改项说明:修复油价显示bug
parent
8499858c
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
214 additions
and
85 deletions
+214
-85
project.pbxproj
total.xcodeproj/project.pbxproj
+26
-6
NewObtainViewController.m
total/GTOApp/Business/NewObtainViewController.m
+3
-0
NewRequestViewController.m
total/GTOApp/Business/NewRequestViewController.m
+11
-4
QueryModel.h
total/GTOApp/Business/QueryModel.h
+46
-0
QueryModel.m
total/GTOApp/Business/QueryModel.m
+41
-0
SeePriceViewController.m
total/GTOApp/Business/SeePriceViewController.m
+82
-68
PromptTableViewController.m
total/GTOApp/UserUtil/PromptTableViewController.m
+1
-0
Info.plist
total/Info.plist
+2
-2
GTOAppMacro.h
total/Macro/GTOAppMacro.h
+2
-5
No files found.
total.xcodeproj/project.pbxproj
View file @
69a02421
...
@@ -14,6 +14,8 @@
...
@@ -14,6 +14,8 @@
2933CC571D213377000F8EE6
/* OrderDetailsViewController.m in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
2933CC561D213377000F8EE6
/* OrderDetailsViewController.m */
;
};
2933CC571D213377000F8EE6
/* OrderDetailsViewController.m in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
2933CC561D213377000F8EE6
/* OrderDetailsViewController.m */
;
};
2933CC5B1D213AF2000F8EE6
/* SelectOrderViewController.m in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
2933CC5A1D213AF2000F8EE6
/* SelectOrderViewController.m */
;
};
2933CC5B1D213AF2000F8EE6
/* SelectOrderViewController.m in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
2933CC5A1D213AF2000F8EE6
/* SelectOrderViewController.m */
;
};
2933CC5F1D213C41000F8EE6
/* SelectOrderTableViewCell.m in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
2933CC5E1D213C41000F8EE6
/* SelectOrderTableViewCell.m */
;
};
2933CC5F1D213C41000F8EE6
/* SelectOrderTableViewCell.m in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
2933CC5E1D213C41000F8EE6
/* SelectOrderTableViewCell.m */
;
};
293ADF491E23726D005C1AEB
/* NSDictionary+Category.m in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
293ADF481E23726D005C1AEB
/* NSDictionary+Category.m */
;
};
293ADF4D1E2372E8005C1AEB
/* QueryModel.m in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
293ADF4C1E2372E8005C1AEB
/* QueryModel.m */
;
};
294137691D50A17900AA86C3
/* SubTableViewCell.m in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
294137681D50A17900AA86C3
/* SubTableViewCell.m */
;
};
294137691D50A17900AA86C3
/* SubTableViewCell.m in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
294137681D50A17900AA86C3
/* SubTableViewCell.m */
;
};
294154321D1CFBDE00B3B761
/* total_objc_json_client.m in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
294154311D1CFBDE00B3B761
/* total_objc_json_client.m */
;
};
294154321D1CFBDE00B3B761
/* total_objc_json_client.m in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
294154311D1CFBDE00B3B761
/* total_objc_json_client.m */
;
};
294154361D1CFD3000B3B761
/* HttpRequestManager.m in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
294154351D1CFD3000B3B761
/* HttpRequestManager.m */
;
};
294154361D1CFD3000B3B761
/* HttpRequestManager.m in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
294154351D1CFD3000B3B761
/* HttpRequestManager.m */
;
};
...
@@ -348,6 +350,10 @@
...
@@ -348,6 +350,10 @@
2933CC5A1D213AF2000F8EE6
/* SelectOrderViewController.m */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.c.objc
;
path
=
SelectOrderViewController.m
;
sourceTree
=
"<group>"
;
};
2933CC5A1D213AF2000F8EE6
/* SelectOrderViewController.m */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.c.objc
;
path
=
SelectOrderViewController.m
;
sourceTree
=
"<group>"
;
};
2933CC5D1D213C41000F8EE6
/* SelectOrderTableViewCell.h */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.c.h
;
path
=
SelectOrderTableViewCell.h
;
sourceTree
=
"<group>"
;
};
2933CC5D1D213C41000F8EE6
/* SelectOrderTableViewCell.h */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.c.h
;
path
=
SelectOrderTableViewCell.h
;
sourceTree
=
"<group>"
;
};
2933CC5E1D213C41000F8EE6
/* SelectOrderTableViewCell.m */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.c.objc
;
path
=
SelectOrderTableViewCell.m
;
sourceTree
=
"<group>"
;
};
2933CC5E1D213C41000F8EE6
/* SelectOrderTableViewCell.m */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.c.objc
;
path
=
SelectOrderTableViewCell.m
;
sourceTree
=
"<group>"
;
};
293ADF471E23726D005C1AEB
/* NSDictionary+Category.h */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.c.h
;
path
=
"NSDictionary+Category.h"
;
sourceTree
=
"<group>"
;
};
293ADF481E23726D005C1AEB
/* NSDictionary+Category.m */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.c.objc
;
path
=
"NSDictionary+Category.m"
;
sourceTree
=
"<group>"
;
};
293ADF4B1E2372E8005C1AEB
/* QueryModel.h */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.c.h
;
path
=
QueryModel.h
;
sourceTree
=
"<group>"
;
};
293ADF4C1E2372E8005C1AEB
/* QueryModel.m */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.c.objc
;
path
=
QueryModel.m
;
sourceTree
=
"<group>"
;
};
294137671D50A17900AA86C3
/* SubTableViewCell.h */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.c.h
;
path
=
SubTableViewCell.h
;
sourceTree
=
"<group>"
;
};
294137671D50A17900AA86C3
/* SubTableViewCell.h */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.c.h
;
path
=
SubTableViewCell.h
;
sourceTree
=
"<group>"
;
};
294137681D50A17900AA86C3
/* SubTableViewCell.m */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.c.objc
;
path
=
SubTableViewCell.m
;
sourceTree
=
"<group>"
;
};
294137681D50A17900AA86C3
/* SubTableViewCell.m */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.c.objc
;
path
=
SubTableViewCell.m
;
sourceTree
=
"<group>"
;
};
294154301D1CFBDE00B3B761
/* total_objc_json_client.h */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.c.h
;
path
=
total_objc_json_client.h
;
sourceTree
=
"<group>"
;
};
294154301D1CFBDE00B3B761
/* total_objc_json_client.h */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.c.h
;
path
=
total_objc_json_client.h
;
sourceTree
=
"<group>"
;
};
...
@@ -1034,6 +1040,15 @@
...
@@ -1034,6 +1040,15 @@
name
=
view
;
name
=
view
;
sourceTree
=
"<group>"
;
sourceTree
=
"<group>"
;
};
};
293ADF4A1E2372D5005C1AEB
/* Models */
=
{
isa
=
PBXGroup
;
children
=
(
293ADF4B1E2372E8005C1AEB
/* QueryModel.h */
,
293ADF4C1E2372E8005C1AEB
/* QueryModel.m */
,
);
name
=
Models
;
sourceTree
=
"<group>"
;
};
2941542E1D1CFB3300B3B761
/* JSONModel */
=
{
2941542E1D1CFB3300B3B761
/* JSONModel */
=
{
isa
=
PBXGroup
;
isa
=
PBXGroup
;
children
=
(
children
=
(
...
@@ -1264,6 +1279,7 @@
...
@@ -1264,6 +1279,7 @@
children
=
(
children
=
(
29F143B31D18E1C800083975
/* SeePriceViewController.h */
,
29F143B31D18E1C800083975
/* SeePriceViewController.h */
,
29F143B41D18E1C800083975
/* SeePriceViewController.m */
,
29F143B41D18E1C800083975
/* SeePriceViewController.m */
,
293ADF4A1E2372D5005C1AEB
/* Models */
,
29F143D21D18F10000083975
/* view */
,
29F143D21D18F10000083975
/* view */
,
);
);
name
=
"SeePrice(查看油品价格)"
;
name
=
"SeePrice(查看油品价格)"
;
...
@@ -1882,6 +1898,8 @@
...
@@ -1882,6 +1898,8 @@
isa
=
PBXGroup
;
isa
=
PBXGroup
;
children
=
(
children
=
(
3506EDB01BA0194300897EBE
/* NSData+EncodeAdditions.h */
,
3506EDB01BA0194300897EBE
/* NSData+EncodeAdditions.h */
,
293ADF471E23726D005C1AEB
/* NSDictionary+Category.h */
,
293ADF481E23726D005C1AEB
/* NSDictionary+Category.m */
,
3506EDB11BA0194300897EBE
/* NSData+EncodeAdditions.m */
,
3506EDB11BA0194300897EBE
/* NSData+EncodeAdditions.m */
,
3506EDB21BA0194300897EBE
/* NSDate+FormatterAdditions.h */
,
3506EDB21BA0194300897EBE
/* NSDate+FormatterAdditions.h */
,
3506EDB31BA0194300897EBE
/* NSDate+FormatterAdditions.m */
,
3506EDB31BA0194300897EBE
/* NSDate+FormatterAdditions.m */
,
...
@@ -2792,6 +2810,7 @@
...
@@ -2792,6 +2810,7 @@
3506EDD71BA0194300897EBE
/* UIApplication+CheckFirstRun.m in Sources */
,
3506EDD71BA0194300897EBE
/* UIApplication+CheckFirstRun.m in Sources */
,
35EB8E681BE32C2800411E45
/* GTOLicenceBoltView.m in Sources */
,
35EB8E681BE32C2800411E45
/* GTOLicenceBoltView.m in Sources */
,
35E3BB191BF087AE0081232D
/* GTOAlertInfoPatrolPlanViewController.m in Sources */
,
35E3BB191BF087AE0081232D
/* GTOAlertInfoPatrolPlanViewController.m in Sources */
,
293ADF491E23726D005C1AEB
/* NSDictionary+Category.m in Sources */
,
29BE72341D4077BE001D60EE
/* NoteTableViewCell.m in Sources */
,
29BE72341D4077BE001D60EE
/* NoteTableViewCell.m in Sources */
,
3506ED5C1BA0164E00897EBE
/* IBTUITextField.m in Sources */
,
3506ED5C1BA0164E00897EBE
/* IBTUITextField.m in Sources */
,
35EB8E621BE3208500411E45
/* GTOLicence.m in Sources */
,
35EB8E621BE3208500411E45
/* GTOLicence.m in Sources */
,
...
@@ -2805,6 +2824,7 @@
...
@@ -2805,6 +2824,7 @@
35B2E59F1BAC171F00AB8582
/* ICRPlaceholderTextView.m in Sources */
,
35B2E59F1BAC171F00AB8582
/* ICRPlaceholderTextView.m in Sources */
,
35B2E58F1BAC140500AB8582
/* ICRAttachmentUnit.m in Sources */
,
35B2E58F1BAC140500AB8582
/* ICRAttachmentUnit.m in Sources */
,
35D66A401BE75670004476F0
/* GTOLicenceResultTopCellContentView.m in Sources */
,
35D66A401BE75670004476F0
/* GTOLicenceResultTopCellContentView.m in Sources */
,
293ADF4D1E2372E8005C1AEB
/* QueryModel.m in Sources */
,
3506ED4B1BA0164E00897EBE
/* IBTTableViewUserInfo.m in Sources */
,
3506ED4B1BA0164E00897EBE
/* IBTTableViewUserInfo.m in Sources */
,
35B2E5761BAC064600AB8582
/* GTOPatrolPlanInfoItemView.m in Sources */
,
35B2E5761BAC064600AB8582
/* GTOPatrolPlanInfoItemView.m in Sources */
,
29603D831D1CD52B00951670
/* BookingTableViewCell.m in Sources */
,
29603D831D1CD52B00951670
/* BookingTableViewCell.m in Sources */
,
...
@@ -3124,8 +3144,8 @@
...
@@ -3124,8 +3144,8 @@
buildSettings
=
{
buildSettings
=
{
ASSETCATALOG_COMPILER_APPICON_NAME
=
AppIcon
;
ASSETCATALOG_COMPILER_APPICON_NAME
=
AppIcon
;
CLANG_ENABLE_MODULES
=
YES
;
CLANG_ENABLE_MODULES
=
YES
;
CODE_SIGN_IDENTITY
=
"iPhone Developer"
;
CODE_SIGN_IDENTITY
=
"iPhone Developer
: 云霄 曹 (WM8ZU7YY98)
"
;
"CODE_SIGN_IDENTITY[sdk=iphoneos*]"
=
"iPhone Developer"
;
"CODE_SIGN_IDENTITY[sdk=iphoneos*]"
=
"iPhone Developer
: 云霄 曹 (WM8ZU7YY98)
"
;
DEVELOPMENT_TEAM
=
""
;
DEVELOPMENT_TEAM
=
""
;
ENABLE_BITCODE
=
NO
;
ENABLE_BITCODE
=
NO
;
FRAMEWORK_SEARCH_PATHS
=
(
FRAMEWORK_SEARCH_PATHS
=
(
...
@@ -3142,7 +3162,7 @@
...
@@ -3142,7 +3162,7 @@
);
);
PRODUCT_BUNDLE_IDENTIFIER
=
com.gomoe.total
;
PRODUCT_BUNDLE_IDENTIFIER
=
com.gomoe.total
;
PRODUCT_NAME
=
"$(TARGET_NAME)"
;
PRODUCT_NAME
=
"$(TARGET_NAME)"
;
PROVISIONING_PROFILE
=
""
;
PROVISIONING_PROFILE
=
"
c2d977b5-adac-45f6-bfbb-3a53616b54d7
"
;
PROVISIONING_PROFILE_SPECIFIER
=
""
;
PROVISIONING_PROFILE_SPECIFIER
=
""
;
SWIFT_OBJC_BRIDGING_HEADER
=
"total/total-Bridging-Header.h"
;
SWIFT_OBJC_BRIDGING_HEADER
=
"total/total-Bridging-Header.h"
;
SWIFT_OPTIMIZATION_LEVEL
=
"-Onone"
;
SWIFT_OPTIMIZATION_LEVEL
=
"-Onone"
;
...
@@ -3157,8 +3177,8 @@
...
@@ -3157,8 +3177,8 @@
buildSettings
=
{
buildSettings
=
{
ASSETCATALOG_COMPILER_APPICON_NAME
=
AppIcon
;
ASSETCATALOG_COMPILER_APPICON_NAME
=
AppIcon
;
CLANG_ENABLE_MODULES
=
YES
;
CLANG_ENABLE_MODULES
=
YES
;
CODE_SIGN_IDENTITY
=
"iPhone Developer"
;
CODE_SIGN_IDENTITY
=
"iPhone Developer
: 云霄 曹 (WM8ZU7YY98)
"
;
"CODE_SIGN_IDENTITY[sdk=iphoneos*]"
=
"iPhone Developer"
;
"CODE_SIGN_IDENTITY[sdk=iphoneos*]"
=
"iPhone Developer
: 云霄 曹 (WM8ZU7YY98)
"
;
DEVELOPMENT_TEAM
=
""
;
DEVELOPMENT_TEAM
=
""
;
ENABLE_BITCODE
=
NO
;
ENABLE_BITCODE
=
NO
;
FRAMEWORK_SEARCH_PATHS
=
(
FRAMEWORK_SEARCH_PATHS
=
(
...
@@ -3175,7 +3195,7 @@
...
@@ -3175,7 +3195,7 @@
);
);
PRODUCT_BUNDLE_IDENTIFIER
=
com.gomoe.total
;
PRODUCT_BUNDLE_IDENTIFIER
=
com.gomoe.total
;
PRODUCT_NAME
=
"$(TARGET_NAME)"
;
PRODUCT_NAME
=
"$(TARGET_NAME)"
;
PROVISIONING_PROFILE
=
""
;
PROVISIONING_PROFILE
=
"
c2d977b5-adac-45f6-bfbb-3a53616b54d7
"
;
PROVISIONING_PROFILE_SPECIFIER
=
""
;
PROVISIONING_PROFILE_SPECIFIER
=
""
;
SWIFT_OBJC_BRIDGING_HEADER
=
"total/total-Bridging-Header.h"
;
SWIFT_OBJC_BRIDGING_HEADER
=
"total/total-Bridging-Header.h"
;
TARGETED_DEVICE_FAMILY
=
"1,2"
;
TARGETED_DEVICE_FAMILY
=
"1,2"
;
...
...
total/GTOApp/Business/NewObtainViewController.m
View file @
69a02421
...
@@ -556,6 +556,9 @@
...
@@ -556,6 +556,9 @@
#pragma mark -删除区
#pragma mark -删除区
-
(
void
)
deleteSectionAction
:
(
UIButton
*
)
btn
-
(
void
)
deleteSectionAction
:
(
UIButton
*
)
btn
{
{
if
(
self
.
tankNumber
<=
1
)
{
[
IBTLoadingView
showTextOnly
:
@"默认保留一个油罐"
];
return
;
}
NSInteger
index
=
btn
.
tag
;
NSInteger
index
=
btn
.
tag
;
UIAlertController
*
alertView
=
[
UIAlertController
alertControllerWithTitle
:
@"提示"
message
:
@"请确认是否删除"
preferredStyle
:
UIAlertControllerStyleAlert
];
UIAlertController
*
alertView
=
[
UIAlertController
alertControllerWithTitle
:
@"提示"
message
:
@"请确认是否删除"
preferredStyle
:
UIAlertControllerStyleAlert
];
__weak
typeof
(
self
)
weakSelf
=
self
;
__weak
typeof
(
self
)
weakSelf
=
self
;
...
...
total/GTOApp/Business/NewRequestViewController.m
View file @
69a02421
...
@@ -129,7 +129,7 @@
...
@@ -129,7 +129,7 @@
//获取建仓单详情
//获取建仓单详情
if
(
self
.
isSaveDetails
)
{
if
(
self
.
isSaveDetails
)
{
[
self
getOrderDetailsDatas
];
[
self
getOrderDetailsDatas
];
[
self
getOilPriceDatas
];
[
self
getOilPriceDatas
];
}
}
}
}
...
@@ -385,10 +385,11 @@
...
@@ -385,10 +385,11 @@
selectArea
.
title
=
@"选择配送区域"
;
selectArea
.
title
=
@"选择配送区域"
;
NSMutableArray
*
tempArray
=
[
NSMutableArray
array
];
NSMutableArray
*
tempArray
=
[
NSMutableArray
array
];
for
(
NSDictionary
*
dict
in
self
.
distributionArray
)
{
for
(
NSDictionary
*
dict
in
self
.
distributionArray
)
{
[
tempArray
addObject
:
dict
[
@"name"
]];
if
(
!
[
tempArray
containsObject
:
dict
[
@"name"
]])
{
[
tempArray
addObject
:
dict
[
@"name"
]];
}
}
}
selectArea
.
datasArray
=
tempArray
;
selectArea
.
datasArray
=
tempArray
;
//选择配送区后回调
//选择配送区后回调
[
selectArea
setSelectCellTitle
:
^
(
NSString
*
title
,
NSInteger
cellindex
)
{
[
selectArea
setSelectCellTitle
:
^
(
NSString
*
title
,
NSInteger
cellindex
)
{
cell
.
contentLabe
.
text
=
title
?
title
:
@"请选择"
;
cell
.
contentLabe
.
text
=
title
?
title
:
@"请选择"
;
...
@@ -466,8 +467,15 @@
...
@@ -466,8 +467,15 @@
#pragma mark -UITextField监听
#pragma mark -UITextField监听
-
(
void
)
changeTextfieldString
:
(
UITextField
*
)
textField
-
(
void
)
changeTextfieldString
:
(
UITextField
*
)
textField
{
{
if
(
!
self
.
oilPrice
)
{
[
IBTLoadingView
showTextOnly
:
@"油品价格异常"
];
textField
.
text
=
nil
;
return
;
}
if
(
!
[
self
isPureInt
:
textField
.
text
])
{
if
(
!
[
self
isPureInt
:
textField
.
text
])
{
[
IBTLoadingView
showTextOnly
:
@"只支持整数、浮点数"
];
[
IBTLoadingView
showTextOnly
:
@"只支持整数、浮点数"
];
textField
.
text
=
nil
;
return
;
}
}
//申请总额
//申请总额
NumberTableViewCell
*
numberCell
=
[
self
.
createWarehouseTableView
cellForRowAtIndexPath
:[
NSIndexPath
indexPathForRow
:
5
inSection
:
0
]];
NumberTableViewCell
*
numberCell
=
[
self
.
createWarehouseTableView
cellForRowAtIndexPath
:[
NSIndexPath
indexPathForRow
:
5
inSection
:
0
]];
...
@@ -590,7 +598,6 @@
...
@@ -590,7 +598,6 @@
-
(
void
)
commitOrder
-
(
void
)
commitOrder
{
{
__weak
typeof
(
self
)
weakSelf
=
self
;
__weak
typeof
(
self
)
weakSelf
=
self
;
[
self
saveOrderBill
:
NO
returnSaveSateBlock
:
^
(
NSDictionary
*
dict
,
DepotRequestBill
*
orderbBill
)
{
[
self
saveOrderBill
:
NO
returnSaveSateBlock
:
^
(
NSDictionary
*
dict
,
DepotRequestBill
*
orderbBill
)
{
[
IBTLoadingView
showProgressLabel
:
@"提交中..."
];
[
IBTLoadingView
showProgressLabel
:
@"提交中..."
];
...
...
total/GTOApp/Business/QueryModel.h
0 → 100644
View file @
69a02421
//
// QueryModel.h
// total
//
// Created by 曹云霄 on 2017/1/9.
// Copyright © 2017年 Delevin. All rights reserved.
//
#import <JSONModel/JSONModel.h>
@class
Orders
,
Condition
;
@
protocol
Orders
@end
@protocol
Condition
@end
@interface
QueryModel
:
JSONModel
@property
(
nonatomic
,
strong
)
NSArray
<
Orders
>
*
orders
;
@property
(
nonatomic
,
assign
)
NSInteger
pageNumber
;
@property
(
nonatomic
,
assign
)
NSInteger
pageSize
;
@property
(
nonatomic
,
strong
)
NSArray
<
Condition
>
*
conditions
;
@end
@interface
Orders
:
JSONModel
@property
(
nonatomic
,
copy
)
NSString
*
field
;
@property
(
nonatomic
,
copy
)
NSString
*
direction
;
@end
@interface
Condition
:
JSONModel
@property
(
nonatomic
,
copy
)
NSString
*
operation
;
@property
(
nonatomic
,
strong
)
NSArray
<
NSString
*>*
parameters
;
@end
total/GTOApp/Business/QueryModel.m
0 → 100644
View file @
69a02421
//
// QueryModel.m
// total
//
// Created by 曹云霄 on 2017/1/9.
// Copyright © 2017年 Delevin. All rights reserved.
//
#import "QueryModel.h"
@implementation
QueryModel
+
(
BOOL
)
propertyIsOptional
:(
NSString
*
)
propertyName
{
return
YES
;
}
@end
@implementation
Orders
+
(
BOOL
)
propertyIsOptional
:(
NSString
*
)
propertyName
{
return
YES
;
}
@end
@implementation
Condition
+
(
BOOL
)
propertyIsOptional
:(
NSString
*
)
propertyName
{
return
YES
;
}
@end
total/GTOApp/Business/SeePriceViewController.m
View file @
69a02421
...
@@ -13,6 +13,7 @@
...
@@ -13,6 +13,7 @@
#import "CustomSelectCityViewController.h"
#import "CustomSelectCityViewController.h"
#import "WYPopoverController.h"
#import "WYPopoverController.h"
#import "PromptTableViewController.h"
#import "PromptTableViewController.h"
#import "QueryModel.h"
@interface
SeePriceViewController
()
<
UITableViewDelegate
,
UITableViewDataSource
>
@interface
SeePriceViewController
()
<
UITableViewDelegate
,
UITableViewDataSource
>
...
@@ -51,6 +52,11 @@
...
@@ -51,6 +52,11 @@
*/
*/
@property
(
nonatomic
,
strong
)
NSDictionary
*
administrativeArea
;
@property
(
nonatomic
,
strong
)
NSDictionary
*
administrativeArea
;
/**
* 查询油价
*/
@property
(
nonatomic
,
strong
)
QueryModel
*
queryModel
;
@end
@end
...
@@ -113,32 +119,27 @@
...
@@ -113,32 +119,27 @@
#pragma mark -获取配送区域数据、获取行政区域数据
#pragma mark -获取配送区域数据、获取行政区域数据
-
(
void
)
netWorkRequest
-
(
void
)
netWorkRequest
{
{
[
self
.
administrativeArray
removeAllObjects
];
if
(
!
[[
ICRUserUtil
sharedInstance
].
position
isEqualToString
:
@"storer"
])
{
[
self
.
distributionArray
removeAllObjects
];
[
IBTLoadingView
showProgressLabel
:
@"正在加载..."
];
WS
(
weakSelf
);
[
self
.
distributionArray
removeAllObjects
];
[
IBTLoadingView
showProgressLabel
:
@"正在加载..."
];
[
self
.
administrativeArray
removeAllObjects
];
dispatch_queue_t
aQueue
=
dispatch_queue_create
(
"顺序执行"
,
DISPATCH_QUEUE_SERIAL
);
WS
(
weakSelf
);
//创建1个queue group
dispatch_group_t
group
=
dispatch_group_create
();
dispatch_group_t
queueGroup
=
dispatch_group_create
();
dispatch_group_enter
(
group
);
//任务1->获取配送区域
//任务1->获取配送区域
dispatch_group_async
(
queueGroup
,
aQueue
,
^
{
dispatch_suspend
(
aQueue
);
[
HttpRequestManager
requestNetworkwithURL
:[
NSString
stringWithFormat
:
@"%@%@"
,
HTTP_REST_API_BASE_URL
,
DISTRIBUTION
]
withRequestType
:
ONE
withParameter
:
nil
withSuccess
:^
(
id
returnValue
)
{
[
HttpRequestManager
requestNetworkwithURL
:[
NSString
stringWithFormat
:
@"%@%@"
,
HTTP_REST_API_BASE_URL
,
DISTRIBUTION
]
withRequestType
:
ONE
withParameter
:
nil
withSuccess
:^
(
id
returnValue
)
{
dispatch_group_leave
(
group
);
if
([
returnValue
[
@"success"
]
isEqualToNumber
:
@1
])
{
if
([
returnValue
[
@"success"
]
isEqualToNumber
:
@1
])
{
weakSelf
.
distributionArray
=
returnValue
[
@"data"
];
weakSelf
.
distributionArray
=
returnValue
[
@"data"
];
}
}
dispatch_resume
(
aQueue
);
}
withFailed
:^
(
NSError
*
failed
)
{
}
withFailed
:^
(
NSError
*
failed
)
{
dispatch_
resume
(
aQueue
);
dispatch_
group_leave
(
group
);
[
IBTLoadingView
showTextOnly
:
failed
.
localizedDescription
];
[
IBTLoadingView
showTextOnly
:
failed
.
localizedDescription
];
}];
}];
});
//任务2->获取行政区域
//任务2->获取行政区域
dispatch_group_enter
(
group
);
dispatch_group_async
(
queueGroup
,
aQueue
,
^
{
dispatch_suspend
(
aQueue
);
[
HttpRequestManager
requestNetworkwithURL
:[
NSString
stringWithFormat
:
@"%@%@"
,
HTTP_REST_API_BASE_URL
,
ADMINISTRATIVE
]
withRequestType
:
ONE
withParameter
:
nil
withSuccess
:^
(
id
returnValue
)
{
[
HttpRequestManager
requestNetworkwithURL
:[
NSString
stringWithFormat
:
@"%@%@"
,
HTTP_REST_API_BASE_URL
,
ADMINISTRATIVE
]
withRequestType
:
ONE
withParameter
:
nil
withSuccess
:^
(
id
returnValue
)
{
dispatch_resume
(
aQueue
);
dispatch_group_leave
(
group
);
[
IBTLoadingView
hideHUDWithText
:
nil
];
if
([
returnValue
[
@"success"
]
isEqualToNumber
:
@1
])
{
if
([
returnValue
[
@"success"
]
isEqualToNumber
:
@1
])
{
NSArray
*
array
=
returnValue
[
@"data"
];
NSArray
*
array
=
returnValue
[
@"data"
];
NSMutableArray
*
tempArray
=
[
NSMutableArray
array
];
NSMutableArray
*
tempArray
=
[
NSMutableArray
array
];
...
@@ -148,43 +149,40 @@
...
@@ -148,43 +149,40 @@
weakSelf
.
administrativeArray
=
tempArray
;
weakSelf
.
administrativeArray
=
tempArray
;
}
}
}
withFailed
:^
(
NSError
*
failed
)
{
}
withFailed
:^
(
NSError
*
failed
)
{
dispatch_
resume
(
aQueue
);
dispatch_
group_leave
(
group
);
[
IBTLoadingView
showTextOnly
:
failed
.
localizedDescription
];
[
IBTLoadingView
showTextOnly
:
failed
.
localizedDescription
];
}];
}];
});
dispatch_group_notify
(
group
,
dispatch_get_main_queue
(),
^
{
//任务4->获取油价列表/默认加载全部
[
IBTLoadingView
hideHUDWithText
:
nil
];
dispatch_group_async
(
queueGroup
,
aQueue
,
^
{
[
weakSelf
.
seePriceTableview
reloadData
];
NSDictionary
*
queryDictionary
=
nil
;
});
};
//行政区域和配送区域都为一个时,加载数据
if
(
self
.
administrativeArray
.
count
==
1
&&
self
.
distributionArray
.
count
==
1
)
{
Condition
*
condition2
=
[[
Condition
alloc
]
init
];
condition2
.
operation
=
@"deliveryAreaUuidEquals"
;
condition2
.
parameters
=
@[
self
.
distributionArray
[
0
][
@"uuid"
]];
Condition
*
condition3
=
[[
Condition
alloc
]
init
];
condition3
.
operation
=
@"areaUuidEquals"
;
condition3
.
parameters
=
@[
self
.
administrativeArray
[
0
][
@"uuid"
]];
if
([[
ICRUserUtil
sharedInstance
].
position
isEqualToString
:
@"storer"
])
{
if
([[
ICRUserUtil
sharedInstance
].
position
isEqualToString
:
@"storer"
])
{
queryDictionary
=
@{
@"pageSize"
:
@0
,
Condition
*
condition1
=
[[
Condition
alloc
]
init
];
@"orders"
:
@[@{
@"field"
:
@"string"
,
condition1
.
operation
=
@"userId"
;
@"direction"
:
@"asc"
}],
condition1
.
parameters
=
@[[
ICRUserUtil
sharedInstance
].
f_user_uuid
];
@"conditions"
:
@[
self
.
queryModel
.
conditions
=
(
NSArray
<
Condition
>
*
)@[
condition2
,
condition3
,
condition1
];
@{
@"operation"
:
@"userId"
,
}
else
{
@"parameters"
:
@[[
ICRUserUtil
sharedInstance
].
f_user_uuid
]
self
.
queryModel
.
conditions
=
(
NSArray
<
Condition
>
*
)@[
condition2
,
condition3
];
}
],
@"pageNumber"
:
@0
};
}
else
{
queryDictionary
=
@{
@"pageSize"
:
@0
,
@"orders"
:
@[@{
@"field"
:
@"string"
,
@"direction"
:
@"asc"
}],
@"conditions"
:
@[
@{
@"operation"
:
[
NSNull
null
],
@"parameters"
:
[
NSNull
null
]
}
],
@"pageNumber"
:
@0
};
}
}
[
self
getOilPriceDatas
:
queryDictionary
];
[
self
getOilPriceDatas
:[
self
.
queryModel
toDictionary
]
];
}
);
}
}
}
#pragma mark -获取油价数据
#pragma mark -获取油价数据
-
(
void
)
getOilPriceDatas
:
(
NSDictionary
*
)
dict
-
(
void
)
getOilPriceDatas
:
(
NSDictionary
*
)
dict
{
{
WS
(
weakSelf
);
WS
(
weakSelf
);
NSLog
(
@"%@"
,[
dict
JSONString
]);
[
HttpRequestManager
requestNetworkwithURL
:[
NSString
stringWithFormat
:
@"%@%@"
,
HTTP_REST_API_BASE_URL
,
OILPRICE
]
withRequestType
:
ZERO
withParameter
:
dict
withSuccess
:^
(
id
returnValue
)
{
[
HttpRequestManager
requestNetworkwithURL
:[
NSString
stringWithFormat
:
@"%@%@"
,
HTTP_REST_API_BASE_URL
,
OILPRICE
]
withRequestType
:
ZERO
withParameter
:
dict
withSuccess
:^
(
id
returnValue
)
{
[
IBTLoadingView
hideHUDWithText
:
nil
];
[
IBTLoadingView
hideHUDWithText
:
nil
];
...
@@ -217,6 +215,7 @@
...
@@ -217,6 +215,7 @@
}
else
{
}
else
{
SeePriceTableViewCell
*
cell
=
[
tableView
dequeueReusableCellWithIdentifier
:
@"SeePriceTableViewCell"
forIndexPath
:
indexPath
];
SeePriceTableViewCell
*
cell
=
[
tableView
dequeueReusableCellWithIdentifier
:
@"SeePriceTableViewCell"
forIndexPath
:
indexPath
];
cell
.
arrowImageView
.
hidden
=
NO
;
cell
.
arrowImageView
.
hidden
=
NO
;
cell
.
backgroundColor
=
[
UIColor
whiteColor
];
cell
.
distributionAreaContent
.
font
=
[
UIFont
systemFontOfSize
:
15
];
cell
.
distributionAreaContent
.
font
=
[
UIFont
systemFontOfSize
:
15
];
cell
.
distributionAreaLabe
.
text
=
[
self
.
titleArray
objectAtIndex
:
indexPath
.
row
];
cell
.
distributionAreaLabe
.
text
=
[
self
.
titleArray
objectAtIndex
:
indexPath
.
row
];
if
(
indexPath
.
row
!=
0
)
{
if
(
indexPath
.
row
!=
0
)
{
...
@@ -227,18 +226,21 @@
...
@@ -227,18 +226,21 @@
cell
.
backgroundColor
=
RGBA
(
251
,
244
,
228
,
1
);
cell
.
backgroundColor
=
RGBA
(
251
,
244
,
228
,
1
);
cell
.
distributionAreaContent
.
text
=
[
GTOCommonTools
GetCurrenttime
];
cell
.
distributionAreaContent
.
text
=
[
GTOCommonTools
GetCurrenttime
];
cell
.
distributionAreaContent
.
font
=
[
UIFont
systemFontOfSize
:
17
];
cell
.
distributionAreaContent
.
font
=
[
UIFont
systemFontOfSize
:
17
];
}
else
{
cell
.
backgroundColor
=
[
UIColor
whiteColor
];
}
}
//区分是否是油站经理调用
//区分是否是油站经理调用
if
(
user
.
store
Array
.
count
==
1
&&
[[
ICRUserUtil
sharedInstance
].
position
isEqualToString
:
@"storer"
])
{
if
(
self
.
distribution
Array
.
count
==
1
&&
[[
ICRUserUtil
sharedInstance
].
position
isEqualToString
:
@"storer"
])
{
if
(
indexPath
.
row
==
0
)
{
if
(
indexPath
.
row
==
0
)
{
cell
.
distributionAreaContent
.
text
=
user
.
storeArray
[
0
][
@"deliveryArea"
][
@"name"
];
cell
.
distributionAreaContent
.
text
=
self
.
distributionArray
[
0
][
@"name"
];
self
.
distributionArea
=
self
.
distributionArray
[
0
];
cell
.
userInteractionEnabled
=
NO
;
}
}
}
if
(
self
.
administrativeArray
.
count
==
1
&&
[[
ICRUserUtil
sharedInstance
].
position
isEqualToString
:
@"storer"
])
{
if
(
indexPath
.
row
==
1
)
{
if
(
indexPath
.
row
==
1
)
{
cell
.
distributionAreaContent
.
text
=
[
NSString
stringWithFormat
:
@"[%@]%@"
,
user
.
storeArray
[
0
][
@"area"
][
@"uuid"
],
user
.
storeArray
[
0
][
@"area"
][
@"name"
]];
cell
.
distributionAreaContent
.
text
=
[
NSString
stringWithFormat
:
@"[%@]%@"
,
self
.
administrativeArray
[
0
][
@"uuid"
],
self
.
administrativeArray
[
0
][
@"name"
]];
self
.
administrativeArea
=
self
.
administrativeArray
[
0
];
cell
.
userInteractionEnabled
=
NO
;
}
}
cell
.
userInteractionEnabled
=
NO
;
}
}
return
cell
;
return
cell
;
}
}
...
@@ -277,7 +279,6 @@
...
@@ -277,7 +279,6 @@
weakSelf
.
distributionArea
=
[
weakSelf
.
distributionArray
objectAtIndex
:
cellindex
];
weakSelf
.
distributionArea
=
[
weakSelf
.
distributionArray
objectAtIndex
:
cellindex
];
[
weakSelf
getQueryDictionary
]?[
IBTLoadingView
showProgressLabel
:
@"查询中..."
]:
nil
;
[
weakSelf
getQueryDictionary
]?[
IBTLoadingView
showProgressLabel
:
@"查询中..."
]:
nil
;
[
weakSelf
getQueryDictionary
]?[
weakSelf
getOilPriceDatas
:[
weakSelf
getQueryDictionary
]]:
nil
;
[
weakSelf
getQueryDictionary
]?[
weakSelf
getOilPriceDatas
:[
weakSelf
getQueryDictionary
]]:
nil
;
[
weakSelf
dismissViewControllerAnimated
:
YES
completion
:
nil
];
}];
}];
IBTUINavigationController
*
nav
=
[[
IBTUINavigationController
alloc
]
initWithRootViewController
:
selectArea
];
IBTUINavigationController
*
nav
=
[[
IBTUINavigationController
alloc
]
initWithRootViewController
:
selectArea
];
dispatch_async
(
dispatch_get_main_queue
(),
^
{
dispatch_async
(
dispatch_get_main_queue
(),
^
{
...
@@ -301,7 +302,6 @@
...
@@ -301,7 +302,6 @@
weakSelf
.
administrativeArea
=
[
weakSelf
.
administrativeArray
objectAtIndex
:
cellindex
];
weakSelf
.
administrativeArea
=
[
weakSelf
.
administrativeArray
objectAtIndex
:
cellindex
];
[
weakSelf
getQueryDictionary
]?[
IBTLoadingView
showProgressLabel
:
@"查询中..."
]:
nil
;
[
weakSelf
getQueryDictionary
]?[
IBTLoadingView
showProgressLabel
:
@"查询中..."
]:
nil
;
[
weakSelf
getQueryDictionary
]?[
weakSelf
getOilPriceDatas
:[
weakSelf
getQueryDictionary
]]:
nil
;
[
weakSelf
getQueryDictionary
]?[
weakSelf
getOilPriceDatas
:[
weakSelf
getQueryDictionary
]]:
nil
;
[
weakSelf
dismissViewControllerAnimated
:
YES
completion
:
nil
];
}];
}];
IBTUINavigationController
*
nav
=
[[
IBTUINavigationController
alloc
]
initWithRootViewController
:
selectArea
];
IBTUINavigationController
*
nav
=
[[
IBTUINavigationController
alloc
]
initWithRootViewController
:
selectArea
];
dispatch_async
(
dispatch_get_main_queue
(),
^
{
dispatch_async
(
dispatch_get_main_queue
(),
^
{
...
@@ -333,24 +333,38 @@
...
@@ -333,24 +333,38 @@
-
(
NSDictionary
*
)
getQueryDictionary
-
(
NSDictionary
*
)
getQueryDictionary
{
{
if
(
self
.
distributionArea
&&
self
.
administrativeArea
)
{
if
(
self
.
distributionArea
&&
self
.
administrativeArea
)
{
NSDictionary
*
queryDictionary
=
@{
@"pageSize"
:
@999
,
@"orders"
:
@[@{
@"field"
:
@"uuid"
,
Condition
*
condition2
=
[[
Condition
alloc
]
init
];
@"direction"
:
@"asc"
}],
condition2
.
operation
=
@"deliveryAreaUuidEquals"
;
@"conditions"
:
@[
condition2
.
parameters
=
@[
self
.
distributionArea
[
@"uuid"
]];
@{
@"operation"
:
@"deliveryAreaUuidEquals"
,
Condition
*
condition3
=
[[
Condition
alloc
]
init
];
@"parameters"
:
@[
self
.
distributionArea
[
@"uuid"
]]},
condition3
.
operation
=
@"areaUuidEquals"
;
@{
@"operation"
:
@"areaUuidEquals"
,
condition3
.
parameters
=
@[
self
.
administrativeArea
[
@"uuid"
]];
@"parameters"
:
@[
self
.
administrativeArea
[
@"uuid"
]]},
if
([[
ICRUserUtil
sharedInstance
].
position
isEqualToString
:
@"storer"
])
{
@{
@"operation"
:
@"categoryEquals"
,
Condition
*
condition1
=
[[
Condition
alloc
]
init
];
@"parameters"
:
@[
@"salePrice"
]},
condition1
.
operation
=
@"userId"
;
condition1
.
parameters
=
@[[
ICRUserUtil
sharedInstance
].
f_user_uuid
];
],
self
.
queryModel
.
conditions
=
(
NSArray
<
Condition
>
*
)@[
condition2
,
condition3
,
condition1
];
@"pageNumber"
:
@0
};
}
else
{
return
queryDictionary
;
self
.
queryModel
.
conditions
=
(
NSArray
<
Condition
>
*
)@[
condition2
,
condition3
];
}
return
[
self
.
queryModel
toDictionary
];
}
}
return
nil
;
return
nil
;
}
}
#pragma mark -lazy
-
(
QueryModel
*
)
queryModel
{
if
(
!
_queryModel
)
{
_queryModel
=
[[
QueryModel
alloc
]
init
];
_queryModel
.
pageSize
=
999
;
_queryModel
.
pageNumber
=
0
;
}
return
_queryModel
;
}
...
...
total/GTOApp/UserUtil/PromptTableViewController.m
View file @
69a02421
...
@@ -98,6 +98,7 @@
...
@@ -98,6 +98,7 @@
self
.
selectCellTitle
(
self
.
selectTitle
?
self
.
selectTitle
:
self
.
currentTitle
,
self
.
indexpathSelect
.
row
);
self
.
selectCellTitle
(
self
.
selectTitle
?
self
.
selectTitle
:
self
.
currentTitle
,
self
.
indexpathSelect
.
row
);
}
}
}
}
[
self
dismissViewControllerAnimated
:
YES
completion
:
nil
];
}
}
...
...
total/Info.plist
View file @
69a02421
...
@@ -15,11 +15,11 @@
...
@@ -15,11 +15,11 @@
<
k
e
y
>
CFBundlePackageType
<
/k
e
y
>
<
k
e
y
>
CFBundlePackageType
<
/k
e
y
>
<
string
>
APPL
<
/string
>
<
string
>
APPL
<
/string
>
<
k
e
y
>
CFBundleShortVersionString
<
/k
e
y
>
<
k
e
y
>
CFBundleShortVersionString
<
/k
e
y
>
<
string
>
1.2.
7
<
/string
>
<
string
>
1.2.
9
<
/string
>
<
k
e
y
>
CFBundleSignature
<
/k
e
y
>
<
k
e
y
>
CFBundleSignature
<
/k
e
y
>
<
string
>
????
<
/string
>
<
string
>
????
<
/string
>
<
k
e
y
>
CFBundleVersion
<
/k
e
y
>
<
k
e
y
>
CFBundleVersion
<
/k
e
y
>
<
string
>
1.2.
7
<
/string
>
<
string
>
1.2.
9
<
/string
>
<
k
e
y
>
LSRequiresIPhoneOS
<
/k
e
y
>
<
k
e
y
>
LSRequiresIPhoneOS
<
/k
e
y
>
<
tru
e
/
>
<
tru
e
/
>
<
k
e
y
>
NSAppTransportSecurity
<
/k
e
y
>
<
k
e
y
>
NSAppTransportSecurity
<
/k
e
y
>
...
...
total/Macro/GTOAppMacro.h
View file @
69a02421
...
@@ -35,6 +35,7 @@
...
@@ -35,6 +35,7 @@
#import "NSData+EncodeAdditions.h"
#import "NSData+EncodeAdditions.h"
#import "UIScrollView+Content.h"
#import "UIScrollView+Content.h"
#import "GTOCommonTools.h"
#import "GTOCommonTools.h"
#import "NSDictionary+Category.h"
...
@@ -78,7 +79,7 @@
...
@@ -78,7 +79,7 @@
//#define HTTP_REST_API_BASE_URL @"http://218.244.151.129:7580/total-server/rest" //
//#define HTTP_REST_API_BASE_URL @"http://218.244.151.129:7580/total-server/rest" //
//#define HTTP_LOCAL_BASE_URL @"http://218.244.151.129:7580"
//#define HTTP_LOCAL_BASE_URL @"http://218.244.151.129:7580"
//
//
正式环境
//正式环境
//#define HTTP_REST_API_BASE_URL @"http://139.196.39.77:7080/total-server/rest"
//#define HTTP_REST_API_BASE_URL @"http://139.196.39.77:7080/total-server/rest"
//#define HTTP_LOCAL_BASE_URL @"http://139.196.39.77:7080"
//#define HTTP_LOCAL_BASE_URL @"http://139.196.39.77:7080"
...
@@ -86,10 +87,6 @@
...
@@ -86,10 +87,6 @@
//#define HTTP_REST_API_BASE_URL @"http://139.196.39.77:8180/total-server/rest"
//#define HTTP_REST_API_BASE_URL @"http://139.196.39.77:8180/total-server/rest"
//#define HTTP_LOCAL_BASE_URL @"http://139.196.39.77:8180"
//#define HTTP_LOCAL_BASE_URL @"http://139.196.39.77:8180"
//
//测试环境
//#define HTTP_REST_API_BASE_URL @"http://139.196.39.77:8080/total-server/rest"
//开发环境
//开发环境
#define HTTP_LOCAL_BASE_URL @"http://139.196.195.30:8093"
#define HTTP_LOCAL_BASE_URL @"http://139.196.195.30:8093"
#define HTTP_REST_API_BASE_URL @"http://139.196.195.30:8093/total-server/rest"
#define HTTP_REST_API_BASE_URL @"http://139.196.195.30:8093/total-server/rest"
...
...
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