upload image
This commit is contained in:
@@ -172,7 +172,7 @@ class common extends \yii\db\ActiveRecord {
|
||||
}
|
||||
|
||||
public static function requestToEngine($path, $data) {
|
||||
return file_get_contents("http://192.168.2.158:2305" . $path, false, stream_context_create([
|
||||
return file_get_contents("http://localhost:2305" . $path, false, stream_context_create([
|
||||
'http' => [
|
||||
'header' => "Content-Type: application/json",
|
||||
'method' => "POST",
|
||||
|
||||
Reference in New Issue
Block a user