Rails rails grape 实现小程序和后台接口同时提供 api

tjcforgithub · August 24, 2020 · Last by tjcforgithub replied at August 24, 2020 · 1294 hits

接触 ruby 不久,遇到一个使用 grape 的问题,目前后台已经实现了采用 grape 作为 api 框架,同时又新增了小程序的接口也想通过 grape 来管理 api,账号授权和一些基本的功能没法通用,本地试下了,没有实现配置两套分离的 grape api,不知道有什么好的实现方案

根本就没必要在 Rails 上加 Grape。

是个前后端分离的项目

Reply to Rei

之前版本已经用了 grape,我再好好读读 grape 文档~

tjcforgithub closed this topic. 24 Aug 15:05
You need to Sign in before reply, if you don't have an account, please Sign up first.