123456789101112131415161718192021222324252627282930313233343536373839404142434445464748 |
- <?php
- namespace app\api\controller;
- use app\api\logic\CourierLogic;
- /**
- * 配送员
- *
- * @author wj
- * @date 2022-12-09
- */
- class Courier
- {
- /**
- * 获取订单列表
- *
- * @return void
- * @author wj
- * @date 2022-12-09
- */
- public function geiorderlist()
- {
- $post = request()->post();
- $l_d = new CourierLogic();
- $result = $l_d->geiorderlist($post);
- if (empty($result['status'])) {
- return backjson2(0, $result['msg']);
- }
- return backjson2(200, $result['msg'], $result['data']);
- }
- /**
- * 改送货状态
- *
- * @return void
- * @author wj
- * @date 2022-12-09
- */
- public function updatestatusdelivery()
- {
- $post = request()->post();
- $l_d = new CourierLogic();
- $result = $l_d->updatestatusdelivery($post);
- if (empty($result['status'])) {
- return backjson2(0, $result['msg']);
- }
- return backjson2(200, $result['msg'], $result['data']);
- }
- }
|