Commit 9dfd76d3 authored by zhuwei's avatar zhuwei

推广手机号码记录

parent 33fadcb5
...@@ -63,6 +63,7 @@ class SpreadUser extends Basic ...@@ -63,6 +63,7 @@ class SpreadUser extends Basic
$insert["phone"] = $params['phone']; $insert["phone"] = $params['phone'];
$insert["ip"] = $params['ip']; $insert["ip"] = $params['ip'];
$insert["type"] = $params['type']; $insert["type"] = $params['type'];
$insert["source"] = $params['source'] ? $params['source'] : 0;
$res = $this->uSpreadUser->saveSpreadUser($insert);//int(1) $res = $this->uSpreadUser->saveSpreadUser($insert);//int(1)
if ($res) { if ($res) {
return $this->response("200", "成功"); return $this->response("200", "成功");
......
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