Format text
This commit is contained in:
@@ -34,17 +34,17 @@ class Myfit extends BaseController
|
||||
public function contact()
|
||||
{
|
||||
$inx = array(
|
||||
'name' => $this->post('name'),
|
||||
'email' => $this->post('email'),
|
||||
'country' => $this->post('country'),
|
||||
'phone' => $this->post('phone'),
|
||||
'message' => $this->post('message')
|
||||
'name' => $this->post('name'),
|
||||
'email' => $this->post('email'),
|
||||
'country' => $this->post('country'),
|
||||
'phone' => $this->post('phone'),
|
||||
'message' => $this->post('message')
|
||||
);
|
||||
$something = $this->request->getVar('name');
|
||||
$raw_json = file_get_contents("php://input");
|
||||
$raw_array = json_decode($raw_json, true);
|
||||
|
||||
$inx = ['olu' => rand(100, 8888). $something];
|
||||
$inx = ['olu' => rand(100, 8888) . $something];
|
||||
$mBlogData = new \App\Models\myfitBlogData();
|
||||
$res1 = $mBlogData->getBlogData([]);
|
||||
//return $this->response->setJson($res1);
|
||||
@@ -65,7 +65,8 @@ class Myfit extends BaseController
|
||||
return $this->response->setJson($mCountry->getSiteCountries([]));
|
||||
}
|
||||
|
||||
public function faq(){
|
||||
public function faq()
|
||||
{
|
||||
$mFaq = new \App\Models\myfitFaqData();
|
||||
return $this->response->setJson($mFaq->getSiteFaq([]));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user