国产+高潮+在线,国产 av 仑乱内谢,www国产亚洲精品久久,51国产偷自视频区视频,成人午夜精品网站在线观看

workerman接口安全

lichao
$class      =   $message_data;//類(lèi)
$method     =   $message_data;//方法
$args       =   $message_data;//參數(shù)

if(file_exists(__DIR__.'/Controller/'.$class.'.class.php'))
{
      require_once __DIR__.'/Controller/'.$class.'.class.php';
      $exec=$class.'::'.$method;
      call_user_func_array($exec, array($args));
}else
{
      return ;
}

問(wèn)題:怎么保證接口的安全性?使用token驗(yàn)證呢還是,有其他方法?

5354 1 0
1個(gè)回答

walkor 打賞

token 也行,ip鑒權(quán)也行,其它方法都可以,看項(xiàng)目需要

  • 暫無(wú)評(píng)論
年代過(guò)于久遠(yuǎn),無(wú)法發(fā)表回答
??