增加docke部署
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
<?php
|
||||
|
||||
class SalesModel
|
||||
{
|
||||
/**
|
||||
* 手机号是否注册过
|
||||
* 已注册返回 true,否则 false
|
||||
*/
|
||||
public function isRegisterPhone($agent_id, $channel_id, $phone)
|
||||
{
|
||||
$sql = 'select * from sales_user where saus_agentid = ? AND saus_channelid = ? AND saus_tel = ?';
|
||||
$result = Db::query($sql, [$agent_id, $channel_id, $phone]);
|
||||
|
||||
if($result)
|
||||
return true;
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
public function sendPhoneCode()
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user