Exemple #1
0
 /// <summary>
 /// AppResp初始化
 /// </summary>
 /// <typeparam name="T"></typeparam>
 /// <param name="baseModel"></param>
 /// <param name="respCode"></param>
 /// <param name="respMsg"></param>
 /// <param name="errorMsg"></param>
 /// <returns></returns>
 public static AppResp <T> InitiAppResp <T>(this BaseModel <T> baseModel, string respCode, string respMsg, string errorMsg) where T : class
 {
     return(AppResp <T> .InitiAppResp(baseModel, respCode, respMsg, errorMsg));
 }
Exemple #2
0
 /// <summary>
 /// AppResp初始化
 /// </summary>
 /// <typeparam name="T"></typeparam>
 /// <param name="baseModel"></param>
 /// <returns></returns>
 public static AppResp <T> InitiAppResp <T>(this BaseModel <T> baseModel) where T : class
 {
     return(AppResp <T> .InitiAppResp(baseModel));
 }