You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window, believe that. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Activity
TommyLemon commentedon Jan 22, 2021
如果每个接口逻辑不一样,可以在你已经做到的基础上新增
当然需要保证
先执行,所以可以用优先级更高的标识:
最终是
或者干脆把远程函数写在 Application 上方
如果是要统一处理,可以:
在重写 DemoObjectParser 重写 newSQLConfig,把从 Controller 经过 DemoParser 传过来的 gmt_create, create_time, creator_id 等 put 进去
https://github.com/APIJSON/APIJSON-Demo/blob/316b4411eec25a4fd1137fd69fb1de1171e75a57/APIJSON-Java-Server/APIJSONFinal/src/main/java/apijson/demo/DemoObjectParser.java
参考
#148 (comment)
ImagineL commentedon Jan 24, 2021
超级感谢~~~感谢大佬回复,一会就去试试~谢谢
ImagineL commentedon Jan 24, 2021
非常灵活的框架~