Commit 4e37a0bf by 杨树贤

补充邀请好友列表接口

parent 8f086b6f
......@@ -8,7 +8,7 @@ class InviteService
{
public function getInviteList($map = [])
{
$url = config('website.BaseUrl') . '/invite/list';
$url = config('website.BaseUrl') . '/invites/list';
$result = reportCurl($url, $map, true);
$result = json_decode($result, true);
......
......@@ -53,6 +53,7 @@ $router->group(['middleware' => ['web', 'login']], function () use ($router) {
//邀请好友
$router->post('invites/add', 'InvitesController@store');
$router->get('invites/list', 'InvitesController@index');
});
$router->group(['middleware' => 'web'], function () use ($router) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment