Commit 557fd13f authored by hujun's avatar hujun

绑定号码修改

parent e9784a55
...@@ -128,7 +128,7 @@ class CellPhone extends Basic ...@@ -128,7 +128,7 @@ class CellPhone extends Basic
$phone_a = $this->params['phone_a']; $phone_a = $this->params['phone_a'];
$phone_b = $this->params['phone_b']; $phone_b = $this->params['phone_b'];
if ($phone_x) { if ($phone_x && $phone_a && $phone_b) {
$phone = new BindingPhone(); $phone = new BindingPhone();
$subsId = $phone->getSubsId($phone_x,$phone_a,$phone_b,1); $subsId = $phone->getSubsId($phone_x,$phone_a,$phone_b,1);
...@@ -146,7 +146,7 @@ class CellPhone extends Basic ...@@ -146,7 +146,7 @@ class CellPhone extends Basic
} }
} else { } else {
$this->code = 101; $this->code = 101;
$this->msg = 'phone_x is null'; $this->msg = 'phone_x or phone_a or phone_b is null';
} }
$this->params['phone_x']; $this->params['phone_x'];
return $this->response($this->code, $this->msg); return $this->response($this->code, $this->msg);
......
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