|  | @@ -0,0 +1,43 @@
 | 
	
		
			
				|  |  | +<?php
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +namespace app\admin\controller;
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +use app\admin\common\AdminController;
 | 
	
		
			
				|  |  | +use app\common\api\ChuanglanSmsApi;
 | 
	
		
			
				|  |  | +use app\common\api\EnterpriseApi;
 | 
	
		
			
				|  |  | +use think\facade\Db;
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +/**
 | 
	
		
			
				|  |  | + * Description of LivingAllowance
 | 
	
		
			
				|  |  | + *
 | 
	
		
			
				|  |  | + * @author sgq
 | 
	
		
			
				|  |  | + */
 | 
	
		
			
				|  |  | +class LivingAllowance extends AdminController {
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +    public function index() {
 | 
	
		
			
				|  |  | +        $enterpriseList = EnterpriseApi::getSimpleList();
 | 
	
		
			
				|  |  | +        $provinceList = \app\common\api\LocationApi::findProvinceSelect();
 | 
	
		
			
				|  |  | +        $process = $this->request->param("process");
 | 
	
		
			
				|  |  | +        $message = [];
 | 
	
		
			
				|  |  | +        if ($this->user["type"] == 1) {
 | 
	
		
			
				|  |  | +            $message["typeName"] = "晋江市硕博人才生活补贴申报";
 | 
	
		
			
				|  |  | +            $message["address"] = "聚才网/人才晋江微信公众号";
 | 
	
		
			
				|  |  | +            $message["dep"] = "中共晋江市委人才办、晋江市纪委监委驻市人力资源和社会保障局纪检监察组或晋江市公共就业和人才服务中心";
 | 
	
		
			
				|  |  | +            $message["phone"] = "0595-85633128";
 | 
	
		
			
				|  |  | +            $message["email"] = "jjrc85661234@163.com";
 | 
	
		
			
				|  |  | +        } else if ($this->user["type"] == 2) {
 | 
	
		
			
				|  |  | +            $message["typeName"] = "晋江市硕博人才生活补贴申报";
 | 
	
		
			
				|  |  | +            $message["address"] = "福建(晋江)集成电路产业园官方网站及微信公众号";
 | 
	
		
			
				|  |  | +            $message["dep"] = "集成电路产业园区";
 | 
	
		
			
				|  |  | +            $message["phone"] = "0595-82250007、0595-82250001";
 | 
	
		
			
				|  |  | +            $message["email"] = "jjjcdr@163.com";
 | 
	
		
			
				|  |  | +        }
 | 
	
		
			
				|  |  | +        return view("", ["enterpriseList" => $enterpriseList, "provinceList" => $provinceList, "process" => $process, "message" => $message]);
 | 
	
		
			
				|  |  | +    }
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +    public function list() {
 | 
	
		
			
				|  |  | +        $returnObj = new \stdClass();
 | 
	
		
			
				|  |  | +        return json($returnObj);
 | 
	
		
			
				|  |  | +    }
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +}
 |