1
This commit is contained in:
@@ -81,6 +81,7 @@ class Base extends Controller
|
||||
protected $article_main_obj="";
|
||||
protected $article_main_image_obj = "";
|
||||
protected $article_main_table_obj = '';
|
||||
protected $order_obj = "";
|
||||
|
||||
|
||||
public function __construct(\think\Request $request = null)
|
||||
@@ -157,6 +158,7 @@ class Base extends Controller
|
||||
$this->article_main_obj = Db::name("article_main");
|
||||
$this->article_main_image_obj = Db::name("article_main_image");
|
||||
$this->article_main_table_obj = Db::name("article_main_table");
|
||||
$this->order_obj = Db::name("order");
|
||||
}
|
||||
|
||||
|
||||
@@ -545,7 +547,7 @@ class Base extends Controller
|
||||
}
|
||||
|
||||
|
||||
private function crossTifToPng($tif_url){
|
||||
public function crossTifToPng($tif_url){
|
||||
$url = $this->ts_base_url . "api/typeset/crossImage";
|
||||
$program['url'] = $tif_url;
|
||||
$res = object_to_array(json_decode(myPost($url, $program)));
|
||||
|
||||
Reference in New Issue
Block a user