using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace HH.WCS.Mobox3.AnGang.Dtos.Response {
public class ErpResponse {
public class ErpResult {
///
/// 接口反馈码
///
public int errCode { get; set; }
///
/// 错误说明
///
public string errMsg { get; set; }
}
public static ErpResult BuildErpResult(int code, string message, bool printLog = true) {
if (printLog) {
LogHelper.Info(message);
}
return new ErpResult { errCode = code, errMsg = message };
}
}
}