Browse Source

日志添加

WH01243 3 năm trước cách đây
mục cha
commit
af92ff2a7b
1 tập tin đã thay đổi với 2 bổ sung1 xóa
  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