修改日志名称
This commit is contained in:
@@ -15,6 +15,7 @@ class TestController
|
||||
{
|
||||
|
||||
use ApiResponse;
|
||||
public $baseUrl = 'http://pac.ysd-bs.com/api/V1/';
|
||||
|
||||
public function index(Request $request)
|
||||
{
|
||||
@@ -53,7 +54,7 @@ class TestController
|
||||
|
||||
$data = $this->jiami($data);
|
||||
|
||||
$url = 'http://pac.ysd-bs.com/api/V1/user/grant';
|
||||
$url = $this->baseUrl.'user/grant';
|
||||
$res = $this->http($data, $url);
|
||||
|
||||
// if (isset($res['data'])) {
|
||||
@@ -79,7 +80,7 @@ class TestController
|
||||
|
||||
$data = $this->jiami($request->all());
|
||||
|
||||
$url = 'http://pac.ysd-bs.com/api/V1/user/grant';
|
||||
$url = $this->baseUrl.'user/grant';
|
||||
$res = $this->http($data, $url);
|
||||
|
||||
return $res;
|
||||
@@ -100,7 +101,7 @@ class TestController
|
||||
|
||||
$data = $this->jiami($request->all());
|
||||
|
||||
$url = 'http://pac.ysd-bs.com/api/V1/user/query';
|
||||
$url = $this->baseUrl.'user/query';
|
||||
$res = $this->http($data, $url);
|
||||
|
||||
return $res;
|
||||
@@ -124,7 +125,7 @@ class TestController
|
||||
$redemptionCode = $request->redemptionCode;
|
||||
$data = $this->jiami($request->all());
|
||||
|
||||
$url = 'http://pac.ysd-bs.com/api/V1/user/destroy';
|
||||
$url = $this->baseUrl.'user/destroy';
|
||||
$res = $this->http($data, $url);
|
||||
|
||||
dump($this->getElapsedTime());
|
||||
@@ -155,7 +156,7 @@ class TestController
|
||||
'orderid' => $request->orderid,
|
||||
]);
|
||||
|
||||
$url = 'http://pac.ysd-bs.com/api/V1/user/freezecoupon';
|
||||
$url = $this->baseUrl.'user/freezecoupon';
|
||||
$res = $this->http($data, $url);
|
||||
|
||||
return $res;
|
||||
|
||||
Reference in New Issue
Block a user