change - 修改接口类型为post

master
Wen JY 10 months ago
parent d96d86b6e2
commit 6450bd5a0f

@ -26,7 +26,7 @@ public class IngCheckController
/// </summary> /// </summary>
/// <param name="ingredientInfo"></param> /// <param name="ingredientInfo"></param>
/// <returns></returns> /// <returns></returns>
[HttpPut("BigMaterial")] [HttpPost("BigMaterial")]
public ApiResponse BigMaterialCheck(IngredientInfo ingredientInfo) public ApiResponse BigMaterialCheck(IngredientInfo ingredientInfo)
{ {
var result = new ApiResponse(); var result = new ApiResponse();
@ -57,7 +57,7 @@ public class IngCheckController
/// </summary> /// </summary>
/// <param name="ingredientInfo"></param> /// <param name="ingredientInfo"></param>
/// <returns></returns> /// <returns></returns>
[HttpPut("SmallMaterial")] [HttpPost("SmallMaterial")]
public ApiResponse SmallMaterialCheck(IngredientInfo ingredientInfo) public ApiResponse SmallMaterialCheck(IngredientInfo ingredientInfo)
{ {

Loading…
Cancel
Save