0518
This commit is contained in:
@@ -135,7 +135,6 @@ class User extends Wxapp
|
||||
*/
|
||||
protected function get()
|
||||
{
|
||||
$this->add_user_score();
|
||||
$uid = $this->session['uid'];
|
||||
$biz_id = $this->session['new_biz_id'] ? $this->session['new_biz_id'] : intval($this->session['biz_id']);
|
||||
|
||||
@@ -147,8 +146,12 @@ class User extends Wxapp
|
||||
$this->logout();
|
||||
throw new Exception('门店不存在', API_CODE_FAIL);
|
||||
}
|
||||
$group_arr = $this->app_user_model->get_group();
|
||||
|
||||
if(in_array($biz['type'],[1,2])){
|
||||
$this->add_user_score();
|
||||
}
|
||||
|
||||
$group_arr = $this->app_user_model->get_group()
|
||||
$group_name = $group_arr[$user['group_id']] ? $group_arr[$user['group_id']] : '';
|
||||
|
||||
//获取拨打电话
|
||||
|
||||
Reference in New Issue
Block a user