PHP code example of easyswoole-yuejie89 / jiateng

1. Go to this page and download the library: Download easyswoole-yuejie89/jiateng library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

easyswoole-yuejie89 / jiateng example snippets


{
    code:200,
    data:'',
    msg:'注册成功'

}

{
    code:200,
    data:{
            user_id:9,//用户ID
            token:sadfsdfsfexdfdssadsafdsafdsa,
            aging:7200,//有效时长
            creationtime:'2018-7-31 0:27:33'//创建时间
        },
    msg:'登录成功'

}