'commit'
continuous-integration/drone/push Build is passing Details

master
黄海 4 years ago
parent 8404321a85
commit d7e947bd1b

1
.gitignore vendored

@ -48,5 +48,4 @@
/dsSzxy/.idea/ /dsSzxy/.idea/
/dsSzxy/build/ /dsSzxy/build/
/dsSzxy/WinBuild/ /dsSzxy/WinBuild/
*.log *.log

@ -505,21 +505,23 @@ func logout(context *gin.Context) {
//获取所有接入系统的 //获取所有接入系统的
list, _ := ServiceJoinApp.GetAppBaseList(1, Const.Int32Max, "") list, _ := ServiceJoinApp.GetAppBaseList(1, Const.Int32Max, "")
for i := range list { for i := range list {
//每个系统的退出地址 if list[i]["logout_uri"] != nil {
logoutUri := list[i]["logout_uri"].(string) //每个系统的退出地址
//如果注册了退出地址的话 logoutUri := list[i]["logout_uri"].(string)
if len(logoutUri) > 0 { //如果注册了退出地址的话
//开启协程进行调用 if len(logoutUri) > 0 {
go func() { //开启协程进行调用
resp, err := http.Get(logoutUri + "?access_token=" + accessToken) go func() {
if err != nil { resp, err := http.Get(logoutUri + "?access_token=" + accessToken)
fmt.Println(err) if err != nil {
return fmt.Println(err)
} return
defer resp.Body.Close() }
body, _ := ioutil.ReadAll(resp.Body) defer resp.Body.Close()
fmt.Println(string(body)) body, _ := ioutil.ReadAll(resp.Body)
}() fmt.Println(string(body))
}()
}
} }
} }
//清除cookie //清除cookie

@ -1,81 +1,54 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<project version="4"> <project version="4">
<component name="AutoImportSettings">
<option name="autoReloadType" value="ALL" />
</component>
<component name="ChangeListManager"> <component name="ChangeListManager">
<list default="true" id="7dd5aa4b-bd93-4c30-b8e6-5ee159290869" name="Changes" comment="">
<list default="true" id="19c8c37d-a056-451c-a29d-fb612b9a3e2f" name="Default Changelist" comment="commit" /> <change beforePath="$PROJECT_DIR$/../.gitignore" beforeDir="false" afterPath="$PROJECT_DIR$/../.gitignore" afterDir="false" />
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" /> <change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/Business/ImRelate/ImRelateController/ImRelateController.go" beforeDir="false" afterPath="$PROJECT_DIR$/Business/ImRelate/ImRelateController/ImRelateController.go" afterDir="false" />
<change beforePath="$PROJECT_DIR$/Business/ImRelate/ImRelateDao/ImRelateDao.go" beforeDir="false" afterPath="$PROJECT_DIR$/Business/ImRelate/ImRelateDao/ImRelateDao.go" afterDir="false" />
<change beforePath="$PROJECT_DIR$/Utils/RedisUtil/RedisUtil.go" beforeDir="false" afterPath="$PROJECT_DIR$/Utils/RedisUtil/RedisUtil.go" afterDir="false" />
</list> </list>
<option name="SHOW_DIALOG" value="false" /> <option name="SHOW_DIALOG" value="false" />
<option name="HIGHLIGHT_CONFLICTS" value="true" /> <option name="HIGHLIGHT_CONFLICTS" value="true" />
<option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" /> <option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
<option name="LAST_RESOLUTION" value="IGNORE" /> <option name="LAST_RESOLUTION" value="IGNORE" />
</component> </component>
<component name="FileTemplateManagerImpl"> <component name="GOROOT" url="file://C:/Program Files/Go" />
<option name="RECENT_TEMPLATES">
<list>
<option value="Go File" />
</list>
</option>
</component>
<component name="GOROOT" url="file://C:/Go" />
<component name="Git.Settings"> <component name="Git.Settings">
<option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$/.." /> <option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$/.." />
</component> </component>
<component name="GoLibraries"> <component name="GoLibraries">
<option name="indexEntireGoPath" value="false" /> <option name="indexEntireGoPath" value="false" />
</component> </component>
<component name="ProjectId" id="1wHqoZ4Mc0xnzUNKevge8S7NouM" /> <component name="ProjectId" id="1wqYzKIGHelFQhcsraoxZJRoaGR" />
<component name="ProjectLevelVcsManager"> <component name="ProjectLevelVcsManager" settingsEditedManually="true" />
<ConfirmationsSetting value="1" id="Add" />
</component>
<component name="ProjectViewState"> <component name="ProjectViewState">
<option name="hideEmptyMiddlePackages" value="true" /> <option name="hideEmptyMiddlePackages" value="true" />
<option name="showLibraryContents" value="true" /> <option name="showLibraryContents" value="true" />
</component> </component>
<component name="PropertiesComponent"> <component name="PropertiesComponent">
<property name="ASKED_ADD_EXTERNAL_FILES" value="true" />
<property name="DefaultGoTemplateProperty" value="Go File" />
<property name="RunOnceActivity.OpenProjectViewOnStart" value="true" /> <property name="RunOnceActivity.OpenProjectViewOnStart" value="true" />
<property name="RunOnceActivity.ShowReadmeOnStart" value="true" /> <property name="RunOnceActivity.ShowReadmeOnStart" value="true" />
<property name="WebServerToolWindowFactoryState" value="false" /> <property name="WebServerToolWindowFactoryState" value="false" />
<property name="go.formatter.settings.were.checked" value="true" />
<property name="go.import.settings.migrated" value="true" /> <property name="go.import.settings.migrated" value="true" />
<property name="go.modules.go.list.on.any.changes.was.set" value="true" />
<property name="go.sdk.automatically.set" value="true" /> <property name="go.sdk.automatically.set" value="true" />
<property name="go.tried.to.enable.integration.vgo.integrator" value="true" /> <property name="last_opened_file_path" value="$USER_HOME$" />
<property name="last_opened_file_path" value="$PROJECT_DIR$" />
<property name="settings.editor.selected.configurable" value="preferences.keymap" />
</component>
<component name="RecentsManager">
<key name="CopyFile.RECENT_KEYS">
<recent name="E:\Work\dsMin\dsSzxy\Utils" />
<recent name="E:\Work\dsMin\dsSzxy\Utils\SsdbUtil" />
</key>
</component> </component>
<component name="RunManager" selected="Go Build.go build dsSzxy"> <component name="RunManager">
<configuration name="go build dsSzxy" type="GoApplicationRunConfiguration" factoryName="Go Application" temporary="true" nameIsGenerated="true"> <configuration name="go build dsSzxy" type="GoApplicationRunConfiguration" factoryName="Go Application" temporary="true" nameIsGenerated="true">
<module name="dsSzxy" /> <module name="dsSzxy" />
<working_directory value="$PROJECT_DIR$" /> <working_directory value="$PROJECT_DIR$" />
<kind value="PACKAGE" /> <kind value="PACKAGE" />
<filePath value="$PROJECT_DIR$/main.go" />
<package value="dsSzxy" /> <package value="dsSzxy" />
<directory value="$PROJECT_DIR$" /> <directory value="$PROJECT_DIR$" />
<method v="2" />
</configuration>
<configuration name="go build main.go" type="GoApplicationRunConfiguration" factoryName="Go Application" temporary="true" nameIsGenerated="true">
<module name="dsSzxy" />
<working_directory value="$PROJECT_DIR$" />
<kind value="FILE" />
<filePath value="$PROJECT_DIR$/main.go" /> <filePath value="$PROJECT_DIR$/main.go" />
<package value="dsCommonTools" />
<directory value="$PROJECT_DIR$" />
<method v="2" /> <method v="2" />
</configuration> </configuration>
<recent_temporary> <recent_temporary>
<list> <list>
<item itemvalue="Go Build.go build dsSzxy" /> <item itemvalue="Go Build.go build dsSzxy" />
<item itemvalue="Go Build.go build main.go" />
</list> </list>
</recent_temporary> </recent_temporary>
</component> </component>
@ -83,24 +56,7 @@
<component name="TypeScriptGeneratedFilesManager"> <component name="TypeScriptGeneratedFilesManager">
<option name="version" value="3" /> <option name="version" value="3" />
</component> </component>
<component name="Vcs.Log.Tabs.Properties">
<option name="TAB_STATES">
<map>
<entry key="MAIN">
<value>
<State />
</value>
</entry>
</map>
</option>
<option name="oldMeFiltersMigrated" value="true" />
</component>
<component name="VgoProject"> <component name="VgoProject">
<integration-enabled>true</integration-enabled> <integration-enabled>true</integration-enabled>
<environment>
<map>
<entry key="GOPROXY" value="https://goproxy.cn" />
</map>
</environment>
</component> </component>
</project> </project>
Loading…
Cancel
Save