芝麻web文件管理V1.00
编辑当前文件:/home/qrafawbu/store.kwesioben.com/app/Http/Controllers/Admin/ShipRocketController.php
loginDetails = Shiprocket::login([ 'email' => isset($config) ? $config['email'] : 'no_email@email.com', 'password' => isset($config) ? $config['password'] : 'no_password' ]); } public function login(Request $request) { } public function index() { if ($this->loginDetails['status_code'] != 200) { return view('admin-views.shiprocket.login'); dd($this->loginDetails['message']); } $orderDetails = [ 'per_page' => 20, ]; $response = Shiprocket::order($this->loginDetails['token'])->getOrders($orderDetails); } }