更新框架,增加云库搜索模块

This commit is contained in:
chfei committed 2026-09-18 18:40:10 +08:00
1 parent 8526e5e0d2
commit f2caec6083
192 files changed
+3626 -804

No files matched your search

+48
View File
@@ -0,0 +1,48 @@
using System;
using System.Collections.Generic;
using System.Linq;
namespace StoreHub.KJDWebService.Models
{
public class Result
{
public Result()
{
}
public Result(int code, string msg)
{
Code = code;
Msg = msg;
}
public int Code { get; set; }
public string Msg { get; set; }
public object Data { get; set; }
public static Result Success(string msg)
{
return new Result
{
Code = 200,
Msg = msg
};
}
public static Result Failure(string msg)
{
return new Result
{
Code = 500,
Msg = msg
};
}
//参数不合法
public static Result ArgumentNull()
{
return new Result { Code = 19999, Msg = "输入为空" };
}
}
}