03 2017 档案
PHP获取当前类名、函数名、方法名
摘要:PHP获取当前类名、方法名 __CLASS__ 获取当前类名 __FUNCTION__ 当前函数名(confirm) __METHOD__ 当前方法名 (bankcard::confirm) __FUNCTION__ 函数名称(PHP 4.3.0 新加)。自 PHP 5 起本常量返回该函数被定义时的 阅读全文
posted @ 2017-03-03 14:49 Tur-Mann 阅读(7139) 评论(0) 推荐(0)
服务端跨域问题
摘要:问题描述:前端请求服务端接口时报错: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'null' is therefore not allowed access. 问题原因:浏 阅读全文
posted @ 2017-03-02 19:59 Tur-Mann 阅读(1837) 评论(0) 推荐(0)