開啟的web服務腳本中不能用exit嗎
奧看到了~
workerman里面不能用exit或者跌,包括web服務。web服務中可以用Http::end();替代 exit\die;
use Workerman\Protocols\Http; Http::end();