Commit 49171450 by 叶明星

话费充值服务

parent 234783a4
<?php
namespace App\Http\Middleware;
use Closure;
use App\Model\TokenModel;
class UniqueMiddleware
{
/**
* Handle an incoming request.
*
* @param \Illuminate\Http\Request $request
* @param \Closure $next
* @return mixed
*/
public function handle($request, Closure $next)
{
//设置唯一追踪值
$request->offsetSet('unique', getUnique(true));
return $next($request);
}
}
...@@ -6,7 +6,7 @@ use Illuminate\Database\Eloquent\Model; ...@@ -6,7 +6,7 @@ use Illuminate\Database\Eloquent\Model;
class Recharge extends Model class Recharge extends Model
{ {
protected $connection = false; protected $connection = false;
private $key = ''; private $key = 'b6ca0e6b55c2d10ebb0e6803a263bcd4';
private $OpenID = 'JH3f55c02fc5aaf8e1bca362b9de5051ba'; private $OpenID = 'JH3f55c02fc5aaf8e1bca362b9de5051ba';
//话费充值 //话费充值
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment