Commit e82901db by 孙龙

找出session不能用的原因

parent 500d9fba
......@@ -540,8 +540,6 @@ class MessageApiController extends Controller
* 上传文件
*/
public function updateMsgExcel(Request $request){
Session::put('aaa','bbb');
return back()->with("error_batch_msg","没找到对应消息模板");
$file = $request->file('file');
$tp_id = $request->get('inner-choose-type');
if(!$tp_id) return back()->with("error_batch_msg","请选择对应消息模板");
......
......@@ -106,7 +106,7 @@
</div>
@endif
{{session('aaa')}}
@if(session("success_batch_msg"))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment