|
|
|
@ -41,7 +41,7 @@ class BatchUploadMiniProgram implements ShouldQueue |
|
|
|
public function handle() |
|
|
|
{ |
|
|
|
$agent = Agent::find($this->agent_id); |
|
|
|
$template = MiniProgramTemplate::find($this->template_id); |
|
|
|
$template = MiniProgramTemplate::where('template_id', $this->template_id)->first(); |
|
|
|
|
|
|
|
if (!$agent || !$template) return; |
|
|
|
|
|
|
|
|