Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
Kivii.Biz.EmailPools
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
陶然
Kivii.Biz.EmailPools
Commits
1a68d9df
Commit
1a68d9df
authored
Nov 07, 2024
by
Neo Turing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化
parent
9cba4934
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
3 deletions
+12
-3
AssemblyInfo.cs
Src/Properties/AssemblyInfo.cs
+3
-3
RestfulEmailPool.cs
Src/Transforms/RestfulEmailPool.cs
+9
-0
No files found.
Src/Properties/AssemblyInfo.cs
View file @
1a68d9df
...
@@ -32,5 +32,5 @@ using System.Runtime.InteropServices;
...
@@ -32,5 +32,5 @@ using System.Runtime.InteropServices;
//可以指定所有这些值,也可以使用“生成号”和“修订号”的默认值
//可以指定所有这些值,也可以使用“生成号”和“修订号”的默认值
//通过使用 "*",如下所示:
//通过使用 "*",如下所示:
// [assembly: AssemblyVersion("1.0.*")]
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("5.4.2024.7160")]
[assembly: AssemblyVersion("5.4.2024.11070")]
[assembly: AssemblyFileVersion("5.4.2023.7160")]
[assembly: AssemblyFileVersion("5.4.2023.11070")]
\ No newline at end of file
\ No newline at end of file
Src/Transforms/RestfulEmailPool.cs
View file @
1a68d9df
...
@@ -287,6 +287,7 @@ namespace Kivii.EmailPools.Transforms
...
@@ -287,6 +287,7 @@ namespace Kivii.EmailPools.Transforms
public
class
EmailPoolCancel
:
RestfulExecutionGeneric
<
EmailPool
>
public
class
EmailPoolCancel
:
RestfulExecutionGeneric
<
EmailPool
>
{
{
public
List
<
Guid
>
Kvids
{
get
;
set
;
}
public
List
<
Guid
>
Kvids
{
get
;
set
;
}
public
bool
IsDelete
{
get
;
set
;
}
=
false
;
public
override
object
OnExecutionGeneric
<
G
>(
IRequest
req
,
IResponse
res
)
public
override
object
OnExecutionGeneric
<
G
>(
IRequest
req
,
IResponse
res
)
{
{
...
@@ -301,6 +302,14 @@ namespace Kivii.EmailPools.Transforms
...
@@ -301,6 +302,14 @@ namespace Kivii.EmailPools.Transforms
foreach
(
var
item
in
pools
)
foreach
(
var
item
in
pools
)
{
{
if
(
IsDelete
)
{
item
.
Status
=
-
1
;
item
.
AddOnlyProperties
(
o
=>
o
.
Status
);
conn
.
UpdateOnly
(
item
);
rtns
.
Results
.
Add
(
item
);
continue
;
}
if
(
item
.
IsSended
)
continue
;
if
(
item
.
IsSended
)
continue
;
item
.
IsSended
=
true
;
item
.
IsSended
=
true
;
item
.
AddOnlyProperties
(
o
=>
o
.
IsSended
);
item
.
AddOnlyProperties
(
o
=>
o
.
IsSended
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment