...
|
...
|
@@ -94,6 +94,7 @@ class FriendsController extends WeChatBaseController |
|
|
$api[]='uploadImage';
|
|
|
$api[]='downloadImage';
|
|
|
$sdk=$js->config($api, false);
|
|
|
$this->assign(cmf_get_option('site_info'));
|
|
|
$this->assign('sdk',$sdk);
|
|
|
$this->assign('group_id',$group_id);
|
|
|
return $this->fetch();
|
...
|
...
|
@@ -186,7 +187,8 @@ class FriendsController extends WeChatBaseController |
|
|
|
|
|
$re = db('group_text')->insert($insert);
|
|
|
if ($re==1){
|
|
|
addScore($insert['user_id'],50,'发布圈子动态');
|
|
|
$site=cmf_get_option('site_info');
|
|
|
addScore($insert['user_id'],$site['friend'],'发布圈子动态');
|
|
|
}
|
|
|
return $re;
|
|
|
}
|
...
|
...
|
|