|
|
@@ -25,7 +25,6 @@ class OrderController extends BaseController
|
|
|
public function actionList()
|
|
|
{
|
|
|
$get = Yii::$app->request->get();
|
|
|
-
|
|
|
//组建where
|
|
|
$status = isset($get['status']) ? $get['status'] : 0;
|
|
|
$search = isset($get['search']) ? $get['search'] : '';
|
|
|
@@ -41,48 +40,11 @@ class OrderController extends BaseController
|
|
|
$list = OrderService::getOrderList($where);
|
|
|
util::success($list);
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
//发货管理 shish 2019.11.30
|
|
|
public function actionSend()
|
|
|
{
|
|
|
- return [
|
|
|
- 'orderId' => '201911232278449',
|
|
|
- 'price' => '390',
|
|
|
- 'progress' => 4,
|
|
|
- 'list' => [
|
|
|
- [
|
|
|
- 'name' => '下单',
|
|
|
- 'reach' => 1,
|
|
|
- 'time' => '11.20 12:30',
|
|
|
- 'show' => ['hint' => '已下单']
|
|
|
- ],
|
|
|
- [
|
|
|
- 'name' => '打单',
|
|
|
- 'reach' => 1,
|
|
|
- 'time' => '11.20 12:30',
|
|
|
- 'show' => ['option' => 1, 'info' => ['收花人信息待写上'], 'hint' => '已确认'],
|
|
|
-
|
|
|
- ],
|
|
|
- [
|
|
|
- 'name' => '发货',
|
|
|
- 'reach' => 1,
|
|
|
- 'time' => '11.20 12:30',
|
|
|
- 'show' => ['option' => 0, 'info' => ['配送信息待写上'], 'hint' => '已确认'],
|
|
|
- ],
|
|
|
- [
|
|
|
- 'name' => '送达',
|
|
|
- 'reach' => 1,
|
|
|
- 'time' => '11.20 12:30',
|
|
|
- 'show' => ['hint' => '已送达']
|
|
|
- ],
|
|
|
- [
|
|
|
- 'name' => '完成',
|
|
|
- 'reach' => 1,
|
|
|
- 'time' => '11.20 12:30',
|
|
|
- 'show' => ['hint' => '订单已完成']
|
|
|
- ],
|
|
|
- ]
|
|
|
- ];
|
|
|
+
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
}
|