<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>

                ??一站式輕松地調用各大LLM模型接口,支持GPT4、智譜、豆包、星火、月之暗面及文生圖、文生視頻 廣告
                [TOC] ### 獲取使用者權限數據 #### URL >web/index.php?c=account&a=post-user&do=set_permission #### 請求方式 > GET #### 請求參數 | 名稱 | 類型 | 必填 | 描述 | | ----------- | :-----: | :-----: | ----------- | | uniacid | int | 是 | 平臺uniacid | | uid | int | 是 | 使用者uid || #### 返回數據 ``` { "message": { "errno": 0, "message": { "uni_modules_permission": { //模塊所有權限列表及用戶是否擁有該權限 "weliam_merchant": { "module_title": "智慧城市同城", "permission": [ { "title": "后臺管理", "permission": "weliam_merchant_menu_dashboard", "checked": 0 } ] }, "we7_diyspecial": { "module_title": "專題頁面", "permission": [ { "title": "二級菜單-1-2", "permission": "we7_diyspecial_menu_menutwo", "checked": 0 }, { "title": "二級菜單-2-2", "permission": "we7_diyspecial_menu_menufour", "checked": 0 }, { "title": "專題管理", "permission": "we7_diyspecial_menu_index", "checked": 0 }, { "title": "二級菜單-1-1", "permission": "we7_diyspecial_menu_menuone", "checked": 0 }, { "title": "二級菜單-2-1", "permission": "we7_diyspecial_menu_menuthree", "checked": 0 } ] }, "we7_0511": { "module_title": "米粥測試模塊", "permission": [ { "title": "參數設置", "permission": "we7_0511_settings", "checked": 1 } ] }, "we7_wmall": { //模塊沒有子權限,沒有該模塊的權限 "module_title": "微擎外送|外賣|餐飲|生鮮|超市系統", "permission": [] }, "we7_coupon": { //模塊沒有自權限,有該模塊權限 "module_title": "系統卡券", "permission": [ "all" ] } }, "menus": { //菜單權限數據 "title": "公眾號", "icon": "wi wi-white-collar", "dimension": 3, "url": "./index.php?c=home&a=welcome&do=platform&", "section": { "platform": { "title": "增強功能", "menu": { "platform_reply": { "is_system": 1, "permission_display": [ 1, 3, 9, 10 ], "is_display": 0, "title": "自動回復", "url": "./index.php?c=platform&a=reply&", "permission_name": "platform_reply", "checked": 1 //用戶擁有該權限 "icon": "wi wi-reply", "displayorder": 6, "id": null, "sub_permission": { "platform_reply_keyword": { "title": "關鍵字自動回復", "url": "./index.php?c=platform&a=reply&m=keyword", "permission_name": "platform_reply_keyword", "active": "keyword", "checked": 1 //用戶擁有該權限 }, "platform_reply_setting": { "title": "回復設置", "url": "./index.php?c=profile&a=reply-setting&", "permission_name": "platform_reply_setting", "is_display": [ 1, 3 ], "checked": 0 //用戶不擁有該權限 } } }, "platform_site": { "is_system": 1, "permission_display": [ 1, 3 ], "is_display": 0, "title": "微官網-文章", "url": "./index.php?c=site&a=multi&", "permission_name": "platform_site", "checked": 0 //用戶不擁有該權限 "icon": "wi wi-home", "displayorder": 1, "id": null, "sub_permission": { "platform_site_multi": { "title": "微官網", "url": "./index.php?c=site&a=multi&do=display&", "permission_name": "platform_site_multi", "active": "multi", "checked": 0 //用戶不擁有該權限 }, "platform_site_style": { "title": "微官網模板", "url": "./index.php?c=site&a=style&do=template&", "permission_name": "platform_site_style", "active": "style", "checked": 0 //用戶不擁有該權限 } } } }, "permission_display": [ 1, 3, 9, 10 ], "is_display": 0 }, "statistics": { "title": "統計", "menu": { "statistics_fans": { "is_system": 1, "permission_display": [ 1, 3, 9, 10 ], "is_display": 0, "title": "用戶統計", "url": "./index.php?c=statistics&a=fans&", "permission_name": "statistics_fans", "checked": 0 //用戶不擁有該權限 "icon": "wi wi-statistical", "displayorder": "2", "id": null, "sub_permission": null } }, "permission_display": [ 1, 3, 9, 10, 5 ], "is_display": 0 } }, "is_system": true, "is_display": true, "displayorder": 13 } } }, "redirect": "", "type": "ajax" } ``` ### 獲取模塊權限數據(商業版在用) #### URL >/web/index.php?c=account&a=post-user&do=module #### 請求方式 > POST #### 請求參數 | 名稱 | 類型 | 必填 | 描述 | | ----------- | :-----: | :-----: | ----------- | | uniacid | int | 是 | 平臺uniacid | | uid | int | 是 | 使用者uid | | m | string | 是 | 模塊標識 || #### 返回數據 成功: ``` { "message": { "errno": 0, "message": [ { "title": "店鋪設置", //權限名稱 "permission": "wn_storex_plugin_printer_menu_printerset", //權限標識 "checked": 1 //是否擁有此項權限,1是,0否 }, { "title": "打印機設置", "permission": "wn_storex_plugin_printer_menu_printermanage", "checked": 0 } ] }, "redirect": "", "type": "ajax" } ``` 失敗: ``` { "message": { "errno": -1, "message": "訪問錯誤, 未找到指定操作用戶." }, "redirect": "", "type": "ajax" } ``` ### 修改使用者權限 #### URL >/web/index.php?c=account&a=post-user&do=save_permission #### 請求方式 > POST #### 請求參數 | 名稱 | 類型 | 必填 | 描述 | | ----------- | :-----: | :-----: | ----------- | | uniacid | int | 是 | 平臺uniacid | | uid | int | 是 | 使用者uid | | menus | array | 否 | 一維數組,菜單權限項的 permission_name | | module | array | 否 | 一維數組,有權限的模塊標識 | | module_模塊標識 | array | 否 | 一維數組,某一模塊已選中權限的組合 | | 模塊標識_select | int | 否 | 若選中模塊所有權限,該值為1;否則為0 | 示例: ``` [module] => Array ( [0] => we7_diyspecial [1] => we7_coupon ) [module_we7_diyspecial] => Array ( [0] => we7_diyspecial_menu_menufour [1] => we7_diyspecial_menu_index [2] => we7_diyspecial_menu_menuthree ) [we7_diyspecial_select] => 0 [we7_coupon_select] => 1 ``` #### 返回數據 修改成功: ``` { "message": { "errno": 0, "message": "操作菜單權限成功!" }, "redirect": "", "type": "ajax" } ``` 失敗: ``` { "message": { "errno": -1, "message": "您操作的用戶不存在或是已經被刪除!" }, "redirect": "", "type": "ajax" } ```
                  <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>

                              哎呀哎呀视频在线观看