添加后台代理代码

This commit is contained in:
2026-03-15 01:27:05 +08:00
parent 11f9ac4dc1
commit ea08c9366a
5254 changed files with 721042 additions and 0 deletions

View File

@@ -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()
{
}
}