From 8b613a5275e6fe23b91f65cc6a7fba720ae4d7ef Mon Sep 17 00:00:00 2001 From: 移动系统liao <liaoxujun@qq.com> Date: 星期二, 18 二月 2025 11:10:35 +0800 Subject: [PATCH] 完成阿里云本地上传token生成,实现小程序本地上传 --- cylsg/cylsg.Application/CyOS/CyOSStaffController.cs | 7 +------ 1 files changed, 1 insertions(+), 6 deletions(-) diff --git a/cylsg/cylsg.Application/CyOS/CyOSStaffController.cs b/cylsg/cylsg.Application/CyOS/CyOSStaffController.cs index e4e014e..a888020 100644 --- a/cylsg/cylsg.Application/CyOS/CyOSStaffController.cs +++ b/cylsg/cylsg.Application/CyOS/CyOSStaffController.cs @@ -42,6 +42,7 @@ [HttpPost] public async Task<WorekPlandto> getplanelist(SearchOaWorekPlan param) { + if(! await CheckRols()) { throw Oops.Oh("娌℃湁鏉冮檺"); @@ -196,12 +197,6 @@ pram.RewardMoney = 0; pram.RewardType = 1; pram.Keyid = null; - - - - - - await _SugarClient.InsertNav(pram).Include(x=>x.WorkPlanAttachments).ExecuteCommandAsync(); return true; -- Gitblit v1.9.1