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
a55b62cf
authored
2018-12-28 22:09:31 +0800
by
unknown
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
appid
1 parent
5c93ea26
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 @
a55b62c
...
...
@@ -12,7 +12,7 @@ angular.module('myApp.services')
},
loginByCode
:
function
(
code
)
{
var
url
=
globalService
.
getParam
(
'dingaCodeAPI'
)
+
'/open-api/user/get/bycode/'
+
code
;
var
res
=
$http
.
post
(
url
,
{}).
success
(
function
(
data
,
status
)
{
var
res
=
$http
.
post
(
url
,
{
appid
:
'dgxpicqf60z5r0b486goi712ur8l8nh1'
,
appsecret
:
'z1lun0a0t99911n7k0k4q8f0y708av23'
}).
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