fixed
This commit is contained in:
@@ -49,7 +49,6 @@ class Followup extends Backend
|
||||
//报告数据id
|
||||
$report_dataid = input('report_dataid');
|
||||
$report = Db::table('fa_tt_medical_report')->where('id',$report_dataid)->find();
|
||||
//$user = Db::table('fa_tt_users')->where('username',$report['username'])->find();
|
||||
|
||||
$userbaseinfo = Db::table('fa_tt_userbaseinfo')->where('id',$report['id'])->find();
|
||||
$this->assign('user',$userbaseinfo);
|
||||
|
||||
@@ -15,7 +15,7 @@ use wanghua\general_utility_tools_php\tool\Tools;
|
||||
|
||||
class BaseUserLogic
|
||||
{
|
||||
public $user_table = 'fa_ty_users';
|
||||
public $user_table = 'fa_users';
|
||||
|
||||
/**
|
||||
* desc:【通用】用户登录逻辑
|
||||
@@ -133,7 +133,7 @@ class BaseUserLogic
|
||||
Tools::log_to_write_txt(['title'=>'业务ticket字段不存在','input'=>input()]);
|
||||
return false;
|
||||
}
|
||||
$user = Db::table('fa_ty_users')
|
||||
$user = Db::table('fa_users')
|
||||
->where('ticket',$ticket)
|
||||
->find();
|
||||
if(empty($user)){
|
||||
|
||||
@@ -135,7 +135,7 @@ class WechatMsgPushLogic
|
||||
]);
|
||||
continue;//不发
|
||||
}
|
||||
$users = Db::table('fa_ty_users')
|
||||
$users = Db::table('fa_users')
|
||||
->where('openid',$ToUserOpenid)
|
||||
->find();
|
||||
if(empty($users)){
|
||||
@@ -145,7 +145,7 @@ class WechatMsgPushLogic
|
||||
continue;
|
||||
}
|
||||
//礼包入账
|
||||
Db::table('fa_ty_users')
|
||||
Db::table('fa_users')
|
||||
->where('openid',$ToUserOpenid)
|
||||
->setInc('score',$prize['val'] * $item['Num']);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user