Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
Education
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
黄奎
Education
Commits
4b230b4a
Commit
4b230b4a
authored
Aug 30, 2024
by
吴春
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://gitlab.oytour.com/Kui2/education
parents
aab7c37f
36a26f82
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
6 deletions
+4
-6
VisitorReserveModule.cs
Edu.Module.Duty/VisitorReserveModule.cs
+4
-5
ScheduleCourseController.cs
Edu.WebApi/Controllers/Course/ScheduleCourseController.cs
+0
-1
No files found.
Edu.Module.Duty/VisitorReserveModule.cs
View file @
4b230b4a
...
...
@@ -316,12 +316,11 @@ namespace Edu.Module.Duty
queryNotifyManager
.
ForEach
(
x
=>
{
var
path
=
$"
pages/classRollCall
/TrialClass?Id=
{
model
.
Id
}
"
;
//这个地址是欠费的通知地址,后续有H5需要改
var
path
=
$"
/h5page
/TrialClass?Id=
{
model
.
Id
}
"
;
//这个地址是欠费的通知地址,后续有H5需要改
path
=
HttpUtility
.
UrlEncode
(
path
);
string
markdownContent
=
$@"`试听课通知` 学员试听课通知\n>**概要信息** \n>学员名称:
{
guestModel
.
StuName
}
(
{
guestModel
.
StuRealMobile
}
)\n>
预约时间:<font color='warning'>
{
model
.
ReservationDate
.
ToString
(
"yyyy-MM-dd"
)}
\n>
试听需求:<font color='warning'>
{
model
.
Demand
}
\n>
请点击:[查看详情](
{
Config
.
ErpUrl
}
/autologin?loginId=
{
x
.
Id
}
&target=
{
path
}
)"
;
string
newUrl
=
$"
{
Config
.
ErpUrl
}
/login?loginId=
{
x
.
Id
}
&target=
{
path
}
"
;
Common
.
Plugin
.
LogHelper
.
WriteInfo
(
"试听推送::"
+
newUrl
);
string
markdownContent
=
$"<font color='info'>学员试听课通知</font>\n>**概要信息** \n>学员名称:<font color='warning'>
{
guestModel
.
StuName
}
(
{
guestModel
.
StuRealMobile
}
)</font>\n>预约时间:<font color='warning'>
{
Common
.
ConvertHelper
.
FormatDate
(
model
.
ReservationDate
)}
</font>\n>试听需求:<font color='warning'>
{
Common
.
Plugin
.
StringHelper
.
FilterHtml
(
model
.
Demand
)}
次课)</font>\n>请 点 击:[查看详情](
{
newUrl
}
)"
;
Common
.
Message
.
PushMessageModel
modelWork
=
new
Common
.
Message
.
PushMessageModel
()
{
CategoryId
=
PushMessageCategoryEnum
.
ReserveClass
,
...
...
Edu.WebApi/Controllers/Course/ScheduleCourseController.cs
View file @
4b230b4a
...
...
@@ -83,7 +83,6 @@ namespace Edu.WebApi.Controllers.Course
jobj
.
Add
(
"TotalTimes"
,
item
.
TotalTimes
);
list
.
Add
(
jobj
);
}
}
return
ApiResult
.
Success
(
data
:
list
);
}
...
...
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