<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智能體構建引擎,智能編排和調試,一鍵部署,支持知識庫和私有化部署方案 廣告
                ># 獲取code ``` <button class="button" open-type="getPhoneNumber" bindgetphonenumber="bindgetphonenumber"> 手機號一鍵授權 </button> <button class="button" bindtap="test"> 用戶一鍵授權 </button> ``` ``` // index.js // const app = getApp() const { envList } = require('../../envList.js'); Page({ data: { showUploadTip: false, powerList: [{ title: '云函數', tip: '安全、免鑒權運行業務代碼', showItem: false, item: [{ title: '獲取OpenId', page: 'getOpenId' }, // { // title: '微信支付' // }, { title: '生成小程序碼', page: 'getMiniProgramCode' }, // { // title: '發送訂閱消息', // } ] }, { title: '數據庫', tip: '安全穩定的文檔型數據庫', showItem: false, item: [{ title: '創建集合', page: 'createCollection' }, { title: '更新記錄', page: 'updateRecord' }, { title: '查詢記錄', page: 'selectRecord' }, { title: '聚合操作', page: 'sumRecord' }] }, { title: '云存儲', tip: '自帶CDN加速文件存儲', showItem: false, item: [{ title: '上傳文件', page: 'uploadFile' }] }, { title: '云托管', tip: '不限語言的全托管容器服務', showItem: false, item: [{ title: '部署服務', page: 'deployService' }] }], envList, selectedEnv: envList[0], haveCreateCollection: false }, bindgetphonenumber(e){ ??????console.log("ee",e); ??}, onClickPowerInfo(e) { const index = e.currentTarget.dataset.index; const powerList = this.data.powerList; powerList[index].showItem = !powerList[index].showItem; if (powerList[index].title === '數據庫' && !this.data.haveCreateCollection) { this.onClickDatabase(powerList); } else { this.setData({ powerList }); } }, onChangeShowEnvChoose() { wx.showActionSheet({ itemList: this.data.envList.map(i => i.alias), success: (res) => { this.onChangeSelectedEnv(res.tapIndex); }, fail (res) { console.log(res.errMsg); } }); }, onChangeSelectedEnv(index) { if (this.data.selectedEnv.envId === this.data.envList[index].envId) { return; } const powerList = this.data.powerList; powerList.forEach(i => { i.showItem = false; }); this.setData({ selectedEnv: this.data.envList[index], powerList, haveCreateCollection: false }); }, jumpPage(e) { wx.navigateTo({ url: `/pages/${e.currentTarget.dataset.page}/index?envId=${this.data.selectedEnv.envId}`, }); }, onClickDatabase(powerList) { wx.showLoading({ title: '', }); wx.cloud.callFunction({ name: 'quickstartFunctions', config: { env: this.data.selectedEnv.envId }, data: { type: 'createCollection' } }).then((resp) => { if (resp.result.success) { this.setData({ haveCreateCollection: true }); } this.setData({ powerList }); wx.hideLoading(); }).catch((e) => { console.log(e); this.setData({ showUploadTip: true }); wx.hideLoading(); }); }, test(){ wx.login({ ????????success?(res)?{ ????????????console.log("res",?res); ????????} ????}) } }); ```
                  <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>

                              哎呀哎呀视频在线观看