This commit is contained in:
gaofeng
2026-06-17 11:38:03 +08:00
parent e7f56da87c
commit 017b8238f1
3 changed files with 6 additions and 4 deletions

View File

@@ -5,9 +5,6 @@ const UPDATE_EVUS_ORDER_URL = 'https://uniuser.jzvisa.com/home/order/updateevus'
const CREATE_ORDER_URL = 'https://uniuser.jzvisa.com/home/order/do_apply'; const CREATE_ORDER_URL = 'https://uniuser.jzvisa.com/home/order/do_apply';
const NEWS_LIST = 'https://uniuser.jzvisa.com/home/news/lists'; const NEWS_LIST = 'https://uniuser.jzvisa.com/home/news/lists';
const NEWS_DETAIL = 'https://uniuser.jzvisa.com/home/news/detail'; const NEWS_DETAIL = 'https://uniuser.jzvisa.com/home/news/detail';
const GET_ORDER_URL = 'https://uniuser.jzvisa.com/home/order/orderList';
const INCOICETYPE = '1'; const INCOICETYPE = '1';
const MODEL = 'msg'; const MODEL = 'msg';

View File

@@ -177,6 +177,7 @@ class Base extends BaseController
Config::set(['user_url' => $data['user_url'] ?? ''], 'app'); Config::set(['user_url' => $data['user_url'] ?? ''], 'app');
Config::set(['get_evus_detail_url' => $data['get_evus_detail_url'] ?? ''], 'app'); Config::set(['get_evus_detail_url' => $data['get_evus_detail_url'] ?? ''], 'app');
Config::set(['get_order_detail_url' => $data['get_order_detail_url'] ?? ''], 'app'); Config::set(['get_order_detail_url' => $data['get_order_detail_url'] ?? ''], 'app');
Config::set(['get_order_url' => $data['get_order_url'] ?? ''], 'app');
Config::set(['download_evus_url' => $data['download_evus_url'] ?? ''], 'app'); Config::set(['download_evus_url' => $data['download_evus_url'] ?? ''], 'app');
Config::set(['update_order_url' => $data['update_order_url'] ?? ''], 'app'); Config::set(['update_order_url' => $data['update_order_url'] ?? ''], 'app');
Config::set(['LOOKUP_URL' => $data['evus_look_url'] ?? ''], 'app'); Config::set(['LOOKUP_URL' => $data['evus_look_url'] ?? ''], 'app');

View File

@@ -23,8 +23,12 @@ class Order extends Base
$business = $this->businessCode((string)$this->request->param('business', 'evus')); $business = $this->businessCode((string)$this->request->param('business', 'evus'));
$model = $this->businessModel($business); $model = $this->businessModel($business);
$invoiceType = $this->businessInvoiceType($business); $invoiceType = $this->businessInvoiceType($business);
$orderUrl = trim((string)config('app.get_order_url'));
if ($orderUrl === '') {
return $this->ok([]);
}
$response = Httpcurl::request(GET_ORDER_URL, 'post', [ $response = Httpcurl::request($orderUrl, 'post', [
'model' => $model, 'model' => $model,
'user_id' => $userId, 'user_id' => $userId,
'invoiceType' => $invoiceType, 'invoiceType' => $invoiceType,