|
@@ -1,10 +1,11 @@
|
|
|
package service
|
|
|
|
|
|
import (
|
|
|
- . "bp.jydev.jianyu360.cn/CRM/networkManage/api/common"
|
|
|
"encoding/json"
|
|
|
- "github.com/gogf/gf/v2/util/gconv"
|
|
|
"log"
|
|
|
+
|
|
|
+ . "bp.jydev.jianyu360.cn/CRM/networkManage/api/common"
|
|
|
+ "github.com/gogf/gf/v2/util/gconv"
|
|
|
)
|
|
|
|
|
|
type InitInfoService struct {
|
|
@@ -27,7 +28,7 @@ func (t *InitInfoService) UpdateInitInfo(company, business string) bool {
|
|
|
"$set": map[string]interface{}{
|
|
|
"is_init": true,
|
|
|
},
|
|
|
- }, false, false)
|
|
|
+ }, true, false)
|
|
|
if t.EntRole == 1 {
|
|
|
//企业管理员
|
|
|
info, _ := json.Marshal(map[string]interface{}{
|