- mtps code change from string int.
This commit is contained in:
@@ -11,7 +11,7 @@ type OrderController struct {
|
||||
func Error2Response(err error) *mtpsapi.MtpsCallbackResponse {
|
||||
if err != nil {
|
||||
return &mtpsapi.MtpsCallbackResponse{
|
||||
Code: "-1",
|
||||
Code: -1,
|
||||
}
|
||||
}
|
||||
return mtpsapi.SuccessResponse
|
||||
|
||||
Reference in New Issue
Block a user