|
|
@@ -26,7 +26,7 @@
|
|
|
</template>
|
|
|
|
|
|
<script>
|
|
|
-import { addstorePhoto, addVisitsPosition, addPhotoToDB } from '@/api/index';
|
|
|
+import { addPhoto, addVisitsPosition, addPhotoToDB } from '@/api/index';
|
|
|
import imageAIVerifyErr from './imageAIVerifyErr';
|
|
|
import axios from 'axios';
|
|
|
|
|
|
@@ -278,7 +278,7 @@ export default {
|
|
|
} else {
|
|
|
this.toastLoading(0, '上传中...', true);
|
|
|
}
|
|
|
- addstorePhoto(form, this.controller ? this.controller.signal : null)
|
|
|
+ chainsGroupAddPhoto(form, this.controller ? this.controller.signal : null)
|
|
|
.then((res) => {
|
|
|
this.toastLoading().clear();
|
|
|
if (res.code == -1) {
|
|
|
@@ -361,7 +361,7 @@ export default {
|
|
|
form.isUpdate = 'true';
|
|
|
form.feedbackMessage = res.feedbackMessage;
|
|
|
}
|
|
|
- addPhotoToDB(form).then((resData) => {
|
|
|
+ chainsGroupAddPhotoToDB(form).then((resData) => {
|
|
|
if (resData.code == 200) {
|
|
|
console.log(resData);
|
|
|
res.data.fileId = resData.data.fileId;
|