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
f0be74f1
Commit
f0be74f1
authored
Dec 02, 2015
by
lra
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
阿里大鱼短信接口修改
parent
ce259270
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
1 deletions
+9
-1
lib/sms/taobao.rb
+9
-1
No files found.
lib/sms/taobao.rb
View file @
f0be74f1
...
@@ -48,7 +48,15 @@ module Sms
...
@@ -48,7 +48,15 @@ module Sms
params
=
defaultParams
(
numbers
,
content
)
params
=
defaultParams
(
numbers
,
content
)
params
=
params
.
merge
(
sign:
generate_sign
(
params
))
params
=
params
.
merge
(
sign:
generate_sign
(
params
))
data
=
request_api
(
params
)
data
=
request_api
(
params
)
result
=
JSON
.
parse
(
data
.
body
)
data
=
JSON
.
parse
(
data
.
body
)
puts
"data *************
#{
data
}
"
if
data
[
'alibaba_aliqin_fc_sms_num_send_response'
][
'result'
][
'success'
]
data
else
false
end
rescue
=>
e
false
end
end
def
request_api
(
params
)
def
request_api
(
params
)
...
...
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