瀏覽代碼

日志添加

WH01243 3 年之前
父節點
當前提交
af92ff2a7b
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      invoice/src/api/InvoiceController.go

+ 2 - 1
invoice/src/api/InvoiceController.go

@@ -101,7 +101,8 @@ func InvoiceReplace(context *gin.Context) {
 	data, _ := ioutil.ReadAll(context.Request.Body)
 	var dat *entity.Invoice
 	if err := json.Unmarshal([]byte(data), &dat); err == nil {
-		fmt.Println("==============json str 转map=======================")
+		fmt.Println("==============换票json str 转map=======================")
+		fmt.Println(dat)
 	}
 	msg, code, dataMap := InvoiceService.InvoiceReplace(dat, "changed")
 	result.Data = dataMap