Sfoglia il codice sorgente

update: 关闭gs出库回调

xyh 2 anni fa
parent
commit
598a2e32bc

+ 10 - 10
packages/app/src/apis/semiManufactures.ts

@@ -89,16 +89,16 @@ export async function semiManufacturesOut(
 
   // 成功后触发成功回传
   // 触发向gs回调接口
-  if (result.msg === '200' && ENABLED_GS) {
-    const {realName} = userStore.getState();
-
-    request({
-      method: 'GET',
-      url: '/gsPlugOut/plugOutRemoval',
-      data: {removalCode: result.data, realName: realName ?? '李兆峰'},
-      skipError: true,
-    });
-  }
+  // if (result.msg === '200' && ENABLED_GS) {
+  //   const {realName} = userStore.getState();
+
+  //   request({
+  //     method: 'GET',
+  //     url: '/gsPlugOut/plugOutRemoval',
+  //     data: {removalCode: result.data, realName: realName ?? '李兆峰'},
+  //     skipError: true,
+  //   });
+  // }
 
   return result;
 }

+ 1 - 1
packages/app/src/utils/constants.ts

@@ -32,7 +32,7 @@ export const MODAL_PAGE_SIZE_LIST = ['5', ...PAGE_SIZE_LIST];
 /** 请求域名 */
 export const NETWORK_URL
   = process.env.NODE_ENV === 'development'
-    ? 'http://192.168.0.147:9560'
+    ? 'http://192.168.0.118:9560'
     : 'http://10.2.111.91:9560';
 export const E2E_NETWORK_URL = 'http://e2e.test.cn';
 /** 导出错误提示 */