<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                企業??AI智能體構建引擎,智能編排和調試,一鍵部署,支持知識庫和私有化部署方案 廣告
                <h2 style="box-sizing: inherit; -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent; text-size-adjust: none; font-family: &quot;Helvetica Neue&quot;, NotoSansHans-Regular, AvenirNext-Regular, arial, &quot;Hiragino Sans GB&quot;, &quot;Microsoft Yahei&quot;, &quot;WenQuanYi Micro Hei&quot;, Arial, Helvetica, sans-serif; padding: 0px 0px 0.3em; font-weight: 400; line-height: 1.225; margin: 0px 0px 14px; font-size: 1.3em; border-bottom: 1px solid rgb(238, 238, 238); color: rgb(82, 82, 82); white-space: normal; background-color: rgb(255, 255, 255);"> <span style="box-sizing: inherit; -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent; text-size-adjust: none; font-weight: bolder;">系統上傳配置</span> </h2> <p style="box-sizing: inherit; -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent; text-size-adjust: none; line-height: 2; margin-top: 0px; margin-bottom: 0px; padding: 0px; color: rgb(82, 82, 82); font-family: &quot;Helvetica Neue&quot;, NotoSansHans-Regular, AvenirNext-Regular, arial, &quot;Hiragino Sans GB&quot;, &quot;Microsoft Yahei&quot;, &quot;WenQuanYi Micro Hei&quot;, serif; font-size: 15px; white-space: normal; background-color: rgb(255, 255, 255);"> 系統默認圖片等信息上傳至阿里云OSS 如不需要上傳至OSS 可按照下面步驟修改上傳至本地 </p> <p style="box-sizing: inherit; -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent; text-size-adjust: none; line-height: 2; margin-top: 0px; margin-bottom: 0px; padding: 0px; color: rgb(82, 82, 82); font-family: &quot;Helvetica Neue&quot;, NotoSansHans-Regular, AvenirNext-Regular, arial, &quot;Hiragino Sans GB&quot;, &quot;Microsoft Yahei&quot;, &quot;WenQuanYi Micro Hei&quot;, serif; font-size: 15px; white-space: normal; background-color: rgb(255, 255, 255);"> <span style="box-sizing: inherit; -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent; text-size-adjust: none; font-weight: bolder;">修改配置文件:</span> </p> <blockquote class="default" style="box-sizing: inherit; -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent; text-size-adjust: none; line-height: 1.2; margin: 14px 0px; padding: 5px 5px 5px 15px; border-left: 4px solid rgb(221, 221, 221); color: rgb(119, 119, 119); font-family: &quot;Helvetica Neue&quot;, NotoSansHans-Regular, AvenirNext-Regular, arial, &quot;Hiragino Sans GB&quot;, &quot;Microsoft Yahei&quot;, &quot;WenQuanYi Micro Hei&quot;, serif; font-size: 15px; white-space: normal; background-color: rgb(255, 255, 255);"> <p style="box-sizing: inherit; -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent; text-size-adjust: none; line-height: 2; margin-top: 0px; margin-bottom: 0px; padding: 0px;"> 路徑:App/Common/Conf/config.php </p> </blockquote> <p style="box-sizing: inherit; -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent; text-size-adjust: none; line-height: 2; margin-top: 0px; margin-bottom: 0px; padding: 0px; color: rgb(82, 82, 82); font-family: &quot;Helvetica Neue&quot;, NotoSansHans-Regular, AvenirNext-Regular, arial, &quot;Hiragino Sans GB&quot;, &quot;Microsoft Yahei&quot;, &quot;WenQuanYi Micro Hei&quot;, serif; font-size: 15px; white-space: normal; background-color: rgb(255, 255, 255);"> 默認參數: </p> <pre style="box-sizing: inherit; -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent; text-size-adjust: none; font-family: Consolas, Monaco, &quot;Andale Mono&quot;, &quot;Ubuntu Mono&quot;, monospace; font-size: 15px; line-height: 1.45; margin-top: 14px; margin-bottom: 14px; padding: 16px; background-color: rgb(247, 247, 247); border: 0px; border-radius: 3px; overflow: auto; color: rgb(82, 82, 82);"> &#39;FILE_UPLOAD_TYPE&#39; =&gt; &#39;Oss&#39;,</pre> <p style="box-sizing: inherit; -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent; text-size-adjust: none; line-height: 2; margin-top: 0px; margin-bottom: 0px; padding: 0px; color: rgb(82, 82, 82); font-family: &quot;Helvetica Neue&quot;, NotoSansHans-Regular, AvenirNext-Regular, arial, &quot;Hiragino Sans GB&quot;, &quot;Microsoft Yahei&quot;, &quot;WenQuanYi Micro Hei&quot;, serif; font-size: 15px; white-space: normal; background-color: rgb(255, 255, 255);"> 修改為本地存儲則為 </p> <pre style="box-sizing: inherit; -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent; text-size-adjust: none; font-family: Consolas, Monaco, &quot;Andale Mono&quot;, &quot;Ubuntu Mono&quot;, monospace; font-size: 15px; line-height: 1.45; margin-top: 14px; margin-bottom: 14px; padding: 16px; background-color: rgb(247, 247, 247); border: 0px; border-radius: 3px; overflow: auto; color: rgb(82, 82, 82);"> &#39;FILE_UPLOAD_TYPE&#39; =&gt; &#39;local&#39;,</pre> <p style="box-sizing: inherit; -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent; text-size-adjust: none; line-height: 2; margin-top: 0px; margin-bottom: 0px; padding: 0px; color: rgb(82, 82, 82); font-family: &quot;Helvetica Neue&quot;, NotoSansHans-Regular, AvenirNext-Regular, arial, &quot;Hiragino Sans GB&quot;, &quot;Microsoft Yahei&quot;, &quot;WenQuanYi Micro Hei&quot;, serif; font-size: 15px; white-space: normal; background-color: rgb(255, 255, 255);"> <span style="box-sizing: inherit; -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent; text-size-adjust: none; font-weight: bolder;">還有一處需要修改:</span> </p> <blockquote class="default" style="box-sizing: inherit; -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent; text-size-adjust: none; line-height: 1.2; margin: 14px 0px; padding: 5px 5px 5px 15px; border-left: 4px solid rgb(221, 221, 221); color: rgb(119, 119, 119); font-family: &quot;Helvetica Neue&quot;, NotoSansHans-Regular, AvenirNext-Regular, arial, &quot;Hiragino Sans GB&quot;, &quot;Microsoft Yahei&quot;, &quot;WenQuanYi Micro Hei&quot;, serif; font-size: 15px; white-space: normal; background-color: rgb(255, 255, 255);"> <p style="box-sizing: inherit; -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent; text-size-adjust: none; line-height: 2; margin-top: 0px; margin-bottom: 0px; padding: 0px;"> 路徑:App/Plugs/Controller/UploadController.class.php </p> </blockquote> <p style="box-sizing: inherit; -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent; text-size-adjust: none; line-height: 2; margin-top: 0px; margin-bottom: 0px; padding: 0px; color: rgb(82, 82, 82); font-family: &quot;Helvetica Neue&quot;, NotoSansHans-Regular, AvenirNext-Regular, arial, &quot;Hiragino Sans GB&quot;, &quot;Microsoft Yahei&quot;, &quot;WenQuanYi Micro Hei&quot;, serif; font-size: 15px; white-space: normal; background-color: rgb(255, 255, 255);"> 查找function localUpload方法:<br/>默認代碼: </p> <pre style="box-sizing: inherit; -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent; text-size-adjust: none; font-family: Consolas, Monaco, &quot;Andale Mono&quot;, &quot;Ubuntu Mono&quot;, monospace; font-size: 15px; line-height: 1.45; margin-top: 14px; margin-bottom: 14px; padding: 16px; background-color: rgb(247, 247, 247); border: 0px; border-radius: 3px; overflow: auto; color: rgb(82, 82, 82);"> if(!$info) {// 上傳錯誤提示錯誤信息 $error=1; $msg=$upload-&gt;getError(); }else{// 上傳成功 獲取上傳文件信息 $error=0; $msg= substr($upload-&gt;rootPath,1,-1).&#39;/&#39;.$info[&#39;file&#39;][&#39;savepath&#39;].$info[&#39;file&#39;][&#39;savename&#39;]; /*保存附件信息到系統附件統計數據庫*/ if(domain_auth()) { $datas = array( &#39;name&#39; =&gt; $info[&#39;file&#39;][&#39;name&#39;], &#39;size&#39; =&gt; intval($info[&#39;file&#39;][&#39;size&#39;]), &#39;createtime&#39; =&gt; date(&#39;Y-m-d H:i:s&#39;), &#39;type&#39; =&gt; $info[&#39;file&#39;][&#39;type&#39;] . &#39;-&#39; . $info[&#39;file&#39;][&#39;ext&#39;], &#39;path&#39; =&gt; ALI_OSS() . $msg, &#39;domain_auth&#39; =&gt; domain_auth() ); }else{ $datas = array( &#39;name&#39; =&gt; $info[&#39;file&#39;][&#39;name&#39;], &#39;size&#39; =&gt; intval($info[&#39;file&#39;][&#39;size&#39;]), &#39;createtime&#39; =&gt; date(&#39;Y-m-d H:i:s&#39;), &#39;type&#39; =&gt; $info[&#39;file&#39;][&#39;type&#39;] . &#39;-&#39; . $info[&#39;file&#39;][&#39;ext&#39;], &#39;path&#39; =&gt; ALI_OSS() . $msg, &#39;domain_auth&#39; =&gt; domain_rel() ); } M(&#39;attachment&#39;)-&gt;add($datas); } return array(&#39;error&#39;=&gt;$error,&#39;file&#39;=&gt;$info[&#39;file&#39;],&#39;msg&#39;=&gt;ALI_OSS().$msg);</pre> <p style="box-sizing: inherit; -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent; text-size-adjust: none; line-height: 2; margin-top: 0px; margin-bottom: 0px; padding: 0px; color: rgb(82, 82, 82); font-family: &quot;Helvetica Neue&quot;, NotoSansHans-Regular, AvenirNext-Regular, arial, &quot;Hiragino Sans GB&quot;, &quot;Microsoft Yahei&quot;, &quot;WenQuanYi Micro Hei&quot;, serif; font-size: 15px; white-space: normal; background-color: rgb(255, 255, 255);"> 修改為: </p> <pre style="box-sizing: inherit; -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent; text-size-adjust: none; font-family: Consolas, Monaco, &quot;Andale Mono&quot;, &quot;Ubuntu Mono&quot;, monospace; font-size: 15px; line-height: 1.45; margin-top: 14px; margin-bottom: 0px; padding: 16px; background-color: rgb(247, 247, 247); border: 0px; border-radius: 3px; overflow: auto; color: rgb(82, 82, 82);"> if(!$info) {// 上傳錯誤提示錯誤信息 $error=1; $msg=$upload-&gt;getError(); }else{// 上傳成功 獲取上傳文件信息 $error=0; $msg= substr($upload-&gt;rootPath,1,-1).&#39;/&#39;.$info[&#39;file&#39;][&#39;savepath&#39;].$info[&#39;file&#39;][&#39;savename&#39;]; /*保存附件信息到系統附件統計數據庫*/ if(C(&#39;FILE_UPLOAD_TYPE&#39;)==&#39;Oss&#39;) { $set_path=ALI_OSS(); }else{ $set_path=&#39;&#39;; } if(domain_auth()) { $datas = array( &#39;name&#39; =&gt; $info[&#39;file&#39;][&#39;name&#39;], &#39;size&#39; =&gt; intval($info[&#39;file&#39;][&#39;size&#39;]), &#39;createtime&#39; =&gt; date(&#39;Y-m-d H:i:s&#39;), &#39;type&#39; =&gt; $info[&#39;file&#39;][&#39;type&#39;] . &#39;-&#39; . $info[&#39;file&#39;][&#39;ext&#39;], &#39;path&#39; =&gt; $set_path . $msg, &#39;domain_auth&#39; =&gt; domain_auth() ); }else{ $datas = array( &#39;name&#39; =&gt; $info[&#39;file&#39;][&#39;name&#39;], &#39;size&#39; =&gt; intval($info[&#39;file&#39;][&#39;size&#39;]), &#39;createtime&#39; =&gt; date(&#39;Y-m-d H:i:s&#39;), &#39;type&#39; =&gt; $info[&#39;file&#39;][&#39;type&#39;] . &#39;-&#39; . $info[&#39;file&#39;][&#39;ext&#39;], &#39;path&#39; =&gt;$set_path . $msg, &#39;domain_auth&#39; =&gt; domain_rel() ); } M(&#39;attachment&#39;)-&gt;add($datas); } return array(&#39;error&#39;=&gt;$error,&#39;file&#39;=&gt;$info[&#39;file&#39;],&#39;msg&#39;=&gt;$set_path.$msg);</pre> <p> <br/> </p>
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看