From 3a40e4a673d3f7cda760087ef55a2246645f6e98 Mon Sep 17 00:00:00 2001 From: zhaocheng <578322713@qq.com> Date: Tue, 21 Apr 2020 14:56:59 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- common/models/NetworkPhoneT.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/models/NetworkPhoneT.php b/common/models/NetworkPhoneT.php index 9bf2fbe..148b953 100644 --- a/common/models/NetworkPhoneT.php +++ b/common/models/NetworkPhoneT.php @@ -47,11 +47,11 @@ class NetworkPhoneT extends \yii\db\ActiveRecord return [ [['id'], 'required'], [['id', 'ts', 'call_duration', 'bill_duration'], 'integer'], - [['corp_key'], 'string', 'max' => 225], + [['corp_key', 'extend'], 'string', 'max' => 225], [['sign', 'begin_time', 'connect_time', 'alerting_time', 'release_time', 'call_result', 'record_file_url'], 'string', 'max' => 255], [['recorder_id'], 'string', 'max' => 128], [['caller', 'called', 'caller_show', 'called_show', 'caller_area', 'called_area'], 'string', 'max' => 32], - [['call_cost', 'extend'], 'string', 'max' => 10], + [['call_cost'], 'string', 'max' => 10], [['id'], 'unique'], ]; }