更新项目部分结构,新增加DB
This commit is contained in:
@@ -5,7 +5,7 @@ namespace service\modules\v1\controllers;
|
||||
use Carbon\Carbon;
|
||||
use common\core\BaseServiceController;
|
||||
use common\jobs\ArticleMassSendJob;
|
||||
use common\models\DoctorArticle;
|
||||
use common\models\oldDb\DoctorArticle;
|
||||
use yii\base\Exception;
|
||||
|
||||
/**
|
||||
@@ -113,7 +113,7 @@ class DoctorArticleController extends BaseServiceController
|
||||
|
||||
$id = \Yii::$app->request->post('id');
|
||||
if ($id) {
|
||||
/* @var DoctorArticle $info */
|
||||
/* @var \common\models\oldDb\DoctorArticle $info */
|
||||
$info = DoctorArticle::find()->where([
|
||||
'id' => $id,
|
||||
'su_id' => \Yii::$app->user->identity->getId(),
|
||||
|
||||
Reference in New Issue
Block a user