mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-05-22 06:49:15 +08:00
Update Goods.php
This commit is contained in:
parent
985d136450
commit
30f1c97516
@ -3,6 +3,7 @@
|
||||
namespace app\data\controller\api;
|
||||
|
||||
use app\data\service\GoodsService;
|
||||
use app\data\service\TruckService;
|
||||
use think\admin\Controller;
|
||||
|
||||
/**
|
||||
@ -51,4 +52,12 @@ class Goods extends Controller
|
||||
$this->success('获取商品数据成功', $result);
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取配送区域
|
||||
*/
|
||||
public function getRegion()
|
||||
{
|
||||
$this->success('获取配送区域成功', TruckService::instance()->region(3, 1));
|
||||
}
|
||||
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user