function getShareNum($uid) { $api = new TS_API(); $num = $api->share_getShareNum($uid); return $num; }