Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
phsl
/
admin
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
d3b5535d
authored
Apr 29, 2023
by
咱哥丶
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复【站内信】测试模板消息发送,接口调用错误问题
parent
2ab8ea45
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
src/views/system/notify/template/NotifyTemplateSendForm.vue
+2
-3
No files found.
src/views/system/notify/template/NotifyTemplateSendForm.vue
View file @
d3b5535d
...
...
@@ -44,7 +44,6 @@
</Dialog>
</template>
<
script
lang=
"ts"
name=
"SystemNotifyTemplateSendForm"
setup
>
import
*
as
SmsTemplateApi
from
'@/api/system/sms/smsTemplate'
import
*
as
UserApi
from
'@/api/system/user'
import
*
as
NotifyTemplateApi
from
'@/api/system/notify/template'
const
message
=
useMessage
()
// 消息弹窗
...
...
@@ -102,8 +101,8 @@ const submitForm = async () => {
// 提交请求
formLoading
.
value
=
true
try
{
const
data
=
formData
.
value
as
unknown
as
SmsTemplateApi
.
SendSms
ReqVO
const
logId
=
await
SmsTemplateApi
.
sendSms
(
data
)
const
data
=
formData
.
value
as
unknown
as
NotifyTemplateApi
.
NotifySend
ReqVO
const
logId
=
await
NotifyTemplateApi
.
sendNotify
(
data
)
if
(
logId
)
{
message
.
success
(
'提交发送成功!发送结果,见发送日志编号:'
+
logId
)
}
...
...
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