be407d08 by fuenxin

param code

1 parent 2aaabffe
...@@ -13,10 +13,10 @@ angular.module('myApp') ...@@ -13,10 +13,10 @@ angular.module('myApp')
13 if (r != null) return unescape(r[2]); return null; 13 if (r != null) return unescape(r[2]); return null;
14 } 14 }
15 var code = getUrl('code') 15 var code = getUrl('code')
16 var loginUrlCode = function (code) { 16 var loginUrlCode = function () {
17 if (code) { 17 if (code) {
18 dingdaService.verifyThirdCode(code).success(function (res) {
19 globalService.saveData('loginCode', code) 18 globalService.saveData('loginCode', code)
19 dingdaService.verifyThirdCode(code).success(function (res) {
20 if (res.meta.code == 200) { 20 if (res.meta.code == 200) {
21 dingdaService.verifyPhoneCode(res.data.mobile, res.data.code).success(function (data) { 21 dingdaService.verifyPhoneCode(res.data.mobile, res.data.code).success(function (data) {
22 if (data.meta.code == 200) { 22 if (data.meta.code == 200) {
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!