|
|
@@ -86,7 +86,11 @@ class ShippingTemplateDao extends BaseDao
|
|
86
|
86
|
|
|
87
|
87
|
public function getList($merId)
|
|
88
|
88
|
{
|
|
89
|
|
- return ($this->getModel())::getDB()->where('mer_id',$merId)->field('shipping_template_id,name')->select();
|
|
|
89
|
+// return ($this->getModel())::getDB()->where('mer_id',$merId)->field('shipping_template_id,name')->select();
|
|
|
90
|
+ $list = ($this->getModel())::getDB()->where('mer_id',$merId)->field('shipping_template_id,name')->select()->toArray();
|
|
|
91
|
+ $default = ['shipping_template_id' => 105, 'name' => '默认包邮'];//默认
|
|
|
92
|
+ $list[] = $default;
|
|
|
93
|
+ return $list;
|
|
90
|
94
|
}
|
|
91
|
95
|
|
|
92
|
96
|
/**
|