|
|
@@ -44,12 +44,12 @@ export const logoutResponse = (): Promise<void> => {
|
|
|
const package50 = buildProtoReq50(params);
|
|
|
APP.sendTradingServer(package50, undefined, {
|
|
|
onSuccess: (res) => {
|
|
|
- const { isSuccess, result } = parseProtoRsp50(res, 'LogoutRsp');
|
|
|
- if (isSuccess) {
|
|
|
- resolve(result);
|
|
|
- } else {
|
|
|
- reject(result);
|
|
|
- }
|
|
|
+ // const { isSuccess, result } = parseProtoRsp50(res, 'LogoutRsp');
|
|
|
+ // if (isSuccess) {
|
|
|
+ // resolve(result);
|
|
|
+ // } else {
|
|
|
+ // reject(result);
|
|
|
+ // }
|
|
|
},
|
|
|
onFail: (err) => {
|
|
|
// reject(err);
|