Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
ashermed_old_push
Project
Project
Details
Activity
Releases
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
backend
ashermed_old_push
Commits
61c1d5a2
Commit
61c1d5a2
authored
Apr 20, 2022
by
席世权
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复模板赋值错误
parent
af697aa2
Pipeline
#1669
canceled with stages
Changes
2
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
10 deletions
+10
-10
WechatTemController.cs
...round/Areas/BackGround/Controllers/WechatTemController.cs
+3
-3
Web.config
PushPlatform.Background/Web.config
+7
-7
No files found.
PushPlatform.Background/Areas/BackGround/Controllers/WechatTemController.cs
View file @
61c1d5a2
...
...
@@ -55,14 +55,14 @@ namespace PushPlatform.Background.Areas.BackGround.Controllers
{
saveModel
=
new
WechatMsgmodel
();
saveModel
.
Id
=
Guid
.
NewGuid
().
ToString
();
saveModel
.
ProjectId
=
user
.
CurrentProjectId
;
saveModel
.
Send_Cfg_Id
=
model
.
Send_Cfg_Id
;
saveModel
.
OriginalId
=
model
.
OriginalId
;
saveModel
.
Create_Time
=
DateTime
.
Now
;
saveModel
.
Create_User
=
user
.
UserId
;
saveModel
.
Is_Deleted
=
0
;
saveModel
.
Timestamp
=
DateTimeHelper
.
GetCurrentTimestamp
();
}
saveModel
.
ProjectId
=
user
.
CurrentProjectId
;
saveModel
.
Send_Cfg_Id
=
model
.
Send_Cfg_Id
;
saveModel
.
OriginalId
=
model
.
OriginalId
;
saveModel
.
Templete_Id
=
model
.
Templete_Id
;
saveModel
.
Title
=
model
.
Title
;
saveModel
.
Content_Temp
=
model
.
Content_Temp
;
...
...
PushPlatform.Background/Web.config
View file @
61c1d5a2
...
...
@@ -5,13 +5,13 @@
-->
<
configuration
>
<
connectionStrings
>
<
!--<
add
name
=
"WriteConnStr"
connectionString
=
"Server=192.168.0.48
;Database=db_ashermed_push;Uid=user;Pwd=Asher1234;"
/>
<
add
name
=
"ReadConnStr"
connectionString
=
"Server=192.168.0.
48
;Database=db_ashermed_push;Uid=user;Pwd=Asher1234;"
/>
<
add
name
=
"PushPlatformContext"
connectionString
=
"Server=192.168.0.
48;Database=db_ashermed_push;Uid=user;Pwd=Asher1234;"
/>--
>
<
add
name
=
"WriteConnStr"
connectionString
=
"Server=192.168.0.62
;Database=db_ashermed_push;Uid=user;Pwd=Asher1234;"
/>
<
add
name
=
"ReadConnStr"
connectionString
=
"Server=192.168.0.
62
;Database=db_ashermed_push;Uid=user;Pwd=Asher1234;"
/>
<
add
name
=
"PushPlatformContext"
connectionString
=
"Server=192.168.0.
62;Database=db_ashermed_push;Uid=user;Pwd=Asher1234;"
/
>
<
add
name
=
"WriteConnStr"
connectionString
=
"Server=101.132.234.102;Database=db_ashermed_push;Uid=iis;Pwd=iis;"
/>
<
!--<
add
name
=
"WriteConnStr"
connectionString
=
"Server=101.132.234.102;Database=db_ashermed_push;Uid=iis;Pwd=iis;"
/>
<
add
name
=
"ReadConnStr"
connectionString
=
"Server=101.132.234.102;Database=db_ashermed_push;Uid=iis;Pwd=iis;"
/>
<
add
name
=
"PushPlatformContext"
connectionString
=
"Server=101.132.234.102;Database=db_ashermed_push;Uid=iis;Pwd=iis;"
/>
<
add
name
=
"PushPlatformContext"
connectionString
=
"Server=101.132.234.102;Database=db_ashermed_push;Uid=iis;Pwd=iis;"
/>
-->
</
connectionStrings
>
<!--<
system
.
data
>
<
DbProviderFactories
>
...
...
@@ -35,8 +35,8 @@
<
add
key
=
"ClientValidationEnabled"
value
=
"true"
/>
<
add
key
=
"UnobtrusiveJavaScriptEnabled"
value
=
"true"
/>
<
add
key
=
"webUrl"
value
=
"http://
localhost
/PushPlatform.Background/"
/>
<
add
key
=
"backLoginUrl"
value
=
"http://
localhost
/PushPlatform.Background/BackGround/Login/Index"
/>
<
add
key
=
"webUrl"
value
=
"http://
192.168.9.32
/PushPlatform.Background/"
/>
<
add
key
=
"backLoginUrl"
value
=
"http://
192.168.9.32
/PushPlatform.Background/BackGround/Login/Index"
/>
<
add
key
=
"DB"
value
=
"MySql"
/>
...
...
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