[ 'class' => TimestampBehavior::className(), 'createdAtAttribute' => 'created_at', 'updatedAtAttribute' => 'updated_at', ] ]; } /** * 获取质保单指定客服人员信息 * @return array|mixed */ public static function getAppealServiceMembers() { $configRow = self::findOne(['config_key' => self::APPEAL_NOTICE_MEMBERS]); if ($configRow && isset($configRow->values)) { $memberConfig = $configRow->values; $members = json_decode($memberConfig, true); if ($members) { return $members; } } return []; } }