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Xb3rRZ9bmiUQv0/yozZENftp9R0ZPzf2OLLTeNv0/D4O8msYcWVLyappgjiwhOTaNJAJNQwFNQwFNQwFNQwFNQwFNQwFNQwFNe9AvgCYMoKYFB9Cos9jaUhzTiorMnEs5uRd80ZbimFZaZJaD0sFCmZZdZEZf2Nh7lWM0nSFZFJm5Z6tDrrSnMUUzTaQWmY1U+82i6QzJoshsqNpNnwxA0xmSSZGZEzEyDJ9oNJ0lGRWZea+Q6gmD6V0aWxzTWGQWTXFM8wMzgAbRNEzQNBTQNBTQNBTQNBTQNBTQNBTQNBTQtAfMkRUNkTkyxp9B60hxTCvKkVlGsJdGS4pjWoMLYgZOW+tEoUyry5E5KGuV46FQpomyHJn3QS0pmmmiJkfmbSLSkqKZVpIj018zKZhpFTky1uu1lhTKtIIcmb8UUl/pxTGNObJoimOaH8yRIUUGTUMBTUMBTUMBTUPhf5IOjsQ2MMYiAAAAAElFTkSuQmCC" alt="" />

1)路由

这里的v1、v2就是模块,由于客户端版本一直在迭代的,那么一些老版本的客户端调用的接口就得保留起来,使得兼容。新版本就直接调用新接口。

还有一种是写html页面,在客户端展示,只要把template文件夹和data文件夹加上就可以了。

Controller的配置如下,注意ismodule是true,module_list中的array:

$InitPHP_conf['ismodule'] = true; //开启module方式
$InitPHP_conf['controller']['path'] = 'controller';
$InitPHP_conf['controller']['controller_postfix'] = 'Controller'; //控制器文件后缀名
$InitPHP_conf['controller']['action_postfix'] = ''; //Action函数名称后缀
$InitPHP_conf['controller']['default_controller'] = 'index'; //默认执行的控制器名称
$InitPHP_conf['controller']['default_action'] = 'index'; //默认执行的Action函数
$InitPHP_conf['controller']['module_list'] = array('v1','v2'); //module白名单
$InitPHP_conf['controller']['default_module'] = 'v1'; //默认执行module
$InitPHP_conf['controller']['default_before_action'] = 'before'; //默认前置的ACTION名称
$InitPHP_conf['controller']['default_after_action'] = 'after'; //默认后置ACTION名称

这里顺便说下InitPHP的路由管理。InitPHP的框架URL路由分为三种形式,原生、path模式、rewrite模式,HTML模式。我这边用的是rewrite模式。

1.原生模式:index.php?c=index&a=run

2.rewrite模式:/index/run/id=1 (需要开启服务器rewrite模块,并且配置.htaccess)

3.path模式:/index/run/id/1 (需要开启服务器rewrite模块,并且配置.htaccess)

4.html模式: user-index-run.htm?uid=100 (需要开启服务器rewrite模块,并且配置.htaccess)

2)模拟session

这里模拟的方法比较简单而粗暴。

在登录的时候,会生成一串字符,然后保存到用户表中,这串字符会返回给客户端,作为session。

在登录后客户端会将这串字符传过来,服务器再根据这串字符在搜索用户,从未获取用户信息,并判断是否已经登录。

二、apiController通用控制器类

public function __construct() {
parent::__construct(); $this->controller_name = $this->getC();
$this->action_name = $this->getA();
$this->module_name = $this->getM(); //访问参数日志记录
$this->_logVisit(); //API统一接口为post提交
if (!$this->controller->is_post()) {
$this->output(constHelper::API_STATUS_NEED_POST, '必须为POST请求');
} /**
* 请求参数示例
* __ua=Android 4.4.4//MI 3W//26//2.0//865645022129866//////WIFI&
* __timestamp=1441854121116&
* mobile=13800138000&
* __version=2.0&
* __device=android&type=2&
* __key=67543fd413ce4d281fc93306597acb66
*/
$device = $this->p('__device'); //客户端名称
$timestamp = $this->p('__timestamp'); //客户端时间戳
$key = $this->p('__key'); //客户端加密指纹
$session = $this->p('__session'); //客户端SESSION
$version = substr($this->p('__version'), 0, 5); //客户端版本 //客户端最低版本号要求
if (strnatcmp($version, constHelper::MIN_VERSION_ALLOWED) < 0) { //客户端需要升级
$this->output(constHelper::API_STATUS_NEED_UPGRADE, '客户端需要升级');
} //检查密钥
$this->_checkSecretKey($device, $timestamp, $key); //判断是否需要验证登录
$needCheck = $this->_checkLogin();
if($needCheck && empty($session)) {
$this->output(constHelper::API_STATUS_NEED_LOGIN, '请先登录');
} //根据session获取用户信息
if(!empty($session)){
$memberModel = InitPHP::getMysqlDao('member');
$this->member = $memberModel->getMemberBySession($session);
} //session没有获取到相关信息 也要做跳转
if($needCheck && empty($this->member)) {
$this->output(constHelper::API_STATUS_NEED_LOGIN, '请先登录');
}
}

1)访问参数日志记录

当客户端发起一个请求的时候,会带上很多参数,例如操作系统、当前版本号、时间戳、口令、网络、应用市场等信息。

调用$this->_logVisit();将这些信息全部存到MongoDB中,便于以后调试与追踪。并且在返回参数的时候,将返回参数更新到这条请求记录中。

2)output返回参数

返回参数的格式如下:

 {
"code":1000,
"msg":"hello\u6210\u529f",
"data":{
"result":1,
"obj":{"id":"55f57a4aa0105"}
}
}

code:是各种通用的错误编码,我写在了libraray/helper/dict/constHelper中,如上面的代码所示,当验证出现错误的时候,会显示响应的code,并返回

msg:就是提示语言,这里做了Unicode编码

data:返回的就是各种自定义参数,这里仅列举了通用的两种

result:也是类似于code的定义,不同的是针对的是特定请求中的返回码

obj:返回的就是个自定义对象,也可以是数组

3)密钥匹配

为了保证请求的合法性,在客户端和服务器端约定一个密钥,客户端在根据这个密钥做加密后,传过来给服务器端,服务端再加密然后做匹配。

服务器端将密钥设置在defined文件中,IOS,Android可以定义的不同:

define('API_IOS_KEY', 'DF_A98=D^&7$^%*9CNAhj0UO!!LM11');
define('API_ANDROID_KEY', 'KU98&)dsf8%@kji89dfadJK-800i122');
define('API_UNKNOW_KEY', 'jfdsfd798hj+@(*kb66578-223q670933');

而验证的规则也很简单,时间戳+密钥再MD5加密:

private function _checkSecretKey($device, $timestamp, $key) {
//提取私有密钥
$privateKey = '';
switch (strtolower($device)) {
case 'ios':
$privateKey = API_IOS_KEY;
break;
case 'android':
$privateKey = API_ANDROID_KEY;
break;
default:
$privateKey = API_UNKNOW_KEY;
break;
} $keySource = $privateKey . $timestamp;
//客户端安全认证失效
if (empty($key) || ($key != md5($keySource))) {
$this->outputCom(constHelper::API_STATUS_AUTH_FAIL, '安全认证失败');
}
}

4)各种验证

1.第一个验证是只接收post请求,这里直接使用了InitPHP中的Request API

2.客户端最低版本号验证,有时候客户端需要强制升级

3.登录验证,这里有多种情况,有些API是不需要登录的,有些是需要登录的,而有些是既可以登录也可以不登录

三、API调试工具

在交付给客户端之前,自己肯定要先测试一下的,这就需要一个简易工具了,当然也可以选择一些强大的工具,例如firefox的httprequester等。

在tool文件夹下面,我已经把这个工具放在里面了,执行页面如下:

aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAAfMAAAEPCAIAAADZPbp+AAAgAElEQVR4nO2dzY8jx3mHeU8QHxKAyiGOEQRIbgxAJ7dYPgRYwznlJB9CJGCAAPkDBsglFyc+MEAoa23AceCMAa1ga6kgJJImMNptShlvStLAq+mVNWOZXrY/ZBHgWtJua3d92yxzaHb1W5/9wZ5pdvH3QBC4zerq6qrm02+/VRy21gAAANyiVXcDAAAAVAzMDgAArgGzAwCAa8DsAADgGjA7AAC4hs3sw153OJmr26eDfrc3rOTw21U177ba07NVkfIt7RnFrM6mnU5fV53xQMNetz+Y8gr6nTatfzrok3dzUWHfAgD2FpvZV2fTdqvVH0znk2HLSuyvYe8K1d+w140lNR3023pjpiKzHMK0b3yIVqtrVLXucC3rzYCKlbxOzS6adzUdHJAWUrOv+p12q9UeTm4lheddwwkOJ3N+h4DZAQDbk5GNWZ1N24o6TfaZT4bEs2mAnMfshmPNu8ltw2JGBV5JrNcMxLB61e90FImbzC6daWp20ynTc6Tx/iWY/cmTJ8GdO6NXXnnh6tUXrl4dvfJKcOfOkydPLuJYF4cbZwHARZMzz25XZKpjGqebSsfKG/YEUeui+1W/0yaao7kUanyxocLtQU6PaM+LK1Vq5KHhFMzmzTxcbWZ/9OjRtZdeevXGjbt37z58+PDhw4d379599caNay+99OjRo6y9513bWV8e251F9cQPmvYRN7Pqd9oVPo8CQCkzg2qxT2IuIaOdM2aPGfa6rVb7cHLYNtrEcpuRPgkFzJ4T3mDLrUu9l03PVvZb3cFFmv3JkycvXrt269atjz++f+N19pWvffsrX/u2f8w+vn//1q1bL167lhXzas0uPUJpclxxNs9SoPRZvHHy9vTG69Mbr7/1/dPcZyE3bPt+htnBzmI0O4+ph5NbmTkNywW6LmP2VnJo9cLeaF2qkE8JqIVzmn0+GSZ1Fp2YXce7d3sHmTE7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B85TTTYm0855zJ7fRDto9jydoN2+zflq7xZFT9/SFeXMnmnSnPq2mFpr7TyvYXawJ1Qwg6p9YdJNptnzuAlmL3rccl1RwuxPDUl2NXZWhZvH+JYyMDsAnG3NXlRnpr202yUsb5lKltBZia6wnJ2pQKGW5zR75V1RYga1UISe379PSSBv2sXSqzA72DeqWc9OzaKaSC2s3T1TYUVNV05nRbtiy7blaW3p8700s1u0m0fZmWXUmnPeCcr9B7ODplOx2Tv53O2q2bU3NnvbLs7sRftB7YqqzG4PnEuoP1PcMDvYcypY9aj1mqR7tYw2Y9Bos+c5kUswe+bdJX9X1Buz0/uBWkx6nQeYHewP25o9c3umd8qZ3c42OivUFbQ9OTcWsnaeMuXqzNMVpc1ORWxSqmRbu3y171p2KeRxmB24R2WrHjNFlse5vIBd2UVNV0hnhboi86SkAjldnwf7+ZaTeyUzqKqvpXftRjZJvNw9BmYH+wn+ii/+iq+xK/BXfAFoKDA7zG7sCpgdgIYCs8Psxq6A2QFoKDA7zG7sCpgdgIYCs8Psxq6A2QFoKDA7zG7sCpgdgIYCs8Psxq6A2QFoKILZ9xapU+puTp2gH2Iu48MHwIXRyi4CAACgUcDsAADgGjA7AAC4BswOAACuAbMDAIBrwOwAAOAaMDsAALgGzA4AAK4BswMAgGv8PwC3KDGLSx6HAAAAAElFTkSuQmCC" alt="" />

工具的文件目录也很淳朴,就五个文件,有两个地方需要配置:

aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIYAAAB2CAIAAACCiXzfAAAHgklEQVR4nO2dT2/bNhiH9bX0gfQJctvJh8FBdxCMHnZIYQwF1p5sYK5mVHXjNpeiRYEC3WXQBqROUWQYehhiWX8tyd6BlURSlEnZYkrZ74MgcG1JUfmYpBW++kVLAcXQvvcJADSgRDlAiXKAEuUAJcoBSpQDlCgHKFEOISVXO4miSPZZnhSiStIkSdMky9IsSzebbLPJ0jTZbLL379+/fPly6S5ln+jpIKTk9evXSbKuWtlssjdv3gRBcHl5eXd3J/tcTw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VoXSIvNyBmt6LOjtSiWFUJ+z6XsLY+EgQUjIYDLi95LB0iEaDz7GNVBRCSvr9vuR0CFBSIqREJBrisHQIUFICS1jKAUqUA5QoByhRDlCiHKBEOUCJcoAS5QAlyvE/6610iKSJQCIAAAAASUVORK5CYII=" alt="" />

1)在indexhtml中data-domain属性,修改为你当前的api域名,在第13行左右

aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAAggAAABPCAIAAAABXKrJAAAM4klEQVR4nO2dQXLjKhCGORcH4hw6gsqbHMBr71ysp1w5QiobbbOZyvIdoN8CCWhokJBtyWP9X6VmEiyBhORu/kai1c/m/P37l4iSf7uuy8sBAABsj9reMVDmFYio6zqxHAAAwMbs4BigGAAA4JWBYgAAAMCAYgAAAMCAYgAAAMCAYgAAAMCAYgAAAMDYTTF0c+zdMwAcD0udou/l5WAdL9+fsmP4PHdd152uX0n51/U0mu3TdbVjoCl29F8ZH1laiFGkNCuxhnT/2L6a6DUpRUpRPzyngQIDfSi6WPrtqVN0mxp3f3aKOtNQ2beZ9op2/O2lSgrtLsAapdSzLsM+7Vqj9J3XXerPm65dQfm6lMtXc9NyhaXy5VwUfWx/I+zE7HVh/bn++/VEBMfwdT1158+fz3PiGD7PwR98XU+521iIVwx1xyAe7tCTUmSlj4yWSp9Hr/dyDOJw49u0fHULAxa5kmq7sy2ZBQa610a8pnewqN19KPRn5QqWPmq76LPYgmEqlYMCM9cl6c/C/WDU04a2CyiHkjLHkDiP1Y6B1imGgXQiC1yJIqXI2OAYnPNQvFutiQrt+Lua9SVGhd20pvi7kTsG30YuJvyBas0OKysfeq0y/BD14u6ngT6WOYaLCrLAbz8OTrOPLrwwrq3SrkB0DsZGBtqa/IzyEw4uQtx+RbtEURvG+i21NtO2rOVCu776vNAYw+pfdR3dFfRXxxuO0nURygf6UNQputhQT3K9bpo6Tb9S/y2UC0xruqqq7TYr2qm2TtGtD71xmSrxB+C6qPV4qPC9EBkP3oSziB2kWE/leyT2J5W/Xy42sfH409Hq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NkdK2/TFDv6r0zXdYdSDMjMBQB4HVoyuI0ZGe5N1uMVQ90x7N0zT2G7DG4AALCWxkQ9d6yd56FjKoZdMrgBAEA7LY7h83w6n09+edVKsoYqB1QMu2VwAwCAdhocg8vsORbeoR4oUgydxDsphp0zuAEAQDuNjoHlZlgpGo6pGJCZCwDwr9CW2jPK27Y+tScdco5hnwxuAADQTlsGtwc8rHpIxTCyfQY3AABoZ783nw+mGAAA4F8Bbz4DAABgYK0kKAYAAGBgdVUAAAAMKAYoBgAAYEAxAAAAYEAxPF0xQJEAAP4toBgAAAAw/gdjNcjCP1hqNAAAAABJRU5ErkJggg==" alt="" />

2)在tk.php中,修改数据库连接参数,以及客户端密钥

aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAAdQAAAE2CAIAAABXyfSyAAAgAElEQVR4nO2dy2rjTNeF67Jat9MgX4fGGdgQkH0BGQkbMnA0NHyCzA1NbAKeNRn4zfTHdAiK/Q9Uqtp1klXyoXxY4qFJlyW5VJaWl3dJe7OPsy+73e6///7T/t0xZm3flhsAALg92PnF11TY//77b8eYRZEhvgCAGyWA+ML5AgAAnC8AAAQAzhcAAAIA5wsAAAGA8wUAgAAEc747xjQSdYHzvWpW/TTq/w3eDQAuFrv4vj4lSZI8vrxp7W8vj1waH186i6+IM/yfe0mS5DDn+9Vju6j/T2tf9X9Y/NVi83+DaMfYbu/KRfRTvO/vT+v37bL+qv/Dv7983uK4aOOQxwljnN70XN14/x5F3x7t4lW2GxmnCgCnxiK+by+PydPrx+uTJr6vT1Jz314eTWluuQjn2yy+p3C+eeyhUPtXnpZJu715vW+H9bttcjS0cZhmLJ7XvTqj+JabZbyb2N7O1b4tN5/9HygvCII77GCIrybQncXX2/m+f0c0PhF/yZboe1VupFFlP4N3lxP86mlxDvmq2FzuZMvl7JvuWRu7IlIvabOfTe9bt8dfeUzfol0/+YFLbOJrrN84bupbl7k2bno/neOw6qem4K76KWNJL85qR5zl4tWpaEx4pOJ9FrGERWmvWpOvU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4mqcLwAA3BJwvgAAEAA4XwAACACcLwAABADOFwAAAgDnCwAAAYDzBQCAAFyN80UlCwDALYFKFudk3lNTCR9xz9aKFcsxTxmstYu8wNpLdWZha/71+SRRUwMrjzsbjzXbn3hGZQ0AOB6VLKoXjHW8l/usZFHTmFztAMyKFZ9FmoznZu4ekuF3PiE5IpZjuYfPItW2KobJpFAzqxmJ1pS3dmSZQGUNACo6VrIw8qx7LL7O15rVYRDJfDpMS7U+FY16GjN7hQtbO28hok/rX5AEPTJxj7MiBkkl3JvuEd8jVsrg2BKnybcrUq3yhWinW3G9XrcT3/Vs5JZXVNYAoMKnkgVxvmam9fbLsSpZDCJN4Oq/p3MqiDT5urXChb39fRbFikaItMKDiGi6zBdc/1eviDHvyZ6fLuzgqljRLL5KXkreYoQduIMuDbV1hR0W2Wic1S/RNJgN/YT4grvDp5IFzTf5+KL4YJ+l490ORiULKqxbapDVohVkHVuFC3f7IMrySuKjmQwXuEV5W9ryAmst77PoNM7XiUt817ORUfBNQCWyChyLxSXxws9WgWO+WqMLBuCe8ahkoS7dww7HqmShJE2X4kudpjsRpeZYbe15nA7e571olsfpYFpr7onF9/jYxPezSE1PqmKa4qYgL13/s0gTa6J3AADBo5KFtk7n+x18na+rkkXtScV/s7xU1e19FilO2V7hwtW+nWa9OIv6f7fTLIpS+360CTRLRYx5j/SZhjvOhG3CzTrlVQzVyTdTZ1XxpQU9ZWhC35VNxE1QWQPcHz6VLI5TyOJolSwGUdqLU3NurZ7vShjjK1QbuipcOCtfvM8ibqIVN+0Ia7grYpAJQBZnpwv7amjhAi64TaXmSXENx11rWthBlrJ3xY7dkQ1l56isAe6Pq3nCzSq+A8zP3AKorAHukat5wk2D3ByG+RwAwPVxNc4XAABuiWt1vgAAcNXA+QIAQADgfAEAIAD/DxlScCt41sLSAAAAAElFTkSuQmCC" alt="" />

GitHub地址:

https://github.com/pwstrick/grape

grape动态PHP结构(三)——API接口的更多相关文章

  1. grape动态PHP结构(一)——目录结构与配置文件

    一.结构介绍 结构的名字grape,中文名叫葡萄,因为最近一个同事经常带葡萄到公司给我们吃,受到启发想到了这个名字. 1)本结构需要在PHP5.5中运行,如果要在5.4中运行,有些地方就要做些修改 2 ...

  2. grape动态PHP结构(二)——管理后台

    一.概述

  3. api接口返回动态的json格式?我太难了,尝试一下 linq to json

    一:背景 1. 讲故事 前段时间和一家公司联调api接口的时候,发现一个奇葩的问题,它的api返回的json会动态改变,简化如下: {"Code":101,"Items& ...

  4. ASP.NET实现二维码 ASP.Net上传文件 SQL基础语法 C# 动态创建数据库三(MySQL) Net Core 实现谷歌翻译ApI 免费版 C#发布和调试WebService ajax调用WebService实现数据库操作 C# 实体类转json数据过滤掉字段为null的字段

    ASP.NET实现二维码 using System;using System.Collections.Generic;using System.Drawing;using System.Linq;us ...

  5. coreseek实战(三):全文搜索在php中应用(使用api接口)

    coreseek实战(三):全文搜索在php中应用(使用api接口) 这一篇文章开始学习在php页面中通过api接口,使用coreseek全文搜索. 第一步:综合一下前两篇文章,coreseek实战( ...

  6. 操作系统的三个接口 shell gui api

    操作系统的三个接口 shell gui api 编程语言是用来告诉操作系统干什么的语言. 编程语言是人机交互语言. 程序.进程:任务集.

  7. 八 Struts2访问Servlet的API方式三:接口注入

    Struts2访问Servlet的API方式三:接口注入 通过实现ServletRequestAware, ServletContextAware 接口,拿到Request.ServletContex ...

  8. Roslyn 编译器Api妙用:动态生成类并实现接口

    在上一篇文章中有讲到使用反射手写IL代码动态生成类并实现接口. 反射的妙用:C#通过反射动态生成类型继承接口并实现 有位网友推荐使用 Roslyn 去脚本化动态生成,今天这篇文章就主要讲怎么使用 Ro ...

  9. itnesse实现api接口自动化测试学习

    上午在园子里乱逛,看了不少小伙伴们分享的接口测试方面的知识,大家所叙述到的一些经验或多或少,我也曾遇到过,突然意识到知识的点滴积累是多么的重要,我记得我最早接触接口测试的时候,就是只在浏览器里人工测试 ...

随机推荐

  1. bzoj3380+3381+3382+3383 Usaco2004 Open

    四道比较水的题 T1:SPFA+状压 #include<stdio.h> #include<string.h> #include<algorithm> #inclu ...

  2. awk使用shell变量

    awk使用shell变量  (可以计算浮点数) 其实在awk里,是不能直接使用shell变量的 方法是:awk -v 选项让awk 里使用shell变量 TIME=60 awk -v time=&qu ...

  3. jquery/zepto 圣诞节雪花飞扬

    下载地址: http://www.html5tricks.com/jquery-html5-christ-snow.html 演示地址: http://www.html5tricks.com/jque ...

  4. 使用nmap工具查询局域网某个网段正在使用的ip地址

    linux下nmap工具可扫描局域网正在使用的ip地址 查询局域网某网段正在使用的ip地址: nmap -sP .* 以上命令,将打印10.10.70.*/24网络所有正在使用的ip地址

  5. Excel导入导出组件的设计

    前言: 距离一篇文章,又八九个月过去了,随着在园子露脸的次数越来越少,正如我们淡忘上一波大神那样,我们也正下一波所淡忘. 这八九个月,前前后,游走在十来个项目上,忙,却找不到成就感. 人过30后,也是 ...

  6. Expert 诊断优化系列------------------你的CPU高么?

    现在很多用户被数据库的慢的问题所困扰,又苦于花钱请一个专业的DBA成本太高.软件维护人员对数据库的了解又不是那么深入,所以导致问题迟迟不能解决,或只能暂时解决不能得到根治.开发人员解决数据问题基本又是 ...

  7. 软件工程(QLGY2015)博客点评总结

    目录 第一次作业(2015.5.9) 第二次作业(2015.5.21) 第三次作业(2015.6.11) 2015上半年软工助教总结 第一次作业(2015.5.9) 存在主要问题 1)书写这种练习博客 ...

  8. Web3DGame之路,Babylonjs 和TypeScript学习笔记(二)

    先来认识一下Babylonjs,由于基于webgl来开发,所以先介绍一下基础知识. Webgl是一个html标准,他要在canvas元素上初始化. Html页面上的准备 所以我们先从html页面开始看 ...

  9. 海淘手表Invicta8926OB到手~晒图

    3月3号通过国内代购网站Hai360海外购下单: 3月5号美亚发货: 3月6号到达转运仓: 3月12号到达天津清关: 清关等了7天: 3月19号转国内快递,我将原武汉地址,改上海,耽误了3天: 3月2 ...

  10. ASP.NET Web API自身对CORS的支持: CORS授权检验的实施

    通过<EnableCorsAttribute特性背后的故事>我们知道:由CorsPolicyProvider提供的CorsPolicy表示目标Action采用的资源授权策略,ASP.NET ...