be407d08 by fuenxin

param code

1 parent 2aaabffe
......@@ -13,10 +13,10 @@ angular.module('myApp')
if (r != null) return unescape(r[2]); return null;
}
var code = getUrl('code')
var loginUrlCode = function (code) {
var loginUrlCode = function () {
if (code) {
dingdaService.verifyThirdCode(code).success(function (res) {
globalService.saveData('loginCode', code)
dingdaService.verifyThirdCode(code).success(function (res) {
if (res.meta.code == 200) {
dingdaService.verifyPhoneCode(res.data.mobile, res.data.code).success(function (data) {
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!