|
|
|
@ -126,7 +126,7 @@ class MiniProgramUpload extends RowAction |
|
|
|
if (!isset($res['errcode'], $res['errmsg']) || $res['errcode'] != 0 || $res['errmsg'] != 'ok') { |
|
|
|
throw new \Exception("设置业务域名{$host}失败,原因:" . $res['errmsg'] ?? (is_array($res) ? join(',', $res) : '未知')); |
|
|
|
} |
|
|
|
Redis::hset($redis_key, 1); |
|
|
|
Redis::hset($redis_key, $agent->appid, 1); |
|
|
|
} |
|
|
|
|
|
|
|
return $this->response()->success("上传成功,并已提交审核")->refresh(); |
|
|
|
|