fix: 提交日志打印
This commit is contained in:
		
							parent
							
								
									bb08909d3b
								
							
						
					
					
						commit
						e164aa710a
					
				| @ -41,7 +41,7 @@ export default async function writeObjectOutNew(data, filePath): Promise<WR> { | ||||
|   } | ||||
| 
 | ||||
|   // let connectTimeout = sjbs === '02-21-000014' ?60000:1
 | ||||
|   console.info('surenjun', '调用新监管') | ||||
|   console.info('surenjun', '调用新监管,项目代码:', params.data.param.ksxm) | ||||
|   let temp | ||||
|   try { | ||||
|     let data = JSON.stringify({ | ||||
| @ -70,14 +70,19 @@ export default async function writeObjectOutNew(data, filePath): Promise<WR> { | ||||
|                  </SOAP-ENV:Body> | ||||
|                </SOAP-ENV:Envelope>`, | ||||
|     }) | ||||
|     let systemPasteboard = pasteboard.getSystemPasteboard() | ||||
|     let pasteData = pasteboard.createData(pasteboard.MIMETYPE_TEXT_PLAIN, data) | ||||
|     await systemPasteboard.clear() | ||||
|     await systemPasteboard.setData(pasteData) | ||||
|     try { | ||||
|       let systemPasteboard = pasteboard.getSystemPasteboard() | ||||
|       let pasteData = pasteboard.createData(pasteboard.MIMETYPE_TEXT_PLAIN, data) | ||||
|       await systemPasteboard.clear() | ||||
|       await systemPasteboard.setData(pasteData) | ||||
|     } catch (e) { | ||||
|       console.log("wzj pasteboard error", e,"项目代码:", params.data.param.ksxm) | ||||
|     } | ||||
|     let fn = () => { | ||||
|       return new Promise((resolve, reject) => { | ||||
|         console.log("wzj process start,项目代码:", params.data.param.ksxm) | ||||
|         globalThis.serviceExtProxy.processData("1", (errorCode: number, retVal: string) => { | ||||
|           console.log("lixiao result", errorCode, JSON.stringify(retVal)) | ||||
|           console.log("lixiao process accept,项目代码:", params.data.param.ksxm,"  错误码:", errorCode, JSON.stringify(retVal)) | ||||
|           let result = JSON.parse(retVal) | ||||
|           if (result.code === 0) { | ||||
|             resolve(result.data) | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user