Skip to content

Commit

Permalink
修改接口地址
Browse files Browse the repository at this point in the history
  • Loading branch information
SuperiorWang committed Aug 2, 2019
1 parent e6b290a commit 16b6eba
Show file tree
Hide file tree
Showing 4 changed files with 36 additions and 4 deletions.
Binary file modified .DS_Store
Binary file not shown.
8 changes: 4 additions & 4 deletions UQPayHostUI/Helpers/UQHttpClient.m
Original file line number Diff line number Diff line change
Expand Up @@ -64,19 +64,19 @@ - (NSString *)getUri {
}

- (NSString *)getUnbindUri {
return [NSString stringWithFormat:@"%@/api/host/revoke",httpClient.uri];
return [NSString stringWithFormat:@"%@/api/hosted/revoke",httpClient.uri];
}

- (NSString *)getBindUri {
return [NSString stringWithFormat:@"%@/api/host/enroll",httpClient.uri];
return [NSString stringWithFormat:@"%@/api/hosted/enroll",httpClient.uri];
}

- (NSString *)getSmsUri {
return [NSString stringWithFormat:@"%@/api/host/otp",httpClient.uri];
return [NSString stringWithFormat:@"%@/api/hosted/otp",httpClient.uri];
}

- (NSString *)getCardListUri {
return [NSString stringWithFormat:@"%@/api/host/cardlist",httpClient.uri];
return [NSString stringWithFormat:@"%@/api/hosted/cardlist",httpClient.uri];
}

- (void)setModelType:(UQClientModelType)modelType {
Expand Down
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -67,5 +67,37 @@
landmarkType = "7">
</BreakpointContent>
</BreakpointProxy>
<BreakpointProxy
BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
<BreakpointContent
shouldBeEnabled = "Yes"
ignoreCount = "0"
continueAfterRunningActions = "No"
filePath = "UQPayHostUI/Helpers/UQHttpClient.m"
timestampString = "586405024.0978971"
startingColumnNumber = "9223372036854775807"
endingColumnNumber = "9223372036854775807"
startingLineNumber = "114"
endingLineNumber = "114"
landmarkName = "+getToken:fail:"
landmarkType = "7">
</BreakpointContent>
</BreakpointProxy>
<BreakpointProxy
BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
<BreakpointContent
shouldBeEnabled = "Yes"
ignoreCount = "0"
continueAfterRunningActions = "No"
filePath = "UQPayHostUI/Helpers/UQHttpClient.m"
timestampString = "586405024.098321"
startingColumnNumber = "9223372036854775807"
endingColumnNumber = "9223372036854775807"
startingLineNumber = "107"
endingLineNumber = "107"
landmarkName = "+getToken:fail:"
landmarkType = "7">
</BreakpointContent>
</BreakpointProxy>
</Breakpoints>
</Bucket>

0 comments on commit 16b6eba

Please sign in to comment.