第一处代码: 解决文章页面 文章内容是空的问题
\zb_system\api\post.php
搜索 $post->LoadInfoByID($postId)
并在后面加入 以下代码
//解决小程序API调用问题
$path=$zbp->path."_____post_data/".($postId % 100)."/{$postId}.php";
if(file_exists($path)){
@$str=file_get_contents($path); $str=str_ireplace('{#ZC_BL------删掉这些----OG_HOST#}',$zbp->host,$str);
$post->Content = $str;
}
//解决小程序API调用问题结束
