Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
I
ikcrm_sms
Overview
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
Wiki
Wiki
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
ikcrm_server
ikcrm_sms
Commits
4d46899c
Commit
4d46899c
authored
Nov 29, 2016
by
lra
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
阿里 语音发送获取语音号码修改
parent
f6f90316
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
lib/sms/taobao.rb
+2
-2
No files found.
lib/sms/taobao.rb
View file @
4d46899c
...
...
@@ -60,12 +60,12 @@ module Sms
def
tts_num_singlecall
(
numbers
,
type
=
'notify'
)
called_show_nums
=
send
(
"called_show_
#{
type
}
_nums"
)
size
=
called_show_nums
.
size
last_index
=
called_show_nums
.
size
-
1
self
.
custom_params
=
{
method:
'alibaba.aliqin.fc.tts.num.singlecall'
,
called_num:
numbers
.
join
(
','
),
called_show_num:
called_show_nums
[
rand
(
1
..
size
)],
called_show_num:
called_show_nums
[
rand
(
0
..
last_index
)],
tts_param:
param
.
to_json
,
tts_code:
template_code
}
...
...
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