This commit is contained in:
parent
97157b6145
commit
5834799a19
|
@ -0,0 +1,33 @@
|
|||
@echo off
|
||||
REM ---------------
|
||||
REM 发布包生成工具
|
||||
REM 执行此文件前请先用Release生成WebOA项目
|
||||
REM --------------
|
||||
|
||||
|
||||
|
||||
REM --------------
|
||||
REM 环境变量设置 Project_Src为如WebOA这样的分支
|
||||
REM --------------
|
||||
set PROJECT_SRC=%CD%
|
||||
cd..
|
||||
|
||||
REM 源代码Model项目文件夹
|
||||
set Model_ROOT=%PROJECT_SRC%\SUBQHSE\Model
|
||||
|
||||
|
||||
REM --------------
|
||||
REM 发布程序包文件夹相关
|
||||
REM --------------
|
||||
|
||||
|
||||
|
||||
|
||||
@echo 设置.net控制台环境
|
||||
@echo.
|
||||
@call "%VS150%"
|
||||
|
||||
SqlMetal /views /server:. /database:CNCEC_SUBQHSEDB_JT /user:sa /password:1111 /code:%Model_ROOT%\Model.cs /namespace:Model
|
||||
|
||||
@ECHO 完成
|
||||
pause
|
|
@ -45,6 +45,8 @@ namespace FineUIPro.Web.ProjectData
|
|||
string url = Funs.VideoHost;
|
||||
string res = APIGetHttpService.Http(url + "api/v1/user/channellist?token=" + URLToken + "&id=" + Id + "&related=true");
|
||||
string devices = "";
|
||||
//ErrLogInfo.WriteLog($"接口地址:{url + "api/v1/user/channellist?token=" + URLToken + "&id=" + Id + "&related=true"}");
|
||||
//ErrLogInfo.WriteLog($"接口返回结果:{res}");
|
||||
JObject jObject = (JObject)JsonConvert.DeserializeObject(res);
|
||||
JArray channelList = jObject.Value<JArray>("ChannelList");
|
||||
HashSet<string> set = new HashSet<string>();
|
||||
|
|
Loading…
Reference in New Issue