1
This commit is contained in:
@@ -50,14 +50,15 @@ func CallBackResultInfo(err error) *CallBackResult {
|
||||
func CallBackResultSign(err error) *CallBackResult {
|
||||
if err == nil {
|
||||
return &CallBackResult{
|
||||
Success: false,
|
||||
ErrCode: "sign-check-failure",
|
||||
ErrMsg: "",
|
||||
Success: true,
|
||||
ErrCode: "SUCCESS",
|
||||
ErrMsg: err.Error(),
|
||||
}
|
||||
}
|
||||
|
||||
return &CallBackResult{
|
||||
Success: true,
|
||||
ErrCode: "SUCCESS",
|
||||
ErrMsg: err.Error(),
|
||||
Success: false,
|
||||
ErrCode: "sign-check-failure",
|
||||
ErrMsg: "",
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user