1 | <?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); |
---|
2 | /* |
---|
3 | | ------------------------------------------------------------------------- |
---|
4 | | URI ROUTING |
---|
5 | | ------------------------------------------------------------------------- |
---|
6 | | This file lets you re-map URI requests to specific controller functions. |
---|
7 | | |
---|
8 | | Typically there is a one-to-one relationship between a URL string |
---|
9 | | and its corresponding controller class/method. The segments in a |
---|
10 | | URL normally follow this pattern: |
---|
11 | | |
---|
12 | | example.com/class/method/id/ |
---|
13 | | |
---|
14 | | In some instances, however, you may want to remap this relationship |
---|
15 | | so that a different class/function is called than the one |
---|
16 | | corresponding to the URL. |
---|
17 | | |
---|
18 | | Please see the user guide for complete details: |
---|
19 | | |
---|
20 | | http://codeigniter.com/user_guide/general/routing.html |
---|
21 | | |
---|
22 | | ------------------------------------------------------------------------- |
---|
23 | | RESERVED ROUTES |
---|
24 | | ------------------------------------------------------------------------- |
---|
25 | | |
---|
26 | | There area two reserved routes: |
---|
27 | | |
---|
28 | | $route['default_controller'] = 'welcome'; |
---|
29 | | |
---|
30 | | This route indicates which controller class should be loaded if the |
---|
31 | | URI contains no data. In the above example, the "welcome" class |
---|
32 | | would be loaded. |
---|
33 | | |
---|
34 | | $route['404_override'] = 'errors/page_missing'; |
---|
35 | | |
---|
36 | | This route will tell the Router what URI segments to use if those provided |
---|
37 | | in the URL cannot be matched to a valid route. |
---|
38 | | |
---|
39 | */ |
---|
40 | |
---|
41 | $route['default_controller'] = "frontend/home"; |
---|
42 | $route['404_override'] = ''; |
---|
43 | |
---|
44 | $route['violetservice/soanbai/mo'] = 'services/viettel/mo'; |
---|
45 | $route['violetservice/soanbai/mo/'] = 'services/viettel/mo'; |
---|
46 | $route['violetservice/soanbai/mo/wsdl'] = 'services/viettel/index/wsdl'; |
---|
47 | $route['violetservice/soanbai/index'] = 'services/viettel/index/wsdl'; |
---|
48 | $route['violetservice/soanbai'] = 'services/viettel/index/wsdl'; |
---|
49 | $route['violetservice/soanbai/'] = 'services/viettel/index/wsdl'; |
---|
50 | |
---|
51 | $route['admin'] = 'admin/home'; |
---|
52 | $route['admin/cong_tac_vien'] = 'admin/collaborator'; |
---|
53 | $route['admin/cong_tac_vien/trang'] = 'admin/collaborator/getCollaborators/1'; |
---|
54 | $route['admin/cong_tac_vien/them'] = 'admin/collaborator/addCollaborator'; |
---|
55 | $route['admin/cong_tac_vien/trang/:any'] = 'admin/collaborator/getCollaborators/$1'; |
---|
56 | $route['admin/cong_tac_vien/test'] = 'admin/collaborator/test'; |
---|
57 | $route['admin/cong_tac_vien/xem/:any'] = 'admin/collaborator/viewUser'; |
---|
58 | $route['admin/cong_tac_vien/sua/:any'] = 'admin/collaborator/editUser'; |
---|
59 | $route['admin/cong_tac_vien/xoa/:any'] = 'admin/collaborator/deleteUser'; |
---|
60 | $route['admin/cong_tac_vien/xoa_cong_tac_vien'] = 'admin/collaborator/dodeleteUser'; |
---|
61 | $route['admin/cong_tac_vien/cap_nhat'] = 'admin/collaborator/updateUser'; |
---|
62 | |
---|
63 | $route['admin/mau_tin_nhan'] = 'admin/smstemplate'; |
---|
64 | $route['admin/mau_tin_nhan/trang'] = 'admin/smstemplate/getSmstemplates/1'; |
---|
65 | $route['admin/mau_tin_nhan/them'] = 'admin/smstemplate/addSmstemplate'; |
---|
66 | $route['admin/mau_tin_nhan/trang/:any'] = 'admin/smstemplate/getSmstemplates/$1'; |
---|
67 | $route['admin/mau_tin_nhan/test'] = 'admin/smstemplate/test'; |
---|
68 | $route['admin/mau_tin_nhan/xem/:any'] = 'admin/smstemplate/viewSms'; |
---|
69 | $route['admin/mau_tin_nhan/sua/:any'] = 'admin/smstemplate/editSms'; |
---|
70 | $route['admin/mau_tin_nhan/xoa/:any'] = 'admin/smstemplate/deleteSms'; |
---|
71 | $route['admin/mau_tin_nhan/xoa_tin_nhan'] = 'admin/smstemplate/dodeleteSms'; |
---|
72 | $route['admin/mau_tin_nhan/cap_nhat'] = 'admin/smstemplate/updateSms'; |
---|
73 | |
---|
74 | $route['admin/doanh_thu_tong_hop'] = 'admin/report'; |
---|
75 | $route['admin/doanh_thu_tong_hop/trang'] = 'admin/report/getPaidlogs/1'; |
---|
76 | $route['admin/doanh_thu_tong_hop/them'] = 'admin/report/addPaidlog'; |
---|
77 | $route['admin/doanh_thu_tong_hop/trang/:any'] = 'admin/report/getPaidlogs/$1'; |
---|
78 | $route['admin/doanh_thu_tong_hop/test'] = 'admin/report/test'; |
---|
79 | $route['admin/doanh_thu_tong_hop/xem/:any'] = 'admin/report/viewSms'; |
---|
80 | $route['admin/doanh_thu_tong_hop/sua/:any'] = 'admin/report/editSms'; |
---|
81 | $route['admin/doanh_thu_tong_hop/xoa/:any'] = 'admin/report/deleteSms'; |
---|
82 | $route['admin/doanh_thu_tong_hop/xoa_tin_nhan'] = 'admin/report/dodeleteSms'; |
---|
83 | $route['admin/doanh_thu_tong_hop/cap_nhat'] = 'admin/report/updateSms'; |
---|
84 | |
---|
85 | $route['admin/thong_ke_cong_tac_vien'] = 'admin/reportAsistant'; |
---|
86 | $route['admin/thong_ke_cong_tac_vien/trang'] = 'admin/reportAsistant/getCollaborators/1'; |
---|
87 | $route['admin/thong_ke_cong_tac_vien/trang_ctv/:any/:any'] = 'admin/reportAsistant/getCollaboratorsUsers/$1'; |
---|
88 | $route['admin/thong_ke_cong_tac_vien/trang_ctv/:any'] = 'admin/reportAsistant/getCollaboratorsUsers/$1'; |
---|
89 | $route['admin/thong_ke_cong_tac_vien/trang/:any'] = 'admin/reportAsistant/getCollaborators/$1'; |
---|
90 | $route['admin/thong_ke_cong_tac_vien/them'] = 'admin/reportAsistant/addSmstemplate'; |
---|
91 | $route['admin/thong_ke_cong_tac_vien/:any'] = 'admin/reportAsistant/viewAsistant'; |
---|
92 | |
---|
93 | $route['admin/quan_tri_vien'] = 'admin/admin_acc'; |
---|
94 | $route['admin/quan_tri_vien/trang'] = 'admin/admin_acc/get_admins/1'; |
---|
95 | $route['admin/quan_tri_vien/trang/:any'] = 'admin/admin_acc/get_admins/$1'; |
---|
96 | $route['admin/quan_tri_vien/them'] = 'admin/admin_acc/add_admin'; |
---|
97 | $route['admin/quan_tri_vien/sua/:any'] = 'admin/admin_acc/edit_admin/$1'; |
---|
98 | $route['admin/quan_tri_vien/xoa/:any'] = 'admin/admin_acc/delete_admin/$1'; |
---|
99 | $route['admin/quan_tri_vien/cap_nhat'] = 'admin/admin_acc/update_admin'; |
---|
100 | $route['admin/quan_tri_vien/xem/:any'] = 'admin/admin_acc/get_admin_by_id/$1'; |
---|
101 | $route['admin/quan_tri_vien/thong_tin_ca_nhan'] = 'admin/admin_acc/admin_profile'; |
---|
102 | $route['admin/quan_tri_vien/cap_nhat_thong_tin_ca_nhan'] = 'admin/admin_acc/update_info'; |
---|
103 | $route['admin/quan_tri_vien/doi_mat_khau'] = 'admin/admin_acc/change_password'; |
---|
104 | |
---|
105 | $route['admin/nguoi_dung'] = 'admin/user'; |
---|
106 | $route['admin/nguoi_dung/trang'] = 'admin/user/get_users/1'; |
---|
107 | $route['admin/nguoi_dung/trang/:any'] = 'admin/user/get_users/$1'; |
---|
108 | $route['admin/nguoi_dung/them'] = 'admin/user/add_user'; |
---|
109 | $route['admin/nguoi_dung/sua/:any'] = 'admin/user/edit_user/$1'; |
---|
110 | $route['admin/nguoi_dung/xoa/:any'] = 'admin/user/delete_user/$1'; |
---|
111 | $route['admin/nguoi_dung/id/:any'] = 'admin/user/get_user_by_id/$1'; |
---|
112 | |
---|
113 | $route['admin/sms_log'] = 'admin/smslog'; |
---|
114 | $route['admin/sms_log/trang'] = 'admin/smslog/get_smslogs/1'; |
---|
115 | $route['admin/sms_log/trang/:any'] = 'admin/smslog/get_smslogs/$1'; |
---|
116 | |
---|
117 | $route['admin/card_log'] = 'admin/cardlog'; |
---|
118 | $route['admin/card_log/trang'] = 'admin/cardlog/get_cardlogs/1'; |
---|
119 | $route['admin/card_log/trang/:any'] = 'admin/cardlog/get_cardlogs/$1'; |
---|
120 | |
---|
121 | $route['frontend/user/trade_history/:num/page'] = 'frontend/user/trade_history/$1/1'; |
---|
122 | $route['frontend/user/trade_history/:num/page/:any'] = 'frontend/user/trade_history/$1/$2'; |
---|
123 | |
---|
124 | /* End of file routes.php */ |
---|
125 | /* Location: ./application/config/routes.php */ |
---|