Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
杨建斌
/
dy-wx2
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Graphs
Network
Create a new issue
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
9ade58da
authored
2019-01-06 17:16:17 +0800
by
ex
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
openId 采用code
1 parent
43297d18
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
js/service/dingdaService.js
js/service/dingdaService.js
View file @
9ade58d
...
...
@@ -29,7 +29,7 @@ angular.module('myApp.services')
return
res
;
},
verifyThirdCode
:
function
(
code
){
// 通过第三方登录
var
url
=
globalService
.
getParam
(
'dingdaLoginAPI'
)
+
'/login/sms?code='
+
code
+
'&openId=
19009'
;
var
url
=
globalService
.
getParam
(
'dingdaLoginAPI'
)
+
'/login/sms?code='
+
code
+
'&openId=
'
+
code
;
var
res
=
$http
.
get
(
url
).
success
(
function
(
data
,
status
)
{
}).
error
(
function
(
data
,
status
)
{
// alert(data.meta.message)
...
...
Write
Preview
Styling with
Markdown
is supported
Attach a file
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 post a comment