Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
L
laravelzh
Project
Project
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
冯超鹏
laravelzh
Commits
5f241f5e
Commit
5f241f5e
authored
Dec 22, 2020
by
冯超鹏
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
de6c3ce2
Pipeline
#241
canceled with stages
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
SmsailiyunController.php
app/Http/Controllers/SmsailiyunController.php
+1
-1
No files found.
app/Http/Controllers/SmsailiyunController.php
View file @
5f241f5e
...
...
@@ -77,7 +77,7 @@ class SmsailiyunController
// 可选,设置模板参数, 假如模板中存在变量需要替换则为必填项
$request
->
setTemplateParam
(
json_encode
(
array
(
// 短信模板中字段的值
"cphone"
=>
"15200013720"
,
"position"
=>
"您的设备尾号为"
.
5712
,
"position"
=>
"您的设备尾号为"
.
4274
,
"alarm"
=>
'离线'
),
JSON_UNESCAPED_UNICODE
));
// ['cphone' => 16631150870, 'position' => '您的设备尾号为' . 5712, 'alarm' => '离线']
...
...
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