Merge remote-tracking branch 'origin/develop'
Showing
2 changed files
with
3 additions
and
2 deletions
@@ -63,7 +63,7 @@ class BackData | @@ -63,7 +63,7 @@ class BackData | ||
63 | $param['code'] = $code; | 63 | $param['code'] = $code; |
64 | 64 | ||
65 | // 默认返回的不是json类型数据,是html | 65 | // 默认返回的不是json类型数据,是html |
66 | - return Yohobuy::post(Yohobuy::YOHOBUY_URL.'passport/back/update', $param, true); | 66 | + return Yohobuy::get(Yohobuy::YOHOBUY_URL.'passport/back/update', $param, true); |
67 | } | 67 | } |
68 | 68 | ||
69 | 69 |
@@ -129,7 +129,8 @@ class BackController extends AbstractAction | @@ -129,7 +129,8 @@ class BackController extends AbstractAction | ||
129 | 129 | ||
130 | $data = BackData::modifyPasswordByEmail($pwd, $code); | 130 | $data = BackData::modifyPasswordByEmail($pwd, $code); |
131 | 131 | ||
132 | - $result = array('code'=>200); | 132 | + $result = array('code'=>200, 'data' => '/signin.html'); |
133 | + print_r($data); | ||
133 | if(strpos($data, 'history.back') !== false) | 134 | if(strpos($data, 'history.back') !== false) |
134 | { | 135 | { |
135 | $result['code'] = 400; | 136 | $result['code'] = 400; |
-
Please register or login to post a comment