Conditions | 1 |
Paths | 1 |
Total Lines | 9 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
15 | protected function checkSN() |
||
16 | { |
||
17 | $json = json_decode(Curl::to(config('irfa.app_license_client.url')) |
||
18 | ->withData(array('serial' => config('irfa.app_license_client.serial_number'))) |
||
19 | ->post()); |
||
20 | $this->res_active = $json->data->active; |
||
21 | $this->res_message = $json->data->message; |
||
22 | |||
23 | return $this->res_active; |
||
24 | } |
||
26 |