@ -79,4 +79,13 @@ class ExpressTemplate extends \yii\db\ActiveRecord
],
];
}
/**
* @return array
* 数据键值对
*/
public static function modelColumn()
{
return $column = self::find()->select(['name'])->indexBy('id')->column();