| xqd
@@ -306,6 +306,7 @@ class AlbumController extends Controller
|
|
|
$userAuth->up_agent_id = 0;
|
|
|
}
|
|
|
$userAuth->save();
|
|
|
+ $user['up_agent_id'] = $userAuth->up_agent_id;
|
|
|
$token = $userAuth->createToken($userAuth->id . '-' . $userAuth->openid)->accessToken;
|
|
|
return $this->api(compact('token', 'user'));
|
|
|
} else {
|
| xqd
@@ -476,6 +477,7 @@ class AlbumController extends Controller
|
|
|
|
|
|
|
|
|
|
|
|
+
|
|
|
/**
|
|
|
* @api {get} /api/album/goods-detail 商品详细(goods-detail)
|
|
|
* @apiDescription 商品列表(goods-detail)
|