Test.php
457 字节
<?php
namespace app\api\controller;
use think\Controller;
use think\Db;
use app\common\model\Appraise;
use app\common\library\Token;
use app\common\controller\Api;
/**
* 测试
*/
class Test extends Api
{
protected $noNeedLogin = ['test'];
protected $noNeedRight = '*';
/**
* 测试方法
*/
public function test($user_id,$sup='+'){
\app\common\model\User::score($sup.$order['score'],$user_id,'测试');
}
}