payPopularity($uid); return array( 'code' => 200, 'message' => 'success' ); } /** * 用户小花明细 * @param Request $request * @return array */ public function flowerlogs(Request $request) { $uid = Auth::auth(); $page = $request->get('page') ?? 1; $pages = array( 'page' => $page, 'limit' => 30 ); $fs = new FlowerService(); $data = $fs->logs($uid, $pages); return array( 'code' => 200, 'message' => 'success', 'data' => $data ); } }