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
76bc44e1
authored
2018-08-29 00:45:08 +0800
by
ex
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
andriod
1 parent
dfa54f2b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletions
js/JSBridge.js
js/service/dingdaService.js
js/JSBridge.js
View file @
76bc44e
...
...
@@ -83,6 +83,10 @@ AppClient.prototype.getGPS = function (callbackName, callback, jsonStr) {
// });
// }
var
appClient
=
null
;
layer
.
open
({
content
:
window
.
android
,
time
:
2
})
if
(
window
.
android
)
{
appClient
=
new
AppClient
(
window
.
android
,
true
);
// 此处可以调用一些init的方法
...
...
js/service/dingdaService.js
View file @
76bc44e
...
...
@@ -12,7 +12,7 @@ angular.module('myApp.services')
},
verifyPhoneCode
:
function
(
phone
,
code
){
var
url
=
globalService
.
getParam
(
'dingdaLoginAPI'
)
+
'/login/sms?mobile='
+
phone
+
'&code='
+
code
;
var
res
=
$http
.
post
(
url
,
{}
,
{}
).
success
(
function
(
data
,
status
)
{
var
res
=
$http
.
post
(
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