Commit cfe8f828 authored by hujun's avatar hujun

Merge remote-tracking branch 'origin/test' into test

parents fa446863 3e1531f5
...@@ -74,6 +74,9 @@ class Register extends Basic ...@@ -74,6 +74,9 @@ class Register extends Basic
"referrer_id" => 1, //邀请人id 经纪人or客户 也用于判断是否是分享出去的请求 "referrer_id" => 1, //邀请人id 经纪人or客户 也用于判断是否是分享出去的请求
"referrer_source" => 20, //false "referrer_source" => 20, //false
);*/ );*/
//苹果审核
if ($params["phone"] != "18521095110") {
$checkResult = $this->validate($params, "RegisterValidate.register"); $checkResult = $this->validate($params, "RegisterValidate.register");
if (true !== $checkResult) { if (true !== $checkResult) {
return $this->response("101", $checkResult); return $this->response("101", $checkResult);
...@@ -82,6 +85,7 @@ class Register extends Basic ...@@ -82,6 +85,7 @@ class Register extends Basic
if (!$is_eq) { if (!$is_eq) {
return $this->response("101", "验证码错误"); return $this->response("101", "验证码错误");
} }
}
$phone = $params["phone"]; $phone = $params["phone"];
$wx_union_id = !empty($params["wx_union_id"]) ? trim($params["wx_union_id"]) : null; $wx_union_id = !empty($params["wx_union_id"]) ? trim($params["wx_union_id"]) : null;
$referrer_id = !empty($params["referrer_id"]) ? $params["referrer_id"] : 0; $referrer_id = !empty($params["referrer_id"]) ? $params["referrer_id"] : 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment