多应用+插件架构,代码干净,二开方便,首家独创一键云编译技术,文档视频完善,免费商用码云13.8K 广告
``` public function urlShort($shop_id=null){ $url=config('config.admin_url').$shop_id; $url= crc32($url); $result= sprintf("%u", $url); $sUrl= ''; while($result>0){ $s= $result%62; if($s>35){ $s= chr($s+61); } elseif($s>9 && $s<=35){ $s= chr($s+ 55); } $sUrl.= $s; $result= floor($result/62); } return $sUrl.$shop_id; } ```