...
|
...
|
@@ -200,6 +200,7 @@ class HomeBaseController extends BaseController |
|
|
|
|
|
public function number(){
|
|
|
$user_count = Db::name('user')->where('user_type',2)->count();
|
|
|
echo $user_count;
|
|
|
if(count(str_split($user_count))+1>99999){
|
|
|
return 99999;
|
|
|
}
|
...
|
...
|
@@ -210,7 +211,7 @@ class HomeBaseController extends BaseController |
|
|
$result .= "0";
|
|
|
}
|
|
|
$result = $result.($user_count+1);
|
|
|
return $result;
|
|
|
echo $result;
|
|
|
}
|
|
|
public function template($templateId,$data,$url=null,$openid){
|
|
|
$options=config('wechat_config');
|
...
|
...
|
|