huangbin 4 лет назад
Родитель
Сommit
3150c06db4
2 измененных файлов с 3 добавлено и 0 удалено
  1. 2 0
      src/services/socket/order/index.ts
  2. 1 0
      src/services/socket/protobuf/buildReq.ts

+ 2 - 0
src/services/socket/order/index.ts

@@ -80,6 +80,7 @@ export const orderReq = (param: orderType.OrderReqType): Promise<string> => {
  */
 export const cancelOrderReq = (param: orderType.CancelOrderReq): Promise<string> => {
     return new Promise((resolve, reject) => {
+        debugger
         const params = {
             protobufName: 'CancelOrderReq',
             funCodeName: 'CancelOrderReq',
@@ -99,6 +100,7 @@ export const cancelOrderReq = (param: orderType.CancelOrderReq): Promise<string>
                 GoodsID: param.GoodsID,
             },
         };
+        console.log('CancelOrderReq', param)
         const package50 = buildProtoReq50(params);
         APP.sendTradingServer(package50, undefined, {
             onSuccess: (res) => {

+ 1 - 0
src/services/socket/protobuf/buildReq.ts

@@ -110,6 +110,7 @@ function buildMsgHead(funCodeName: string, params: IMessageHead) {
  * @param params SoleSearchParam
  */
 function buildSoleProtoReq50(params: SoleSearchParam): Package50 {
+    debugger
     const { protobufName, funCodeName, reqParams, Header } = params;
     // // // 消息头
     // const messageHead = buildMsgHead(funCodeName, headParam);