feat: midjourney drawing image function is ready

This commit is contained in:
RockYang
2023-08-14 17:59:21 +08:00
parent 6e40f92aaf
commit 5d2a1d21d5
13 changed files with 357 additions and 30 deletions

View File

@@ -89,6 +89,10 @@ func Ip2Region(searcher *xdb.Searcher, ip string) string {
}
func IsEmptyValue(obj interface{}) bool {
if obj == nil {
return true
}
v := reflect.ValueOf(obj)
switch v.Kind() {
case reflect.Ptr, reflect.Interface: