edit-sylive

This commit is contained in:
lccsw
2022-10-12 11:49:13 +08:00
parent 5faa6f5825
commit d385b07cf8
3 changed files with 22 additions and 9 deletions
@@ -68,6 +68,12 @@ class Sylive_entity{
*/
public function kpi_log($params)
{
if(!$params['cf_uid']){
$group_id = $this->get_level($params['uid']);
if($group_id<4){
$params['cf_uid'] = $params['uid'];
}
}
if ($params['a_id'] && $params['uid'] && $params['cf_uid']) {
$user = $this->user_model->get(['userId'=>$params['cf_uid']]);
if(!$user){
+15 -8
View File
@@ -224,9 +224,15 @@ class Act extends Wx {
}
}
$user = $this->user_model->get(['userId'=>$this->uid],'uname');
$where = [
"organizationId = (select parentId from lc_market_sylive_organization where organizationId={$this->session['org_id']})" => null
];
if($this->group_id==3){
$where = [
"organizationId = (select parentId from lc_market_sylive_organization where organizationId={$this->session['org_id']})" => null
];
}else{
$where = [
"organizationId" => $this->session['org_id']
];
}
$biz = $this->market_sylive_organization_model->get($where,'organizationName');
$this->data['posterTip'] = "{$biz['organizationName']}{$user['uname']}诚挚邀请您参与";
$this->data['lists'] = $lists;
@@ -354,8 +360,8 @@ class Act extends Wx {
];
$if_pid = 0;
$ac_user = $this->act_user_model->get(['userId'=>$this->uid,'activityId'=>$a_id],'channelId');
$ac_user['channelId'] && $pid_user = $this->user_model->get(['userId'=>$ac_user['channelId']],'uname,organizationId,mobile');
$gw_tel = $gw_slogan = $gw_title = '';
$ac_user['channelId'] && $pid_user = $this->user_model->get(['userId'=>$ac_user['channelId']],'uname,organizationId,mobile,headimg');
$logo = $gw_tel = $gw_slogan = $gw_title = '';
if($ac_user['channelId'] && $pid_user['organizationId']>0){
$group_id = $this->sylive_entity->get_level($pid_user['organizationId']);
if($group_id==3){ //顾问
@@ -371,13 +377,14 @@ class Act extends Wx {
];
$org = $this->market_sylive_organization_model->get($where);
}
$gw_title = $org['organizationName'];
$gw_slogan = $pid_user['uname'].'·您的专属的福利官';
$gw_title = $pid_user['uname'];
$gw_slogan = $org['organizationName'];
$gw_tel = $pid_user['mobile'];
$logo = $pid_user['headimg'];
}
$info = [
'bg' => "https://qs.haodian.cn/web/images/project/H5-ShiYu/mine-bg.jpg",
'logo' => "https://qs.haodian.cn/web/images/project/H5-ShiYu/goodslogo.jpg",
'logo' => $logo,
'if_pid' => $if_pid,
'title' => $gw_title,
'slogan' => $gw_slogan,
+1 -1
View File
@@ -92,7 +92,7 @@
<!-- end 预热阶段-->
<!--直播阶段-->
<div v-if="tabid==2">
<div class="mt30 bg-f9 inner20 overflowhidden text-center font-24 color-666 ulib-r20">直播结束后2小时同步数据</div>
<div class="mt30 bg-f9 inner20 overflowhidden text-center font-24 color-666 ulib-r20">直播结束后2小时同步完整数据</div>
<div class="relative mt30 bg-fff5ec overflowhidden ulib-r20" v-if="live.cell4 && live.cell4.length>0">
<div class="orderTip text-center font-24 color-fff bg-ff5a5a">我的</div>