You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

project_invite_code.js 1.3 kB

​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
12345678910111213141516171819202122232425262728293031323334
  1. /**
  2. * Created by guange on 16/6/22.
  3. */
  4. app.controller('ProjectInviteCodeController', ['$scope','$http', '$routeParams','config','auth', function($scope, $http, $routeParams, config, auth){
  5. var vm = $scope;
  6. vm.project = {};
  7. var projectid = $routeParams.id;
  8. $http.get(config.apiUrl+ 'projects/'+projectid+"?token="+auth.token()).then(
  9. function(response){
  10. console.log(response.data);
  11. vm.project = response.data.data;
  12. }
  13. );
  14. vm.share = function(){
  15. window.WeixinJSBridge.invoke('sendAppMessage',{
  16. 'appid': 'wxf694495398c7d470', // 公众号appID
  17. 'type': 'link', // 非必填,music,vido或link,默认为link。
  18. 'data_url': '', // 非必填,连接地址,如音乐的mp3数据地址,供内置播放器使用
  19. 'img_url': 'http://pnewsapp.tc.qq.com/newsapp_bt/0/9963967/640', // 缩略图地址
  20. 'img_height':370, // 缩略图高度
  21. 'img_width':550, // 缩略图宽度
  22. 'link':'http://view.inews.qq.com/a/WXN2013101101385701', // 链接地址
  23. 'desc':'desc', // 描述
  24. 'title':'title' // 标题
  25. },function(res){
  26. //alert(res.err_msg);
  27. });
  28. }
  29. }]);

软件技术创新是当今国家整体创新能力的重要基础和发展引擎。近年来,大众参与的软件创新与创业活动已经成为网络时代软件开发和应用的新形态,正在快速改变着全球软件创新模式和软件产业格局。 ...