feat: 新用户注册飞书通知
This commit is contained in:
2
dist/pages/home/index.js
vendored
2
dist/pages/home/index.js
vendored
File diff suppressed because one or more lines are too long
2
dist/pages/my/index.js
vendored
2
dist/pages/my/index.js
vendored
File diff suppressed because one or more lines are too long
4
dist/pages/my/index.js.LICENSE.txt
vendored
4
dist/pages/my/index.js.LICENSE.txt
vendored
@@ -2,8 +2,6 @@
|
|||||||
|
|
||||||
/*! ../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??ruleSet[1].rules[9].use[1]!./index.tsx */
|
/*! ../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??ruleSet[1].rules[9].use[1]!./index.tsx */
|
||||||
|
|
||||||
/*! ../../utils/index */
|
|
||||||
|
|
||||||
/*! ../common/utils */
|
/*! ../common/utils */
|
||||||
|
|
||||||
/*! ../common/validator */
|
/*! ../common/validator */
|
||||||
@@ -38,6 +36,8 @@
|
|||||||
|
|
||||||
/*! ./wxs */
|
/*! ./wxs */
|
||||||
|
|
||||||
|
/*! @/utils/index */
|
||||||
|
|
||||||
/*! @antmjs/vantui/es/button */
|
/*! @antmjs/vantui/es/button */
|
||||||
|
|
||||||
/*! @antmjs/vantui/es/cell */
|
/*! @antmjs/vantui/es/cell */
|
||||||
|
|||||||
@@ -94,15 +94,16 @@ const Home = () => {
|
|||||||
};
|
};
|
||||||
});
|
});
|
||||||
|
|
||||||
const testCloud = async () => {
|
|
||||||
|
|
||||||
|
// 云托管测试
|
||||||
|
const testCloud = async () => {
|
||||||
const res = await cloudcall({
|
const res = await cloudcall({
|
||||||
path:'/'
|
path:'/feishu'
|
||||||
})
|
})
|
||||||
console.log('业务返回结果',res)
|
console.log('业务返回结果',res)
|
||||||
};
|
};
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
testCloud();
|
// testCloud();
|
||||||
}, []);
|
}, []);
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
|
|||||||
@@ -21,13 +21,14 @@ import Taro from "@tarojs/taro";
|
|||||||
import ActiveCard from "../components/ActiveCard";
|
import ActiveCard from "../components/ActiveCard";
|
||||||
import {
|
import {
|
||||||
addTable,
|
addTable,
|
||||||
|
cloudcall,
|
||||||
getOpenid,
|
getOpenid,
|
||||||
getTable,
|
getTable,
|
||||||
getTableid,
|
getTableid,
|
||||||
isLogin,
|
isLogin,
|
||||||
phoneLogin,
|
phoneLogin,
|
||||||
updateTableid,
|
updateTableid,
|
||||||
} from "../../utils/index";
|
} from "@/utils/index";
|
||||||
import { type } from "../../../config";
|
import { type } from "../../../config";
|
||||||
import { Divider } from "@antmjs/vantui";
|
import { Divider } from "@antmjs/vantui";
|
||||||
|
|
||||||
@@ -198,8 +199,11 @@ const my = (props: any) => {
|
|||||||
onClick={async () => {
|
onClick={async () => {
|
||||||
// 获取收获地址
|
// 获取收获地址
|
||||||
Taro.chooseAddress({
|
Taro.chooseAddress({
|
||||||
success: function (AddressRes) {
|
success: async (AddressRes) =>{
|
||||||
console.log("AddressRes", AddressRes);
|
console.log("AddressRes", AddressRes);
|
||||||
|
await cloudcall({
|
||||||
|
path:'/feishu'
|
||||||
|
})
|
||||||
Taro.cloud.callFunction({
|
Taro.cloud.callFunction({
|
||||||
name: "getOpenid",
|
name: "getOpenid",
|
||||||
complete: async (opemRes: any) => {
|
complete: async (opemRes: any) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user