调用供应,求购类型的方法,用得着的时候虽然不多,但记录下在api/extend.func.php 中加入以下函数//类型function ext_type($typeid){ global $MOD; $type = explode('|', $MOD['type']); return $type[$typeid];}内容页面中使用{ext_type($typeid)}