Files
youlegames/codes/agent/game/dlweb/api/lib/1.0/models/SalesModel.php
2026-03-15 01:27:05 +08:00

24 lines
432 B
PHP
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<?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()
{
}
}