immortal

vue中get和post请求

五迷三道 提交于 2020-11-28 08:23:47
import axios from 'axios'; import router from '@/router'; import { setSessionStorage, getSessionStorage, removeSessionStorage } from '@/utils/mixin'; class Http {   constructor(){     this.Domain = 'http://*******';   }   require(options) {     if (!options.api) throw new Error('api 不能为空');     if (!options.param) { options.param = {} };     if (!options.methods) { options.methods = 'POST' }; //不传递方法默认为POST   };   return new Promise((resolve,reject) => {     let obj={       method: options.methods,       url: options.api,       baseURL: '/wap',       headers: {         'appname':'com.immortal

FSM Code Generator

自闭症网瘾萝莉.ら 提交于 2020-04-28 03:14:05
FSM Code Generator is a script code generator for Finite State Machine, it has a viaual designer based on Animator Controller that helps you design an FSM. First of all, I assume you know about what the Animator Controller is, if not, nvm. we just use it as the tools of visual designer.(About Animator Controller : https://docs.unity3d.com/Manual/class-AnimatorController.html) The Animator Controller is a state machine for play animation, it can make state transition, animation blending, avator mask, ect... what we need for FSM designer is the transition. Double click the Example Animator