使用餐单更换模版接口
This commit is contained in:
parent
3513222783
commit
3fde05596c
@ -1471,9 +1471,10 @@
|
||||
const cleanNutrientList = ref<any>([]);
|
||||
// 获取餐单模版
|
||||
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) => {
|
||||
let result = res.data;
|
||||
let result = res.data.templates;
|
||||
console.log(result);
|
||||
if (result && result.length > 0) {
|
||||
result.forEach((item) => {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user