feat: midjourney drawing image function is ready

This commit is contained in:
RockYang
2023-08-14 17:59:21 +08:00
parent 373370fde5
commit 6c76086916
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: