使用餐单更换模版接口
This commit is contained in:
parent
3513222783
commit
3fde05596c
@ -1471,9 +1471,10 @@
|
|||||||
const cleanNutrientList = ref<any>([]);
|
const cleanNutrientList = ref<any>([]);
|
||||||
// 获取餐单模版
|
// 获取餐单模版
|
||||||
const getGuide = () => {
|
const getGuide = () => {
|
||||||
weChat({ url: `h5/get/guide/template?chat_id=${userStore.chatId}`, method: 'get' })
|
requestGo({ url: `/app/server/get/guide/template?chat_id=${userStore.chatId}`, method: 'get' })
|
||||||
|
// weChat({ url: `h5/get/guide/template?chat_id=${userStore.chatId}`, method: 'get' })
|
||||||
.then((res) => {
|
.then((res) => {
|
||||||
let result = res.data;
|
let result = res.data.templates;
|
||||||
console.log(result);
|
console.log(result);
|
||||||
if (result && result.length > 0) {
|
if (result && result.length > 0) {
|
||||||
result.forEach((item) => {
|
result.forEach((item) => {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user