|
@@ -290,13 +290,11 @@ Class Soft_cash
|
|
|
public function search_api()
|
|
|
{
|
|
|
$value = Dever::input('value');
|
|
|
- if(!preg_match('/^1[3|5|6|7|8]\d{9}$/', $value)){
|
|
|
+ if(!preg_match('/^1[3|5|6|7|8|9]\d{9}$/', $value)){
|
|
|
return '代理商手机号不正确';
|
|
|
}
|
|
|
if ($value) {
|
|
|
$data = Dever::db('agent/member')->one(array('mobile' => $value,'state' =>1));
|
|
|
- echo Dever::sql();die;
|
|
|
-
|
|
|
$table = array();
|
|
|
if ($data) {
|
|
|
$table = array();
|