会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
sam888
博客园
首页
新随笔
联系
订阅
管理
2020年5月25日
TP5开发API接口-1.创建token、解决跨域、设置api接口返回格式
摘要: 1、解决TP5接口跨域问题 说明:调用其他方法,会先执行TP5.0析构方法,然后再执行其他方法 //解决跨域--析构方法 protected function _initialize() { header('content-type:text/html;charset=utf-8'); header
阅读全文
posted @ 2020-05-25 21:08 sam888
阅读(2010)
评论(0)
推荐(0)
编辑
公告