|
|
<?php
|
|
|
/**
|
|
|
* Created by PhpStorm.
|
|
|
* User: Administrator
|
|
|
* Date: 2019/9/2
|
|
|
* Time: 15:29
|
|
|
*/
|
|
|
|
|
|
namespace app\index\controller;
|
|
|
|
|
|
use think\Controller;
|
|
|
|
|
|
class Test extends Controller
|
|
|
{
|
|
|
public function index(){
|
|
|
$str = ",5A5A5A5A00000,02,0190805163810,5A,";
|
|
|
echo crc16($str);
|
|
|
return $this->fetch();
|
|
|
}
|
|
|
} |
|
|
\ No newline at end of file |
...
|
...
|
|