diff --git a/route/api.php b/route/api.php index 5e9e5c9..6a670a8 100644 --- a/route/api.php +++ b/route/api.php @@ -10,6 +10,8 @@ // +---------------------------------------------------------------------- use think\facade\Route; - - - +Route::rule('account/loginByCode', "\\app\\controller\\api\\user@login");//用户登录 +Route::rule('consumer/home', "\\app\\controller\\api\\Consumer@home");//首页列表(优惠券列表) +Route::rule('dic/getDisList', "\\app\\controller\\api\\dictionary@getDisList");//距离选项列表 +Route::rule('dic/getBusinessTypeListByPid', "\\app\\controller\\api\\dictionary@getBusinessTypeList");//首页获取商家类型 +Route::rule('dic/getCouponTypeList', "\\app\\controller\\api\\dictionary@getCouponTypeList");//首页获取优惠券类型