Browse Source

供应商模块保存和更改接口改动

mainqaq 3 years ago
parent
commit
af54636ba1
1 changed files with 3 additions and 2 deletions
  1. 3 2
      controllers/supply_order_api_contorller.go

+ 3 - 2
controllers/supply_order_api_contorller.go View File

@@ -203,9 +203,10 @@ func (this *SupplyOrderApiController) UpdateSupply() {
203 203
 		return
204 204
 	}
205 205
 	//supplierid, _ := this.GetInt64("id") //供应商id
206
-	fmt.Println(dataBody["id"])
206
+	//fmt.Println(dataBody["id"])
207
+	utils.InfoLog("+++++++++++++前++++++++++++++++++", dataBody["id"])
207 208
 	supplierid := int64(dataBody["id"].(float64))
208
-	fmt.Println(supplierid)
209
+	utils.InfoLog("+++++++++++++后++++++++++++++++++", supplierid)
209 210
 	if supplierid == 0 {
210 211
 		this.ServeFailJsonSend(enums.ErrorCodeParamWrong, "供应商id不能为空")
211 212
 		return