u
chenl
2018-12-10 f83f38fcd75d68b34ca9eb8dc2cd074f280c1b30
u
3 files modified
8 ■■■■ changed files
api/appGroupApi.php 4 ●●●● patch | view | raw | blame | history
framework/model/user.mod.php 2 ●●● patch | view | raw | blame | history
web/common/interface.func.php 2 ●●● patch | view | raw | blame | history
api/appGroupApi.php
@@ -4,6 +4,10 @@
 * 应用权限组绑定用户组 Api
 *  chenlei
 */
exit(json_encode(array(
    "rspCode"=>"e111111111",
    "rspMsg"=>"鉴权失败"
)));
require '../framework/bootstrap.inc.php';
require '../web/common/interface.func.php';
framework/model/user.mod.php
@@ -52,7 +52,7 @@
        );
        include  '../../web/common/interface.func.php';
        $paramter = makeInterfaceParam($post_data, "1000001");
        $result = json_decode(doCurlPostRequest($url, $paramter, 10), JSON_UNESCAPED_UNICODE);
        $result = doCurlPostRequest($url, $paramter, 10);
        if ($result != null && $result != "" && $result['rspCode'] == 'e00000') {
            
            // 新增用户组
web/common/interface.func.php
@@ -151,7 +151,7 @@
        return curl_error($url);
    } else {
        curl_close($url);
        return $data;
        return json_decode($data,true);
    }
}