|
|
@ -169,8 +169,8 @@ class Order extends \yii\db\ActiveRecord |
|
|
|
*/ |
|
|
|
public static function dropDown($column, $value = null) |
|
|
|
{ |
|
|
|
$types = ExpressType::find()->asArray()->all(); |
|
|
|
$data = ArrayHelper::map($types, 'id', 'shipping_name'); |
|
|
|
// $types = ExpressType::find()->asArray()->all();
|
|
|
|
// $data = ArrayHelper::map($types, 'id', 'shipping_name');
|
|
|
|
$data[0] = '无需配送'; |
|
|
|
$dropDownList = [ |
|
|
|
'pay_type' => [ |
|
|
|