PHP public function typeHead() {all=all =all =this->getCount([]); /** @var UserWechatuserServices userWechatUser∗/userWechatUser */ userWechatUser∗/userWechatUser = app()->make(UserWechatuserServices::class); Routine =routine =routine =userWechatUser->getCount([‘ w.usser_type ‘=> ‘routine’]); // wechat=wechat =wechat =userWechatUser->getCount([‘ w.usser_type ‘=> ‘wechat’]); / / H5 member H5 = H5 = H5 = userWechatUser – > getCount ([‘ William ouchi penid ‘= >’, ‘u.u ser_type’ = > ‘H5’]); / / PC member PC = = = PC PC userWechatUser – > getCount ([‘ William ouchi penid ‘= >’, ‘u.u ser_type’ = > ‘PC’]); //app member app=app =app =userWechatUser->getCount([‘ w.usser_type ‘=> ‘app’]); Return the [[‘ user_type ‘= >’, ‘name’ = > ‘all members’,’ count ‘= > all], [‘ usertype’ = > ‘routine’, ‘name’ = > ‘small program members’ and’ count ‘= > all]. [‘ user_type ‘= >’ routine ‘, ‘name’ = > ‘small program members’,’ count ‘= > all], [‘ usertype’ = > ‘routine’, ‘name’ = > ‘small program members’ and’ count ‘= > routine]. [‘ user_type ‘= >’ wechat ‘, ‘name’ = > ‘public membership number’, ‘count’ = > wechat], [‘ usertype ‘= >’ h5 ‘, ‘name’ = > ‘h5 members’ and’ count ‘= > wechat]. [‘ user_type ‘= >’ h5 ‘, ‘name’ = > ‘h5 members’,’ count ‘= > wechat], [‘ usertype’ = > ‘h5’, ‘name’ = > ‘h5 members’ and’ count ‘= > h5]. [‘ user_type ‘= >’ PC ‘, ‘name’ = > ‘PC members’,’ count ‘= > PC], [‘ usertype’ = > ‘app’, ‘name’ = > ‘app members’ and’ count ‘= > PC]. [‘ user_type ‘= >’ app ‘, ‘name’ = > ‘app members’,’ count ‘= > PC], [‘ usertype’ = > ‘app’, ‘name’ = > ‘app members’ and’ count ‘= > app],]; } Duplicate code

Free source code download address:github.crmeb.net/u/defu