@@ -175,6 +175,7 @@ class DemoController extends AbstractController
//曾经 答题贡献的分数,用户曾经都要给到新机构
public function test()
{
+ return;
/*$rs1 = Db::table('vote_jigou')->where(['id' => 1])->decrement('score',1);
dd($rs1);
$rs2 = Db::table('vote_jigou')->where(['id' => 1])->increment('score',1);
@@ -16,10 +16,12 @@ class TestController extends AbstractController
//获取随机token
public function getrandtoken()
return AppResult::success('token','testuid_'.rand(100,150100));
}
public function test2(){
$user_id = 93;$old_jigou_id = 17;$new_jigou_id = 18;