| | |
| | | /// </summary> |
| | | /// <param name="input"></param> |
| | | /// <returns></returns> |
| | | public async Task<ApiAction<BarcodeCreateInput>> U9CCreateBarCodeByAssignQty(BarcodeCreateByAssignQtyInput input) |
| | | public async Task<ApiAction<List<string>>> U9CCreateBarCodeByAssignQty(BarcodeCreateByAssignQtyInput input) |
| | | { |
| | | Logger.Interface.Info($"/**\r\n *进入半成品生成条码接口....\r\n */\r\n"); //固定写法 |
| | | var action = new ApiAction<BarcodeCreateInput>(); |
| | | var action = new ApiAction<List<string>>(new List<string>()); |
| | | try |
| | | { |
| | | if (input.IsLogin) |
| | |
| | | var result = JsonConvert.DeserializeObject<BarcodeCreateByAssignQtyResult>(response.Message); |
| | | if (result != null) |
| | | { |
| | | if (result.Success) |
| | | if (result.Success && result.Data.IsSuccess) |
| | | { |
| | | Logger.Interface.Info($"半成品生成条码接口提交Json: {JsonConvert.SerializeObject(param)},返回Json: {response.Message}"); |
| | | action.Data = result.Data.Data; |
| | | } |
| | | else |
| | | { |