mirror of
https://github.com/Karaka-Management/oms-Purchase.git
synced 2026-02-16 15:48:39 +00:00
Make app,localization in url optional+tld+subdomain
This commit is contained in:
parent
fdf0540875
commit
c243bffde9
|
|
@ -1,7 +1,7 @@
|
||||||
[
|
[
|
||||||
{
|
{
|
||||||
"id": 1002101001,
|
"id": 1002101001,
|
||||||
"pid": "/backend",
|
"pid": "/",
|
||||||
"type": 2,
|
"type": 2,
|
||||||
"subtype": 0,
|
"subtype": 0,
|
||||||
"name": "Purchase",
|
"name": "Purchase",
|
||||||
|
|
@ -15,11 +15,11 @@
|
||||||
"children": [
|
"children": [
|
||||||
{
|
{
|
||||||
"id": 1002106001,
|
"id": 1002106001,
|
||||||
"pid": "/backend/purchase",
|
"pid": "/purchase",
|
||||||
"type": 2,
|
"type": 2,
|
||||||
"subtype": 1,
|
"subtype": 1,
|
||||||
"name": "Analysis",
|
"name": "Analysis",
|
||||||
"uri": "{/lang}/backend/purchase/analysis?{?}",
|
"uri": "{/prefix}purchase/analysis?{?}",
|
||||||
"target": "self",
|
"target": "self",
|
||||||
"icon": null,
|
"icon": null,
|
||||||
"order": 15,
|
"order": 15,
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@ use phpOMS\Account\PermissionType;
|
||||||
use phpOMS\Router\RouteVerb;
|
use phpOMS\Router\RouteVerb;
|
||||||
|
|
||||||
return [
|
return [
|
||||||
'^.*/backend/purchase/invoice/create.*$' => [
|
'^.*/purchase/invoice/create.*$' => [
|
||||||
[
|
[
|
||||||
'dest' => '\Modules\Purchase\Controller\BackendController:viewPurchaseInvoiceCreate',
|
'dest' => '\Modules\Purchase\Controller\BackendController:viewPurchaseInvoiceCreate',
|
||||||
'verb' => RouteVerb::GET,
|
'verb' => RouteVerb::GET,
|
||||||
|
|
@ -17,7 +17,7 @@ return [
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
'^.*/backend/purchase/invoice/list.*$' => [
|
'^.*/purchase/invoice/list.*$' => [
|
||||||
[
|
[
|
||||||
'dest' => '\Modules\Purchase\Controller\BackendController:viewPurchaseInvoiceList',
|
'dest' => '\Modules\Purchase\Controller\BackendController:viewPurchaseInvoiceList',
|
||||||
'verb' => RouteVerb::GET,
|
'verb' => RouteVerb::GET,
|
||||||
|
|
@ -28,7 +28,7 @@ return [
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
'^.*/backend/purchase/article/list.*$' => [
|
'^.*/purchase/article/list.*$' => [
|
||||||
[
|
[
|
||||||
'dest' => '\Modules\Purchase\Controller\BackendController:viewPurchaseArticleList',
|
'dest' => '\Modules\Purchase\Controller\BackendController:viewPurchaseArticleList',
|
||||||
'verb' => RouteVerb::GET,
|
'verb' => RouteVerb::GET,
|
||||||
|
|
@ -39,7 +39,7 @@ return [
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
'^.*/backend/purchase/article/recommend.*$' => [
|
'^.*/purchase/article/recommend.*$' => [
|
||||||
[
|
[
|
||||||
'dest' => '\Modules\Purchase\Controller\BackendController:viewPurchaseOrderRecommendation',
|
'dest' => '\Modules\Purchase\Controller\BackendController:viewPurchaseOrderRecommendation',
|
||||||
'verb' => RouteVerb::GET,
|
'verb' => RouteVerb::GET,
|
||||||
|
|
@ -50,7 +50,7 @@ return [
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
'^.*/backend/purchase/article/create.*$' => [
|
'^.*/purchase/article/create.*$' => [
|
||||||
[
|
[
|
||||||
'dest' => '\Modules\Purchase\Controller\BackendController:viewPurchaseArticleCreate',
|
'dest' => '\Modules\Purchase\Controller\BackendController:viewPurchaseArticleCreate',
|
||||||
'verb' => RouteVerb::GET,
|
'verb' => RouteVerb::GET,
|
||||||
|
|
@ -61,7 +61,7 @@ return [
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
'^.*/backend/purchase/article/profile.*$' => [
|
'^.*/purchase/article/profile.*$' => [
|
||||||
[
|
[
|
||||||
'dest' => '\Modules\Purchase\Controller\BackendController:viewPurchaseArticleProfile',
|
'dest' => '\Modules\Purchase\Controller\BackendController:viewPurchaseArticleProfile',
|
||||||
'verb' => RouteVerb::GET,
|
'verb' => RouteVerb::GET,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user